(function(){if(window.google&&google.gears){return;}
var factory=null;if(typeof GearsFactory!='undefined'){factory=new GearsFactory();}else{try{factory=new ActiveXObject('Gears.Factory');if(factory.getBuildInfo().indexOf('ie_mobile')!=-1){factory.privateSetGlobalObject(this);}}catch(e){if((typeof navigator.mimeTypes!='undefined')&&navigator.mimeTypes["application/x-googlegears"]){factory=document.createElement("object");factory.style.display="none";factory.width=0;factory.height=0;factory.type="application/x-googlegears";document.documentElement.appendChild(factory);}}}
if(!factory){return;}
if(!window.google){google={};}
if(!google.gears){google.gears={factory:factory};}})();;var STORE_NAME='roketgames-imagecache'
var CURRENT_VERSION=1.2
var localServer;var localStore;var filesToCapture=['http://cdn.struct.roket-games.com/legacy/bh_l.gif','http://cdn.struct.roket-games.com/legacy/bh_r.gif','http://cdn.struct.roket-games.com/legacy/bn_l.gif','http://cdn.struct.roket-games.com/legacy/bn_r.gif','http://cdn.struct.roket-games.com/legacy/bg.png','http://cdn.struct.roket-games.com/legacy/bg_w.png','http://cdn.struct.roket-games.com/legacy/banner_bg.png','http://cdn.struct.roket-games.com/legacy/bookmarker.png','http://cdn.struct.roket-games.com/legacy/button_normal.png','http://cdn.struct.roket-games.com/legacy/button_over.png','http://cdn.struct.roket-games.com/legacy/cc_bl.png','http://cdn.struct.roket-games.com/legacy/cc_br.png','http://cdn.struct.roket-games.com/legacy/cc_tl.png','http://cdn.struct.roket-games.com/legacy/cc_tr.png','http://cdn.struct.roket-games.com/legacy/comment_speech.png','http://cdn.struct.roket-games.com/legacy/delete.png','http://cdn.struct.roket-games.com/legacy/dev_warning.png','http://cdn.struct.roket-games.com/legacy/diggbox.png','http://cdn.struct.roket-games.com/legacy/err_bl.png','http://cdn.struct.roket-games.com/legacy/err_br.png','http://cdn.struct.roket-games.com/legacy/err_tl.png','http://cdn.struct.roket-games.com/legacy/err_tr.png','http://cdn.struct.roket-games.com/legacy/game_commercial.png','http://cdn.struct.roket-games.com/legacy/game_edit_save.png','http://cdn.struct.roket-games.com/legacy/game_indevelopment.png','http://cdn.struct.roket-games.com/legacy/game_rating_bg.png','http://cdn.struct.roket-games.com/legacy/game_recommended.png','http://cdn.struct.roket-games.com/legacy/gamelist_disabled.png','http://cdn.struct.roket-games.com/legacy/gamelist_normal.png','http://cdn.struct.roket-games.com/legacy/gamelist_over.png','http://cdn.struct.roket-games.com/legacy/gmi_bl.png','http://cdn.struct.roket-games.com/legacy/gmi_br.png','http://cdn.struct.roket-games.com/legacy/gmi_tl.png','http://cdn.struct.roket-games.com/legacy/gmi_tr.png','http://cdn.struct.roket-games.com/legacy/gmo_bl.png','http://cdn.struct.roket-games.com/legacy/gmo_br.png','http://cdn.struct.roket-games.com/legacy/gmo_tl.png','http://cdn.struct.roket-games.com/legacy/gmo_tr.png','http://cdn.struct.roket-games.com/legacy/bli_bl.png','http://cdn.struct.roket-games.com/legacy/bli_br.png','http://cdn.struct.roket-games.com/legacy/bli_tl.png','http://cdn.struct.roket-games.com/legacy/bli_tr.png','http://cdn.struct.roket-games.com/legacy/blo_bl.png','http://cdn.struct.roket-games.com/legacy/blo_br.png','http://cdn.struct.roket-games.com/legacy/blo_tl.png','http://cdn.struct.roket-games.com/legacy/blo_tr.png','http://cdn.struct.roket-games.com/legacy/ev_logo.png','http://cdn.struct.roket-games.com/legacy/header.png','http://cdn.struct.roket-games.com/legacy/header_arrow.png','http://cdn.struct.roket-games.com/legacy/header_highlight.png','http://cdn.struct.roket-games.com/legacy/icon_fav.png','http://cdn.struct.roket-games.com/legacy/icon_featured.png','http://cdn.struct.roket-games.com/legacy/icon_frnd.png','http://cdn.struct.roket-games.com/legacy/icon_new.png','http://cdn.struct.roket-games.com/legacy/icon_news.png','http://cdn.struct.roket-games.com/legacy/icon_rand.png','http://cdn.struct.roket-games.com/legacy/icon_rcnt_blogs.png','http://cdn.struct.roket-games.com/legacy/icon_tool.png','http://cdn.struct.roket-games.com/legacy/icon_top.png','http://cdn.struct.roket-games.com/legacy/icon_user.png','http://cdn.struct.roket-games.com/legacy/in_l.png','http://cdn.struct.roket-games.com/legacy/in_r.png','http://cdn.struct.roket-games.com/legacy/input.png','http://cdn.struct.roket-games.com/legacy/ip_backg.png','http://cdn.struct.roket-games.com/legacy/ip_buffering.png','http://cdn.struct.roket-games.com/legacy/ip_disabled.png','http://cdn.struct.roket-games.com/legacy/ip_installed.png','http://cdn.struct.roket-games.com/legacy/ip_notinstalled.png','http://cdn.struct.roket-games.com/legacy/ip_playgame.png','http://cdn.struct.roket-games.com/legacy/ip_starting.png','http://cdn.struct.roket-games.com/legacy/ip_unsafe.png','http://cdn.struct.roket-games.com/legacy/ip_validate.png','http://cdn.struct.roket-games.com/legacy/ip_waiting.png','http://cdn.struct.roket-games.com/legacy/maingamelist_favd.png','http://cdn.struct.roket-games.com/legacy/maingamelist_rggm.png','http://cdn.struct.roket-games.com/legacy/maingamelist_rggm_over.png','http://cdn.struct.roket-games.com/legacy/maingamelist_hover.png','http://cdn.struct.roket-games.com/legacy/maingamelist_normal.png','http://cdn.struct.roket-games.com/legacy/play_video.png','http://cdn.struct.roket-games.com/legacy/progress.gif','http://cdn.struct.roket-games.com/legacy/progress.png','http://cdn.struct.roket-games.com/legacy/progress_end.png','http://cdn.struct.roket-games.com/legacy/progress_start.png','http://cdn.struct.roket-games.com/legacy/progress_err.gif','http://cdn.struct.roket-games.com/legacy/rate_0.png','http://cdn.struct.roket-games.com/legacy/rate_1.png','http://cdn.struct.roket-games.com/legacy/rate_2.png','http://cdn.struct.roket-games.com/legacy/rate_3.png','http://cdn.struct.roket-games.com/legacy/rate_4.png','http://cdn.struct.roket-games.com/legacy/rate_5.png','http://cdn.struct.roket-games.com/legacy/ref_normal.png','http://cdn.struct.roket-games.com/legacy/ref_over.png','http://cdn.struct.roket-games.com/legacy/goto_normal.png','http://cdn.struct.roket-games.com/legacy/goto_over.png','http://cdn.struct.roket-games.com/legacy/scr_left_disabled.png','http://cdn.struct.roket-games.com/legacy/scr_left_normal.png','http://cdn.struct.roket-games.com/legacy/scr_left_over.png','http://cdn.struct.roket-games.com/legacy/scr_right_disabled.png','http://cdn.struct.roket-games.com/legacy/scr_right_normal.png','http://cdn.struct.roket-games.com/legacy/scr_right_over.png','http://cdn.struct.roket-games.com/legacy/sd_normal.png','http://cdn.struct.roket-games.com/legacy/sd_over.png','http://cdn.struct.roket-games.com/legacy/sm_normal.png','http://cdn.struct.roket-games.com/legacy/sm_over.png','http://cdn.struct.roket-games.com/legacy/su_normal.png','http://cdn.struct.roket-games.com/legacy/su_over.png','http://cdn.struct.roket-games.com/legacy/suc_bl.png','http://cdn.struct.roket-games.com/legacy/suc_br.png','http://cdn.struct.roket-games.com/legacy/suc_tl.png','http://cdn.struct.roket-games.com/legacy/suc_tr.png','http://cdn.struct.roket-games.com/legacy/tab_normal.png','http://cdn.struct.roket-games.com/legacy/tab_on.png','http://cdn.struct.roket-games.com/legacy/tbl_hd_l.png','http://cdn.struct.roket-games.com/legacy/tbl_hd_r.png','http://cdn.struct.roket-games.com/legacy/tbl_rw_l.png','http://cdn.struct.roket-games.com/legacy/tbl_rw_lh.png','http://cdn.struct.roket-games.com/legacy/tbl_rw_r.png','http://cdn.struct.roket-games.com/legacy/tbl_rw_rh.png','http://cdn.struct.roket-games.com/legacy/tbl_tl.png','http://cdn.struct.roket-games.com/legacy/tbl_tr.png','http://cdn.struct.roket-games.com/legacy/toolitem_disabled.png','http://cdn.struct.roket-games.com/legacy/toolitem_download.png','http://cdn.struct.roket-games.com/legacy/toolitem_normal.png','http://cdn.struct.roket-games.com/legacy/toolitem_over.png','http://cdn.struct.roket-games.com/legacy/upload_button_100x24.png','http://cdn.struct.roket-games.com/legacy/upload_cancel_100x24.png','http://cdn.struct.roket-games.com/legacy/user_default.png','http://cdn.struct.roket-games.com/legacy/user_off.png','http://cdn.struct.roket-games.com/legacy/user_on.png','http://cdn.struct.roket-games.com/legacy/view_comments.png','http://cdn.struct.roket-games.com/legacy/view_reviews.png','/favicon.ico','/javascript/games.js','/javascript/screenshots.js','/gears_init.js'];var filesCaptured=0;var filesTotal=filesToCapture.length;function show_gears()
{return false;if(!window.google||!google.gears)
{}
else
{if(google.gears.factory.hasPermission)
{localServer=google.gears.factory.create('beta.localserver');requires_clearing=true;for(i=0;i<=(filesToCapture.length-1);i++)
{if(!localServer.canServeLocally(filesToCapture[i]))
{requires_clearing=false;break;}}
if(check_db()<CURRENT_VERSION)
{if(requires_clearing)
localServer.removeStore(STORE_NAME);document.getElementById('go_turbo').innerHTML=" &bull; Turbo Updating...";gears_go_turbo();}}
else
{}}}
function check_db()
{var db=google.gears.factory.create('beta.database');db.open('');db.execute('CREATE TABLE IF NOT EXISTS cache_control'+' (Version int)');var rs=db.execute('SELECT * FROM cache_control ORDER BY Version DESC LIMIT 0,1');if(rs.isValidRow())
{val=rs.field(0)
rs.close();return val;}
else
{db.execute('INSERT INTO cache_control VALUES (?)',[CURRENT_VERSION]);rs.close();return CURRENT_VERSION;}}
function update_db()
{var db=google.gears.factory.create('beta.database');db.open('');db.execute('UPDATE cache_control SET Version = (?)',[CURRENT_VERSION]);db.close();}
function gears_go_turbo()
{if(!window.google||!google.gears)
return;if(!google.gears.factory.getPermission("RoketGames Turbo","http://www.roket-games.com/middleicon.png","To accelerate RoketGames page loading, please enable Google Gears."))
return;try
{localServer=google.gears.factory.create('beta.localserver');document.getElementById('go_turbo').innerHTML=" &bull; 0%";localStore=localServer.createStore(STORE_NAME);localStore.capture(filesToCapture,captureCallback);}
catch(ex)
{document.getElementById('go_turbo').innerHTML=" &bull; Failed";}
return;}
function show_gears_error(err)
{document.getElementById('gears_error').style.display='block';document.getElementById('gears_error').innerHTML='<div class="error"><div style="padding-top: 5px;" class="errcontent">'+err+'</div><div class="errbot"><div class="errcorner"></div><div class="errbar"/></div></div></div>';}
function show_gears_success(err)
{document.getElementById('gears_error').style.display='block';document.getElementById('gears_error').innerHTML='<div class="success"><div class="succontent" style="padding-top:5px;">'+err+'</div><div class="sucbot"><div class="succorner"></div><div class="sucbar"/></div></div></div>';}
function captureCallback(url,success,captureId){filesCaptured+=1;if(success)
{document.getElementById('go_turbo').innerHTML=" &bull; "+Math.round(100/filesTotal*filesCaptured)+"%";if(Math.round(100/filesTotal*filesCaptured)==100)
{document.getElementById('go_turbo').innerHTML="";update_db();}}
else
{show_gears_error("Unable to cache "+url);}}
function captureCallbackImage(url,success,captureId){if(success)
{show_gears_success("Saved "+url);}
else
{show_gears_error("Unable to cache "+url);}}
function captureCallback2(url,success,captureId){if(!success)
{show_gears_error("Unable to cache "+url);}}
function autoCacheImages()
{return;if(!window.google||!google.gears)
{}
else
{if(google.gears.factory.hasPermission)
{localServer=google.gears.factory.create('beta.localserver');var imgs=document.getElementsByTagName('img');var imgCache=[];var a=0;for(i=0;i<=(imgs.length-1);i++)
{if(!localServer.canServeLocally(imgs[i].src))
{imgCache[a]=imgs[i].src;a+=1;}}
if(imgCache.length!=0)
{localServer.createStore(STORE_NAME);var store=localServer.openStore(STORE_NAME);store.capture(imgCache,captureCallbackImage);}}}}
function preloadImages()
{if(document.images)
{if(!document.imageArray)document.imageArray=new Array();var i,j=document.imageArray.length,args=preloadImages.arguments;for(i=0;i<args.length;i++)
{if(args[i].indexOf("#")!=0)
{document.imageArray[j]=new Image;document.imageArray[j++].src=args[i];}}}}
function findPos(obj)
{var curleft=curtop=0;if(obj.offsetParent)
{do
{curleft+=obj.offsetLeft;curtop+=obj.offsetTop;}
while(obj=obj.offsetParent);}
return[curleft,curtop];}
var notifierID=0;var notifierFades=[];function notifyAt(elem,message)
{notifier=document.createElement('div');notifier.className="notifier";notifier.id="notifier_"+notifierID;window.setTimeout("notifierFade("+notifierID+");",5000);notifierFades[notifierID]=1;notifierID+=1;pos=findPos(elem);notifier.style.left=pos[0]-3+"px";notifier.style.top=pos[1]-48+"px";notifier.innerHTML=message;document.getElementById('mainbody').appendChild(notifier);}
function notifyAt2(elem,message)
{notifier=document.createElement('div');notifier.className="notifier";notifier.id="notifier_"+notifierID;window.setTimeout("notifierFade("+notifierID+");",5000);notifierFades[notifierID]=1;notifierID+=1;pos=findPos(elem);notifier.style.left=pos[0]-3+"px";notifier.style.top=pos[1]-24+"px";notifier.innerHTML=message;document.getElementById('mainbody').appendChild(notifier);}
function notifierFade(notifyID)
{if(notifierFades[notifyID]>0)
{notifierFades[notifyID]-=0.01;document.getElementById("notifier_"+notifyID).style.opacity=notifierFades[notifyID];document.getElementById("notifier_"+notifyID).style["-ms-filter"]="progid:DXImageTransform.Microsoft.Alpha(Opacity="+(notifierFades[notifyID]*100)+")";document.getElementById("notifier_"+notifyID).style.filter="alpha(opacity="+(notifierFades[notifyID]*100)+")";document.getElementById("notifier_"+notifyID).style.top=parseInt(document.getElementById("notifier_"+notifyID).style.top)-0.2+"px";window.setTimeout("notifierFade("+notifyID+");",10);}
else
{document.getElementById("notifier_"+notifyID).parentNode.removeChild(document.getElementById("notifier_"+notifyID));}}
window.menu_LaunchMenu=null;window.menu_LaunchBG=null;function showLaunchMenu()
{if(window.menu_LaunchMenu!=null)
{hideLaunchMenu();}
else
{window.menu_LaunchBG=document.createElement('div');window.menu_LaunchBG.className="launchmenu_alphabackg";window.menu_LaunchBG.onclick=hideLaunchMenu;document.getElementById('mainbody').appendChild(window.menu_LaunchBG);window.menu_LaunchMenu=document.createElement('div');window.menu_LaunchMenu.className="launchmenu";window.menu_LaunchMenu.innerHTML=document.getElementById('launchmenu_data').innerHTML;window.menu_LaunchMenu.style.height=document.getElementById('launchmenu_data').style.height;document.getElementById('mainbody').appendChild(window.menu_LaunchMenu);}
if(document.getElementById('newuser_menu_notify')!=null)
{document.getElementById('newuser_menu_notify').style.display='none';document.cookie="rg_menu_notify_close=true";}}
function hideLaunchMenu()
{if(window.menu_LaunchMenu!=null)
{document.getElementById('mainbody').removeChild(window.menu_LaunchMenu);document.getElementById('mainbody').removeChild(window.menu_LaunchBG);window.menu_LaunchMenu=null;window.menu_LaunchBG=null;}}
function selectAll(selectBox,selectAll){if(typeof selectBox=="string"){selectBox=document.getElementById(selectBox);}
if(selectBox.type=="select-multiple"){for(var i=0;i<selectBox.options.length;i++){if(selectBox.options[i].disabled==true)
selectBox.options[i].selected=false;else
selectBox.options[i].selected=selectAll;}}}
searchBoxType=1;function searchBoxSelect(num)
{document.getElementById('sbselect').style.top=16+(num-1)*30+"px";searchBoxType=num;document.getElementById('sbtypestatus').innerHTML=document.getElementById('sb'+num).innerHTML;document.getElementById('searchtypehiddenvalue').value=document.getElementById('sb'+num).innerHTML.toLowerCase();document.cookie="rg_search_box_type="+document.getElementById('sb'+num).innerHTML.toLowerCase();}
function searchBoxTypeOpen()
{document.getElementById('sbtypebutton').style.backgroundPosition="0px -27px";document.getElementById('sbtype').style.display='block';}
function searchBoxTypeClose()
{document.getElementById('sbtypebutton').style.backgroundPosition="0px 0px";document.getElementById('sbtype').style.display='none';}
function searchBoxTypeToggle()
{if(document.getElementById('sbtype').style.display=='block')
{searchBoxTypeClose();}
else
{searchBoxTypeOpen();}}
function searchTypeButtonOver()
{if(document.getElementById('sbtypebutton').style.backgroundPosition!="0px -27px")
{document.getElementById('sbtypebutton').style.backgroundPosition="0px -54px";}}
function searchTypeButtonOut()
{if(document.getElementById('sbtype').style.display!='block')
{document.getElementById('sbtypebutton').style.backgroundPosition="0px 0px";}}
function searchTypeSelectOver()
{document.getElementById('sbtypebutton').style.backgroundPosition="0px -27px";}
function doSearch()
{document.getElementById('sbform').submit();};var isIE=(navigator.appVersion.indexOf("MSIE")!=-1)?true:false;var isWin=(navigator.appVersion.toLowerCase().indexOf("win")!=-1)?true:false;var isOpera=(navigator.userAgent.indexOf("Opera")!=-1)?true:false;function ControlVersion()
{var version;var axo;var e;try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");version=axo.GetVariable("$version");}catch(e){}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");version="WIN 6,0,21,0";axo.AllowScriptAccess="always";version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version=axo.GetVariable("$version");}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");version="WIN 3,0,18,0";}catch(e){}}
if(!version)
{try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");version="WIN 2,0,0,11";}catch(e){version=-1;}}
return version;}
function GetSwfVer(){var flashVer=-1;if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var swVer2=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var flashDescription=navigator.plugins["Shockwave Flash"+swVer2].description;var descArray=flashDescription.split(" ");var tempArrayMajor=descArray[2].split(".");var versionMajor=tempArrayMajor[0];var versionMinor=tempArrayMajor[1];var versionRevision=descArray[3];if(versionRevision==""){versionRevision=descArray[4];}
if(versionRevision[0]=="d"){versionRevision=versionRevision.substring(1);}else if(versionRevision[0]=="r"){versionRevision=versionRevision.substring(1);if(versionRevision.indexOf("d")>0){versionRevision=versionRevision.substring(0,versionRevision.indexOf("d"));}}
var flashVer=versionMajor+"."+versionMinor+"."+versionRevision;}}
else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1)flashVer=4;else if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1)flashVer=3;else if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1)flashVer=2;else if(isIE&&isWin&&!isOpera){flashVer=ControlVersion();}
return flashVer;}
function DetectFlashVer(reqMajorVer,reqMinorVer,reqRevision)
{versionStr=GetSwfVer();if(versionStr==-1){return false;}else if(versionStr!=0){if(isIE&&isWin&&!isOpera){tempArray=versionStr.split(" ");tempString=tempArray[1];versionArray=tempString.split(",");}else{versionArray=versionStr.split(".");}
var versionMajor=versionArray[0];var versionMinor=versionArray[1];var versionRevision=versionArray[2];if(versionMajor>parseFloat(reqMajorVer)){return true;}else if(versionMajor==parseFloat(reqMajorVer)){if(versionMinor>parseFloat(reqMinorVer))
return true;else if(versionMinor==parseFloat(reqMinorVer)){if(versionRevision>=parseFloat(reqRevision))
return true;}}
return false;}}
function AC_AddExtension(src,ext)
{if(src.indexOf('?')!=-1)
return src.replace(/\?/,ext+'?');else
return src+ext;}
function AC_Generateobj(objAttrs,params,embedAttrs)
{var str='';if(isIE&&isWin&&!isOpera)
{str+='<object ';for(var i in objAttrs)
str+=i+'="'+objAttrs[i]+'" ';for(var i in params)
str+='><param name="'+i+'" value="'+params[i]+'" /> ';str+='></object>';}else{str+='<embed ';for(var i in embedAttrs)
str+=i+'="'+embedAttrs[i]+'" ';str+='> </embed>';}
document.write(str);}
function AC_FL_RunContent(){var ret=AC_GetArgs
(arguments,".swf","movie","clsid:d27cdb6e-ae6d-11cf-96b8-444553540000","application/x-shockwave-flash");AC_Generateobj(ret.objAttrs,ret.params,ret.embedAttrs);}
function AC_GetArgs(args,ext,srcParamName,classid,mimeType){var ret=new Object();ret.embedAttrs=new Object();ret.params=new Object();ret.objAttrs=new Object();for(var i=0;i<args.length;i=i+2){var currArg=args[i].toLowerCase();switch(currArg){case"classid":break;case"pluginspage":ret.embedAttrs[args[i]]=args[i+1];break;case"src":case"movie":args[i+1]=AC_AddExtension(args[i+1],ext);ret.embedAttrs["src"]=args[i+1];ret.params[srcParamName]=args[i+1];break;case"onafterupdate":case"onbeforeupdate":case"onblur":case"oncellchange":case"onclick":case"ondblClick":case"ondrag":case"ondragend":case"ondragenter":case"ondragleave":case"ondragover":case"ondrop":case"onfinish":case"onfocus":case"onhelp":case"onmousedown":case"onmouseup":case"onmouseover":case"onmousemove":case"onmouseout":case"onkeypress":case"onkeydown":case"onkeyup":case"onload":case"onlosecapture":case"onpropertychange":case"onreadystatechange":case"onrowsdelete":case"onrowenter":case"onrowexit":case"onrowsinserted":case"onstart":case"onscroll":case"onbeforeeditfocus":case"onactivate":case"onbeforedeactivate":case"ondeactivate":case"type":case"codebase":ret.objAttrs[args[i]]=args[i+1];break;case"id":case"width":case"height":case"align":case"vspace":case"hspace":case"class":case"title":case"accesskey":case"name":case"tabindex":ret.embedAttrs[args[i]]=ret.objAttrs[args[i]]=args[i+1];break;default:ret.embedAttrs[args[i]]=ret.params[args[i]]=args[i+1];}}
ret.objAttrs["classid"]=classid;if(mimeType)ret.embedAttrs["type"]=mimeType;return ret;}