function $(o){return document.getElementById(o)}function $s(i,a){$(i).style.display=a?'':'none';}function hit(i){$(i).style.display=$(i).style.display=='block'?'none':'block';}String.prototype.lenB = function(){return this.replace(/[^\x00-\xff]/g,"**").length;};function lnet(a){$(a).innerHTML=$(a+'_code').innerHTML;$(a+'_code').innerHTML="";$(a+'_code').parentNode.removeChild($(a+'_code'));}function getreq(url){if(window.XMLHttpRequest) {req = new XMLHttpRequest();try {req.open("GET", url, false);} catch (e) {alert(e);}req.send(null);}else if (window.ActiveXObject) {req = new ActiveXObject("Microsoft.XMLHTTP");if (req) {req.open("GET", url, false);req.send();}}return req;}function getCookie(name){var strCookies = document.cookie;var cookieName = name + "=";var valueBegin, valueEnd, value;valueBegin = strCookies.indexOf(cookieName);if (valueBegin == -1) return null;valueEnd = strCookies.indexOf(";", valueBegin);if (valueEnd == -1)valueEnd = strCookies.length;value = strCookies.substring(valueBegin+cookieName.length,valueEnd);return unescape(value);}function setCookie (name, value) {var argv = setCookie.arguments;var argc = setCookie.arguments.length;var path = (argc > 2) ? argv[2] : null;var expireDays = (argc > 3) ? argv[3] : 365;var domain = (argc > 4) ? argv[4] : ".2144.cn";var secure = (argc > 5) ? argv[5] : false;var date=new Date();date.setTime(date.getTime()+expireDays*24*3600*1000);deleteCookie (name);document.cookie = name + "=" +  escape(value) + ((expireDays == null) ? "" : ("; expires=" + date.toGMTString())) + ((path == null) ? "" : ("; path=" + path)) +  ((domain == null) ? "" : ("; domain=" + domain)) + ((secure == true) ? "; secure" : "");}function checkCookieExist(name){	if (getCookie(name))return true;else return false;}function deleteCookie (name) {  var exp = new Date();  exp.setTime (exp.getTime() - 1); var cval = getCookie (name); document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();}function linkcount(a, linkid){if(!linkid) linkid = a.id;url="/out_click/click.php?link_url="+a.href+"&link_id="+linkid;getreq(url);}function setfade(obj,a,b){if(navigator.userAgent.indexOf("MSIE")>0){if(!a) a='0.3';if(!b) b='1';obj.style.filter='progid:DXImageTransform.Microsoft.Fade(duration='+a+',overlap='+b+')';obj.filters[0].apply();obj.onpropertychange=function(){this.filters[0].play()};}}function setalpha(obj,o,a,s){if(!o) o=10;if(!a) a=5;if(!s) s=10;if(navigator.userAgent.indexOf("MSIE")>0){obj.style.filter='alpha(opacity:100)';obj.filters.alpha.opacity=o;var alphai = setInterval(function(){obj.filters.alpha.opacity+=a;if(obj.filters.alpha.opacity>=100)clearInterval(alphai);},s);}}function killErrors(){return true;}function o(){var t=document.getElementsByTagName("B");for(i = 0 ; i < t.length; i++){if(t[i].className=='r'){t[i].style.visibility="visible";var b=document.createElement("b");b.style.width=t[i].getAttribute('s')*15+"px";t[i].innerHTML="";t[i].appendChild(b);if($('ccc'))document.onmouseover="";}}}function ctb(){document.write('<button onclick="copyToClipBoard();" class="copybutton" title="点此复制标题和地址,直接粘贴即可^0^"></button><a id="qzonelink" href="#" target="_blank"><span></span></a>');}function alt_fav(){var gpics=document.getElementsByTagName("IMG");var picslen=gpics.length;for(var i=0; i<picslen; i++){if(gpics[i].getAttribute("alt") && gpics[i].getAttribute("fav")){gpics[i].setAttribute("alt",gpics[i].getAttribute("alt")+"\r\n已有"+gpics[i].getAttribute("fav")+"个玩家收藏该游戏");gpics[i].setAttribute("fav","");}}}
window.onerror=killErrors;
document.onmouseover=o;
var ks='';
ks += '<a target="_blank" href="http://www.91move.com/live/hzhz/">化妆换衣</a> ';
ks += '<a target="_blank" href="http://www.91move.com/s/huangjinkuanggong/"><font color="red">黄金矿工</font></a> ';
ks += '<a target="_blank" href="http://www.91move.com/special/paopaotang/">泡泡堂</a> ';
ks += '<a target="_blank" href="http://www.91move.com/special/sanguo.html">三国</a> ';
ks += '<a target="_blank" href="http://www.91move.com/special/huoying.html" style="color:red">火影忍者</a> ';
ks += '<a target="_blank" href="http://www.91move.com/special/datoumei.html">大头妹</a> ';
ks += '<s>';
ks += '<a target="_blank" href="http://www.91move.com/s/monijingying/"><font color="red">模拟经营</font></a> ';
ks += '<a target="_blank" href="http://www.91move.com/rpg/mstt/">密室逃脱</a> ';
ks += '<a target="_blank" href="http://www.91move.com/special/shuangren/"><font color="red">双人小游戏</font></a> ';
ks += '<a target="_blank" href="http://www.91move.com/special/kof.html">拳皇</a> ';
ks += '<a target="_blank" href="http://www.91move.com/special/wow.html"><font color="red">魔兽争霸</font></a> ';
ks += '<a target="_blank" href="http://www.91move.com/special/nfs.html">极品飞车</a> ';
ks += '<s>';
ks += '<a target="_blank" href="http://www.91move.com/war/hjdt/">合金弹头</a> ';
ks += '<a target="_blank" href="http://www.91move.com/live/sheji/"><font color="red">设计布置</font></a> ';
ks += '<a target="_blank" href="http://www.91move.com/special/haimian.html">海绵宝宝</a> ';
ks += '<a target="_blank" href="http://www.91move.com/s/zfxyx/"><font color="red">做饭料理</font></a> ';
ks += '<a target="_blank" href="http://www.91move.com/puzzle/llk/">连连看</a> ';
ks += '<a target="_blank" href="http://www.91move.com/live/huanzhuang/"><font color="red">换装</font></a> ';
ticker_keywords = ks.split("<s>");
function start_ticking(obj,content,randstart,tickdelay){
	if(!tickdelay) tickdelay=3500;
	$(obj).onmouseover = function(){$(obj).ticking=false};
	$(obj).onmouseout = function(){$(obj).ticking=true};
	if($(obj).ticking!=false){
		if($(obj).current==null) $(obj).current=randstart?Math.floor(Math.random()*content.length):0;
		$(obj).innerHTML = content[$(obj).current];
		if ($(obj).current == content.length-1) $(obj).current = 0
		else $(obj).current++;
	}
	window.setTimeout(function(){start_ticking(obj,content,randstart,tickdelay)},tickdelay);
}
function keywords(){start_ticking('ticker',ticker_keywords,1);}