function submenu(menu_no){var $=function(id){return document.getElementById(id)};$("first_"+menu_no).className=($("first_"+menu_no).className=='')?'on':'';$("second_"+menu_no).style.display=($("second_"+menu_no).style.display=='none')?'':'none';}
var sb=0;var sba=0;function mychg(m){var $=function(id){return document.getElementById(id)};if(sba==1){sbb=$("lm"+m).style.display;$("lm"+m).style.display=sbb=="none"?"block":"none";$("father"+m).className=$("father"+m).className==""?"on":"";}
else{if(sb!=0){$("lm"+sb).style.display="none";$("father"+sb).className="";}
if(sb!=m){$("lm"+m).style.display="block";$("father"+m).className="on";sb=m;}
else sb=0;}}
function styleChange(box_id){var $=function(id){return document.getElementById(id)};var box=$(box_id);var boxlist=box.getElementsByTagName("dl");for(var i=0;i<boxlist.length;i++){boxlist[i].onmouseover=function(){this.className="on";}
boxlist[i].onmouseout=function(){this.className="";}}}
function ue_tab(tab_menu,tab_main,cur_tab,mouse,time){var pre_no;var timer,autoplay_timer;var tab;function $(id){return document.getElementById(id);}
function run(no){if(no!=null){if(timer!=null)clearInterval(timer);timer=setInterval(function(){doChange(no);},200);}}
function addEvent(){for(var i=0;i<tab.length;i++){tab[i].cur_no=i;if(mouse==null){tab[i].onclick=function(){run(this.cur_no);return false;}}else{tab[i].onmouseover=tab[i].onmouseout=function(){run(this.cur_no);return false;}}}}
function doChange(k){if(tab[pre_no]!=null&&$(tab_main+(pre_no+1))!=null){tab[pre_no].className="off";$(tab_main+(pre_no+1)).style.display="none";}
if(tab[k]!=null&&$(tab_main+(k+1))!=null){tab[k].className="on";$(tab_main+(k+1)).style.display="block";}
pre_no=k;if(timer!=null)clearInterval(timer);}
function autoplay(){if(pre_no<tab.length){doChange(pre_no+1);}else{pre_no=tab.length-1;doChange(0);}}
function init(){if(tab_menu==null||tab_main==null)return;var tabs=tab_menu.split(" ");if(tabs[0]==null||tabs[1]==null||$(tabs[0])==null)return;tab=$(tabs[0]).getElementsByTagName(tabs[1]);pre_no=(cur_tab==null)?0:(cur_tab-1);doChange(pre_no);addEvent();if(time!=null&&time>0)
autoplay_timer=setInterval(autoplay,time);}
init();}
function ue_time_scroll(Speed_1,Space_1,PageWidth_1,interval_1){var self=this;var fill_1=0;var movelock=false;var movetimeobj;var moveway="right";var comp=0;var timer1=null;function getID(objName){return document.getElementById(objName);}
function autoplay(){clearInterval(timer1);timer1=setInterval(function(){self.toRight();self.stopToRight();},interval_1)}
this.toLeft=function(){if(movelock)return;clearInterval(timer1);movelock=true;moveway="left";movetimeobj=setInterval(self.ISL_ScrUp_1,Speed_1);}
this.stopToLeft=function(){if(moveway=="right"){return};clearInterval(movetimeobj);if((getID('timescroll').scrollLeft-fill_1)%PageWidth_1!=0){comp=fill_1-(getID('timescroll').scrollLeft%PageWidth_1);compscr()}else{movelock=false}
autoplay()}
this.ISL_ScrUp_1=function(){if(getID('timescroll').scrollLeft<=0){getID('timescroll').scrollLeft=getID('timescroll').scrollLeft+getID('timescrllpage1').offsetWidth}
getID('timescroll').scrollLeft-=Space_1;}
this.toRight=function(){clearInterval(movetimeobj);if(movelock)return;clearInterval(timer1);movelock=true;moveway="right";self.ISL_ScrDown_1();movetimeobj=setInterval(self.ISL_ScrDown_1,Speed_1)}
this.stopToRight=function(){if(moveway=="left"){return};clearInterval(movetimeobj);if(getID('timescroll').scrollLeft%PageWidth_1-(fill_1>=0?fill_1:fill_1+1)!=0){comp=PageWidth_1-getID('timescroll').scrollLeft%PageWidth_1+fill_1;compscr()}else{movelock=false}
autoplay()}
this.ISL_ScrDown_1=function(){if(getID('timescroll').scrollLeft>=getID('timescrllpage1').scrollWidth){getID('timescroll').scrollLeft=getID('timescroll').scrollLeft-getID('timescrllpage1').scrollWidth}
getID('timescroll').scrollLeft+=Space_1;}
function compscr(){if(comp==0){movelock=false;return;}
var num,TempSpeed=Speed_1,TempSpace=Space_1;if(Math.abs(comp)<PageWidth_1/2){TempSpace=Math.round(Math.abs(comp/Space_1));if(TempSpace<1){TempSpace=1}}
if(comp<0){if(comp<-TempSpace){comp+=TempSpace;num=TempSpace}else{num=-comp;comp=0}
getID('timescroll').scrollLeft-=num;setTimeout(compscr,TempSpeed)}else{if(comp>TempSpace){comp-=TempSpace;num=TempSpace}else{num=comp;comp=0;}
getID('timescroll').scrollLeft+=num;setTimeout(compscr,TempSpeed)}}
function init(){getID("timescrllpage2").innerHTML=getID("timescrllpage1").innerHTML;getID('timescroll').scrollLeft=fill_1>=0?fill_1:getID('timescrllpage1').scrollWidth-Math.abs(fill_1);getID("timescroll").onmouseover=function(){clearInterval(timer1)}
getID("timescroll").onmouseout=function(){autoplay()}
autoplay();}
init();}
function switchSearch(val){var SearchInputValue=document.getElementById("textfield").value;eform=document.forms['mmosearch'];if(eform.hasChildNodes()){while(eform.childNodes.length>=1){eform.removeChild(eform.firstChild);}}
switch(val){case"all":var mmosearchUrl="http://search.mmosite.com/search.shtml";var mmosearchId="searchbox_006423123334112841508:sz4kswcpj5m";var mmosearchMethod="get";var mmosearchInput=document.createElement("input");var mmosearchHidden1=mmosearchInput.cloneNode(true);var mmosearchHidden2=mmosearchInput.cloneNode(true);mmosearchInput.name="q";mmosearchInput.type="text";mmosearchInput.id="textfield";mmosearchInput.value=SearchInputValue;mmosearchHidden1.name="cx";mmosearchHidden1.type="hidden";mmosearchHidden1.value="006423123334112841508:sz4kswcpj5m";mmosearchHidden2.name="cof";mmosearchHidden2.type="hidden";mmosearchHidden2.value="FORID:11";eform.appendChild(mmosearchInput);eform.appendChild(mmosearchHidden1);eform.appendChild(mmosearchHidden2);eform.action=mmosearchUrl;eform.id=mmosearchId;eform.method=mmosearchMethod;break;case"game":var gamelistUrl="http://gamelist.mmosite.com/search.shtml";var gamelistMethod="post";var gamelistInput=document.createElement("input");gamelistInput.name="q";gamelistInput.type="text";gamelistInput.id="textfield";gamelistInput.value=SearchInputValue;eform.appendChild(gamelistInput);eform.action=gamelistUrl;eform.method=gamelistMethod;break;case"client":var downloadUrl="http://download.mmosite.com/down_search.php";var downloadMethod="post";var downloadInput=document.createElement("input");var downloadHidden=downloadInput.cloneNode(true);downloadInput.name="s_name";downloadInput.type="text";downloadInput.id="textfield";downloadInput.value=SearchInputValue;downloadHidden.name="sType";downloadHidden.value=1;downloadHidden.type="hidden";eform.appendChild(downloadInput);eform.appendChild(downloadHidden);eform.action=downloadUrl;eform.method=downloadMethod;break;}
document.forms['mmosearch'].submit();}
function searchSelect(state){if(state==1){document.getElementById('mmo_search').className='mmo_search_on'}
else{document.getElementById('mmo_search').className='mmo_search'}}
function ShowMmoSearch(){document.write('<div id="mmo_search" class="mmo_search"><form name="mmosearch" action="http://search.mmosite.com/search.shtml" id="searchbox_006423123334112841508:sz4kswcpj5m" method="get"><input type="hidden" name="cx" value="006423123334112841508:sz4kswcpj5m"><input type="hidden" name="cof" value="FORID:11"><input type="text"  onfocus="if(this.value==\'Search...\')this.value=\'\'" value="Search..." size="36" onblur="if(this.value==\'\')this.value=\'Search...\'" name="q" id="textfield" /></form>');document.write('<input class="mmo_search_btn" type="submit" value="" onclick="searchSelect(1); return false;" onmouseover="searchSelect(1);" onmouseout="searchSelect(0);" />');document.write('<div id="search_select" class="search_select" onmouseover="searchSelect(1);" onmouseout="searchSelect(0);"><a href="javascript:switchSearch(\'all\');">All</a><a href="javascript:switchSearch(\'game\');">Game</a><a href="javascript:switchSearch(\'client\');">Client</a></div></div>');}
function showHotVideo(num){var vid='';var gid='';var title='';var picture='';var view='';var time='';var game='';var i=0;for(i=0;i<num;i++){vid=vd_area[i]['vid'];gid=vd_area[i]['gid'];title=vd_area[i]['title'];picture=vd_area[i]['picture']
view=vd_area[i]['view'];time=vd_area[i]['time'];game=vd_area[i]['game'];document.writeln("<ul>");document.writeln("<li class=\"video_pic\"><a href=\"http:\/\/video.mmosite.com\/display.php?vid="+vid+"&gid="+gid+"\" title=\""+title+"\" target=\"_blank\"><img src=\""+picture+"\" \/><\/a><\/li>");document.writeln("<li class=\"video_info\"><a href=\"http:\/\/video.mmosite.com\/display.php?vid="+vid+"&gid="+gid+"\" title=\""+title+"\" target=\"_blank\">"+title+"<\/a><br \/>"+time+"<br \/>Views:"+view+"<br \/>Game:<a href=\"http:\/\/video.mmosite.com\/game_vm.php?gid="+gid+"\" target=\"_blank\">"+game+"<\/a><\/li>");document.writeln("<\/ul>");}}
function showUpcomingGame(version){var arrayName;switch(version){case"global":arrayName=inbetaUnepmsg;break;case"us":arrayName=inbetaUng;break;case"eu":arrayName=inbetaeg;break;case"sea":arrayName=inbetasmspg;break;}
var num=arrayName['num'];for(i=0;i<num;i++){var upg_name=arrayName[i]['gae_name'];var upg_status=arrayName[i]['status'];var upg_feature_url=arrayName[i]['gae_url'];var upg_register_url=arrayName[i]['register'];var upg_download_url=arrayName[i]['client'];var upg_contest=arrayName[i]['contest'];if(upg_contest.length==0){var upg_account_url="";}else{for(j=0;j<upg_contest.length;j++){var upg_account_url=upg_contest[j]['contest_url'];}}
document.writeln("<dl>");if(upg_feature_url==''){document.writeln("<dt>"+upg_name+"<\/dt>");}else{document.writeln("<dt><a href=\""+upg_feature_url+"\">"+upg_name+"<\/a><\/dt>");}
document.writeln("<dd>"+upg_status+"<br \/>");if(upg_register_url==''&upg_download_url!=''&upg_account_url==''){document.writeln("<a href=\""+upg_download_url+"\">Client<\/a></\dd>");}
if(upg_download_url==''&upg_register_url!=''&upg_account_url==''){document.writeln("<a href=\""+upg_register_url+"\">Register<\/a></\dd>");}
if(upg_download_url==''&upg_register_url==''&upg_account_url!=''){document.writeln("<a href=\""+upg_account_url+"\">Key<\/a></\dd>");}
if(upg_download_url!=''&upg_register_url!=''&upg_account_url==''){document.writeln("<a href=\""+upg_download_url+"\">Client<\/a> | <a href=\""+upg_register_url+"\">Register<\/a></\dd>");}
if(upg_register_url==''&upg_download_url!=''&upg_account_url!=''){document.writeln("<a href=\""+upg_download_url+"\">Client<\/a> | <a href=\""+upg_account_url+"\">Key<\/a></\dd>");}
if(upg_download_url==''&upg_register_url!=''&upg_account_url!=''){document.writeln("<a href=\""+upg_register_url+"\">Register<\/a> | <a href=\""+upg_account_url+"\">Key<\/a></\dd>");}
if(upg_download_url!=''&upg_register_url!=''&upg_account_url!=''){document.writeln("<a href=\""+upg_download_url+"\">Client<\/a> | <a href=\""+upg_register_url+"\">Register<\/a> | <a href=\""+upg_account_url+"\">Key<\/a></\dd>");}
document.writeln("<\/dl>");}}
function mostAnti(version){var arrayName;switch(version){case"global":arrayName=anticipatedUnepmsg;break;case"us":arrayName=anticipatedUng;break;case"eu":arrayName=anticipatedeg;break;case"sea":arrayName=anticipatedspsmg;break;}
var num=arrayName['num'];document.write('<ul class="rank_1"><li><a href="'+arrayName[0]['gae_url']+'"><img src="'+arrayName[0]['gae_logo']+'" /></a></li><li><a href="'+arrayName[0]['gae_url']+'">'+arrayName[0]['gae_name']+'</a><br />Score:<a href="'+arrayName[0]['gae_url']+'" class="size18">'+arrayName[0]['score']+'</a>/'+arrayName[0]['vote_num']+' votes<br />Status:'+arrayName[0]['status']+'</li></ul>');document.write('<ul class="rank_title"><li class="rank_num">Rank</li><li class="rank_name">Games</li><li class="rank_score">Score</li><li class="rank_vote">Vote</li></ul>');for(i=1;i<num;i++){var game_logo=arrayName[i]['gae_logo'];var game_url=arrayName[i]['gae_url'];var game_name=arrayName[i]['gae_name'];var game_score=arrayName[i]['score'];var game_vote_num=arrayName[i]['vote_num'];var game_status=arrayName[i]['status'];var rank_no=i+1;document.write('<ul class="rank_'+rank_no+'"><li class="rank_num"><span>'+rank_no+'</span></li><li class="rank_name"><a href="'+game_url+'">'+game_name+'</a></li><li class="rank_score"><a href="'+game_url+'">'+game_score+'</a></li><li class="rank_vote">'+game_vote_num+'</li></ul>');}}
function highRank(version){var arrayName;switch(version){case"global":arrayName=highestrankUnepmsg;break;case"us":arrayName=highestrankung;break;case"eu":arrayName=highestrankeg;break;case"sea":arrayName=highestrankspsmg;break;}
var num=arrayName['num'];document.write('<ul class="rank_1"><li><a href="'+arrayName[0]['gae_url']+'"><img src="'+arrayName[0]['gae_logo']+'" /></a></li><li><a href="'+arrayName[0]['gae_url']+'">'+arrayName[0]['gae_name']+'</a><br />Score:<a href="'+arrayName[0]['gae_url']+'" class="size18">'+arrayName[0]['score']+'</a>/'+arrayName[0]['vote_num']+' votes<br />Status:'+arrayName[0]['status']+'</li></ul>');document.write('<ul class="rank_title"><li class="rank_num">Rank</li><li class="rank_name">Games</li><li class="rank_score">Score</li><li class="rank_vote">Vote</li></ul>');for(i=1;i<num;i++){var game_logo=arrayName[i]['gae_logo'];var game_url=arrayName[i]['gae_url'];var game_name=arrayName[i]['gae_name'];var game_score=arrayName[i]['score'];var game_vote_num=arrayName[i]['vote_num'];var game_status=arrayName[i]['status'];var rank_no=i+1;document.write('<ul class="rank_'+rank_no+'"><li class="rank_num"><span>'+rank_no+'</span></li><li class="rank_name"><a href="'+game_url+'">'+game_name+'</a></li><li class="rank_score"><a href="'+game_url+'">'+game_score+'</a></li><li class="rank_vote">'+game_vote_num+'</li></ul>');}}
function showDownByWeekly(num){var id='';var title='';var downnum='';var i=0;for(i=0;i<num;i++){id=down_weekly[i]['id'];title=down_weekly[i]['title'];downnum=down_weekly[i]['downnum'];if(i<3){document.writeln("<ul>");document.writeln("<li class=\"gl_no"+(i+1)+"\"><h3>"+(i+1)+"<\/h3><\/li>");document.writeln("<li class=\"downtitle\"><a href=\"http:\/\/download.mmosite.com\/download.php?id="+id+"\" title=\""+title+"\">"+title+"<\/a><\/li>");document.writeln("<li>"+downnum+"<\/li>");document.writeln("<\/ul>");}else{document.writeln("<ul>");document.writeln("<li class=\"gl_no\"><h3>"+(i+1)+"<\/h3><\/li>");document.writeln("<li class=\"downtitle\"><a href=\"http:\/\/download.mmosite.com\/download.php?id="+id+"\" title=\""+title+"\">"+title+"<\/a><\/li>");document.writeln("<li>"+downnum+"<\/li>");document.writeln("<\/ul>");}}}
function showDownByLatest(num){var id='';var title='';var infoaddtime='';var i=0;for(i=0;i<num;i++){id=down_update[i]['id'];title=down_update[i]['title'];infoaddtime=down_update[i]['infoaddtime'];if(i<3){document.writeln("<ul>");document.writeln("<li class=\"gl_no"+(i+1)+"\"><h3>"+(i+1)+"<\/h3><\/li>");document.writeln("<li class=\"downtitle\"><a href=\"http:\/\/download.mmosite.com\/download.php?id="+id+"\" title=\""+title+"\">"+title+"<\/a><\/li>");document.writeln("<li>"+infoaddtime+"<\/li>");document.writeln("<\/ul>");}else{document.writeln("<ul>");document.writeln("<li class=\"gl_no\"><h3>"+(i+1)+"<\/h3><\/li>");document.writeln("<li class=\"downtitle\"><a href=\"http:\/\/download.mmosite.com\/download.php?id="+id+"\" title=\""+title+"\">"+title+"<\/a><\/li>");document.writeln("<li>"+infoaddtime+"<\/li>");document.writeln("<\/ul>");}}}
function showFlash(iUrl,iWidth,iHeight,iWmode,flashVars)
{var myDate=new Date();var rand_time=myDate.getTime();var xmlurl="http://my.mmosite.com/lomo/minidata_xml.xml";var flash='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+iWidth+'" height="'+iHeight+'"  id="lomowall" name="lomowall"/>';flash=flash+'<param name="movie" value="'+iUrl+'" />';flash=flash+'<param name="allowScriptAccess" value="always" />';flash=flash+'<param name="quality" value="high" />';flash=flash+'<param name="menu" value="false" />';flash=flash+'<param name="FlashVars" value="xmldataUrl='+xmlurl+'?rtime'+rand_time+flashVars+'" />';if(iWmode==1){flash=flash+'<param name="wmode" value="transparent" />';}
flash=flash+'<embed src="'+iUrl+'" width="'+iWidth+'" height="'+iHeight+'" menu="false" quality="high" ';if(iWmode==1){flash=flash+'wmode="transparent" ';}
flash=flash+' pluginspage="http://www.macromedia.com/go/getflashplayer" allowScriptAccess="always" type="application/x-shockwave-flash" flashvars="xmldataUrl='+xmlurl+'?rtime='+rand_time+flashVars+'" mwode="transparent" name="lomowall" id="lomowall"></embed>';flash=flash+'</object>';document.writeln(flash);}
function grab(lomoID){window.open('http://my.mmosite.com/?grab_url='+lomoID)}
function showFrame(number){if(number==1){getId('lomowall').style.height='300px';}else{getId('lomowall').style.height='150px';}}
function showlomo(value){if(value==1){getId('lomo_show').style.display='block';}else if(value==0){getId('lomo_show').style.display='none';}}
function getId(id){return document.getElementById(id);}
function win_open_bug(){var toUrl='http://report.help.mmosite.com/bug_report.htm?backurl='+escape(top.window.location.href);window.open(toUrl);}
function Bgad(){var o=this;var ladurl,radurl,bgpic,version;var ti=1;var adcontainer_style={"id":"newbgad","width":"1002px","margin":"0 auto","position":"relative"}
function getAdContainer(){var ad=document.createElement("div");ad.id=adcontainer_style.id;ad.style.width=adcontainer_style.width;ad.style.position=adcontainer_style.position;ad.style.margin=adcontainer_style.margin;return ad;}
function setAdContainer(adcontainer,ad1,ad2){adcontainer.appendChild(ad1);adcontainer.appendChild(ad2);document.body.style.overflowX="hidden";document.body.style.position="relative";document.body.insertBefore(adcontainer,document.body.childNodes[0]);}
function getAd(url,id){ad=document.createElement("div");ad.id=id;ad.style.position="absolute";ad.style.cursor="pointer";ad.style.backgroundImage="url("+bgpic+")";ad.style.backgroundRepeat="no-repeat";ad.style.backgroundAttachment="fixed";ad.onclick=function(){window.open(url);}
return ad;}
function resize(ad1,ad2){var adwidth,adheight,adScrollHeight,adScrollTop;if(document.all){adwidth=Math.abs(document.body.clientWidth-1002)/2-4;adheight=Math.min(document.body.clientHeight,document.documentElement.clientHeight);adScrollTop=Math.max(document.body.scrollTop,document.documentElement.scrollTop);}else{adwidth=Math.abs(document.documentElement.clientWidth-1002)/2-4;adheight=document.documentElement.clientHeight;adScrollTop=document.documentElement.scrollTop;}
if(document.compatMode!="CSS1Compat"){adheight=document.body.clientHeight;adScrollTop=document.body.scrollTop;}
adScrollHeight=document.body.scrollHeight;ad1.style.top="0px";ad1.style.width=adwidth+"px";if(adScrollHeight==(adScrollTop+adheight)){adScrollHeight=(document.all&&version==null)?(adScrollHeight-95):(adScrollHeight-80);}
ad1.style.height=adScrollHeight+"px";ad1.style.left="-"+adwidth+"px";ad2.style.width=ad1.style.width;ad2.style.height=ad1.style.height;ad2.style.right=ad1.style.left;ad2.style.top=ad1.style.top;ad1.style.backgroundPosition=Math.ceil(adwidth-219+4)+"px "+((adScrollTop<=30&&version==null)?"32px":"0");if(window.XMLHttpRequest)
ad2.style.backgroundPosition=ad1.style.backgroundPosition;else
ad2.style.backgroundPosition="-1222px "+((adScrollTop<=30&&version==null)?"32px":"0");}
function isWidthScreen(){return window.screen.width>1024?true:false;}
this.init=function(newadurl1,newadurl2,newbgpic,newversion){ladurl=newadurl1;radurl=newadurl2;bgpic=newbgpic;version=newversion;if(!isWidthScreen())return;var adcontainer=getAdContainer();var ad1=getAd(ladurl,"leftad");var ad2=getAd(radurl,"rightad");setAdContainer(adcontainer,ad1,ad2);if(document.all){window.attachEvent("onload",function(){resize(ad1,ad2);});if(window.XMLHttpRequest)
window.attachEvent("onscroll",function(){resize(ad1,ad2);});window.attachEvent("onresize",function(){resize(ad1,ad2);});}else{window.addEventListener("load",function(){resize(ad1,ad2);},false);window.addEventListener("scroll",function(){resize(ad1,ad2);},true);window.addEventListener("resize",function(){resize(ad1,ad2);},true);}}}
function mmoAds_deliverActiveX(content)
{document.write(content);}
function mmoFooter(){var cs=[];cs[0]="<style>#mmo_bottom{ width:1002px;margin:0 auto; font-size:12px; font-family:Arial; line-height:16px; text-align:left; }#mmo_bottom .copyright{ width:650px; float:left; padding-top:6px; text-align:left;}#mmo_bottom .footer_logo{ width:50px; height:41px; float:left; margin:10px 15px 0px 57px; display:inline-block;}html>body #mmo_bottom .footer_logo{background:url(\"http:\/\/images.mmosite.com\/www\/mmologo.png\") no-repeat;}* html #mmo_bottom .footer_logo {filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src=\"http:\/\/images.mmosite.com\/www\/mmologo.png\");background:none;}#mmo_bottom .footerico{ float:right; width:160px;}#mmo_bottom .footerico a{ width:70px; height:16px; font-size:11px; display:block; padding:0 0 0 21px; background:url(http:\/\/images.mmosite.com\/www\/images0904\/footer_ico.gif) no-repeat; margin-bottom:7px;}#mmo_bottom .footerico a.footer_rss{ background-position:left bottom;}#mmo_bottom .clear:after { content:\".\"; display:block; height:0; clear:both; visibility:hidden; }#mmo_bottom .clear {+display:none; clear:both }<\/style>";cs[1]="<div id=\"mmo_bottom\"><div class=\"footer_logo\"><\/div><div class=\"copyright\">2005-2009 MMOsite.com All Rights Reserved <br \/><b><a href=\"http:\/\/www.mmosite.com\/about\/sitemap.shtml\" target=\"_blank\"><strong>Site   Map<\/strong><\/a> | <a href=\"http:\/\/www.mmosite.com\/about\/contact.shtml\" target=\"_blank\"><strong>Contact Us<\/strong><\/a> | <a href=\"http:\/\/www.mmosite.com\/about\/index.shtml\" target=\"_blank\"><strong>About Us<\/strong><\/a> | <a href=\"http:\/\/www.mmosite.com\/about\/useragreement.shtml\" target=\"_blank\"><strong>User Agreement<\/strong><\/a> | <a href=\"http:\/\/www.mmosite.com\/about\/adsolution.shtml\" target=\"_blank\"><strong>Advertise<\/strong><\/a> | <a href=\"http:\/\/www.mmosite.com\/service\" target=\"_blank\"><strong>Service<\/strong><\/a> | <a href=\"javascript:win_open_bug();\"><strong>Report & Suggestion<\/strong><\/a><\/b> <br/><strong>Sister Site: <\/strong><a href=\"http:\/\/www.bbgsite.com\" target=\"_blank\">BBGsite.com<\/a><\/strong> |  <\/strong><a href=\"http:\/\/www.arabmmo.com\" target=\"_blank\">Arabmmo.com<\/a><\/strong>  |  <\/strong><a href=\"http:\/\/www.espmmo.com\" target=\"_blank\">Espmmo.com<\/a><\/strong> |  <\/strong><a href=\"http:\/\/www.pandaapp.com\" target=\"_blank\">Pandaapp.com<\/a><\/strong><\/div><div class=\"footerico\"><a title=\"Help\" href=\"http:\/\/help.mmosite.com\/\" class=\"footer_help\">Get help<\/a><a title=\"MMOsite RSS Center\" href=\"http:\/\/news.mmosite.com\/rss\" class=\"footer_rss\">Rss feed<\/a><\/div><br class=\"clear\" \/><\/div>"
cs[2]="<div style=\"display:none\"><scr"+"ipt language='javascript' src='http://js.aiya.com.cn/stat.js'></scr"+"ipt><noscript><img src=\"http://logs.aiya.com.cn/a?ci=mmosite\" alt=\"\"><\/noscript><\/div>";return document.writeln(cs.join(""));}
var gUcSiteUrl="http://accounts.mmosite.com/";var gSvcUrl="http://accounts.mmosite.com/port/js_svc.php?1";var gImagesUrl="http://image.91.com/zx.sj.91/wm/1201/";var gCurPageUrl=window.location.href;function showMmoUserInfo(){document.write("<div id=\"signbox\" class=\"sign\"><\/div>");try{url=gSvcUrl+'&action=get_userinfo&s='+(new Date()).getTime();requestSvc('bookmarkJs',url,'callbackShowMmoUserInfo');}catch(err){}}
function callbackShowMmoUserInfo(s){var sJson=s.toString();eval("var oJson = "+sJson+";");var res=oJson.result.trim();if('not_logged'==res){showLogingUserPannel();return;}else if('success'==res){showLogedUserPannel(oJson.username,oJson.nickname,oJson.goldNum,oJson.newPmNum);}else{}}
function showLogingUserPannel(){try{var inner='';var _oDiv=document.getElementById('mmouser__infoDiv');var _signInUrl=gUcSiteUrl+'port/login.php?url='+gCurPageUrl;var _signUpUrl=gUcSiteUrl+'port/reg.php?url='+gCurPageUrl;inner+='<a href="'+_signInUrl+'" class="btn_signin">SignIn</a>';inner+='<a href="'+_signUpUrl+'" class="btn_signup">SignUp</a>';if(!_oDiv){_oDiv=document.createElement("div");_oDiv.id="mmouser__infoDiv";document.getElementById("signbox").appendChild(_oDiv);_oDiv.innerHTML=inner;}else{_oDiv.style.display='block';}}catch(err){}}
function showLogedUserPannel(username,nickname,goldNum,newPmNum){try{var inner='';var _oDiv=document.getElementById('mmouser__infoDiv');inner+='<dl>';inner+='<dt><a href="http://my.mmosite.com/'+username+'">'+nickname+'</a></dt>';inner+='<dd><span>';inner+='<a href="http://accounts.mmosite.com/user/myprofile.php" class="user_1">My Profile</a>';inner+='<a href="https://accounts.mmosite.com/gold/" class="user_2">'+goldNum+'</a>';inner+='<a href="http://accounts.mmosite.com/user/index.php?m=pm_client&a=ls" class="user_3">'+newPmNum+'</a>';inner+='<a href="http://my.mmosite.com/blog/'+username+'" class="user_4">My Blog</a>';inner+='<a href="http://my.mmosite.com/'+username+'/Photo" class="user_5">My Album</a>';inner+='<a href="http://answer.mmosite.com/member/user_info.php" class="user_6">My Answer</a>';inner+='<a href="http://accounts.mmosite.com/port/logout.php" class="user_7">Sign Out</a>';inner+='</dd></span>';inner+='</dl>';if(!_oDiv){_oDiv=document.createElement("div");_oDiv.id="mmouser__infoDiv";document.getElementById("signbox").appendChild(_oDiv);_oDiv.innerHTML=inner;}else{_oDiv.style.display='block';}}catch(err){}}
function showMmoUserItemList(open){if(typeof(open)=='undefined'||open==true){document.getElementById('_mmouserItemList').style.display="block";}else{document.getElementById('_mmouserItemList').style.display="none";}}
function callbackFunc(s){}
String.prototype.trim=function(){return this.replace(/(^\s*)|(\s*$)/g,'');}
function requestSvc(id,url,funcName){if(typeof(funcName)=='undefined'){funcName='callbackFunc';}
url+='&func_name='+funcName;oScript=document.getElementById(id);var head=document.getElementsByTagName("head").item(0);if(oScript){head.removeChild(oScript);}
oScript=document.createElement("script");oScript.setAttribute("src",url);oScript.setAttribute("id",id);oScript.setAttribute("type","text/javascript");oScript.setAttribute("language","javascript");head.appendChild(oScript);return oScript;}