﻿document.writeln("<style>")
document.writeln("body{padding:0px;margin:0px;}")
document.writeln("a{text-decoration:none;}")
document.writeln("a:hover{text-decoration:none;}")
document.writeln("img{border:0px;z-index:1;}")
document.writeln(".yyyxBar{background:url(http://resource.kongzhong.com/jsImg/js_barBg.jpg) no-repeat right;height:27px;}")
document.writeln(".navBg{background:url(http://resource.kongzhong.com/jsImg/js_tBg.jpg) repeat-x;height:27px;color:#fff;font-size:12px;text-align:center;}")
document.writeln(".navBg a{color:#fff;text-decoration:none;}")
document.writeln(".jsBg{background:url(http://resource.kongzhong.com/jsImg/jsBg.jpg) repeat-x;height:59px;}")
document.writeln(".games1{height:20px;position:absolute;left:0px;top:28px;background:url(http://resource.kongzhong.com/jsImg/js_class_jj.gif) no-repeat left center;padding-left:75px;}")
document.writeln(".games1 ul,li{list-style:none;margin:0px;padding:0px;}")
document.writeln(".games1 li{float:left;line-height:20px;font-size:12px;margin-left:10px;cursor:pointer;display:block;}")
document.writeln(".games1 li a{color:#666}")
document.writeln(".games2{height:20px;position:absolute;left:0px;top:8px;background:url(http://resource.kongzhong.com/jsImg/js_class_js.gif) no-repeat left center;padding-left:75px;}")
document.writeln(".games2 ul,li{list-style:none;margin:0px;padding:0px;}")
document.writeln(".games2 li{float:left;line-height:20px;font-size:12px;margin-left:10px;cursor:pointer;display:block;}")
document.writeln(".games2 li a{color:#666}")
document.writeln(".bzt_link{height:32px;display:block;float:left;}")
document.writeln(".bzt_link p{display:none;}")
document.writeln(".bzt_link:hover{position:relative;}")
document.writeln(".bzt_link:hover p{position:absolute;top:-25px;left:0px;background:url(http://resource.kongzhong.com/jsImg/tips_r.gif) no-repeat right top;height:33px;font-size:12px;line-height:25px;margin:0px;padding:0px;width:110px;z-index:99;display:block;}")
document.writeln(".bzt_link:hover p span{background:url(http://resource.kongzhong.com/jsImg/tips_l.gif) no-repeat left top;height:33px;margin:0px;padding:0px 5px;display:block;text-align:center;color:#333;}")
document.writeln(".bzt_logo{background:url(http://resource.kongzhong.com/jsImg/js_Logo.jpg) no-repeat left top;padding-left:116px;height:59px;width:884px;margin:0px auto;}")
document.writeln(".bzt_main{height:59px;position:relative;}")
document.writeln(".zc{position:absolute;right:0px;top:0px;}")
document.writeln(".quicklink{position:absolute;right:0px;top:30px;}")
document.writeln(".lunbo{width:350px;height:20px;text-align:right;float:left;font-size:13px;overflow:hidden;font-weight:bold;}")
document.writeln(".lunbo a{display:block;color:#CC3300;}")
document.writeln("#div1{height:20px;overflow:hidden;line-height:20px;}")
document.writeln(".orange{color:#ed6d00;}")
document.writeln("#tt {position:absolute; display:block; background:url(http://resource.kongzhong.com/jsImg/t_left.gif) top left no-repeat}")
document.writeln("#tttop {display:block; height:5px; margin-left:5px; background:url(http://resource.kongzhong.com/jsImg/t_top.gif) top right no-repeat; overflow:hidden}")
document.writeln("#ttcont {display:block; padding:2px 12px 3px 7px; margin-left:5px; margin-right:1px;border-right:1px solid #fe7e02; background:#fff; color:#666;font-size:12px;}")
document.writeln("#ttbot {display:block; height:5px; margin-left:5px; background:url(http://resource.kongzhong.com/jsImg/t_bottom.gif) top right no-repeat; overflow:hidden}")
document.writeln("</style>")
document.writeln("<div class=\"jsBg\">")
document.writeln("<div class=\"bzt_logo\">")
document.writeln("<div class=\"bzt_main\">")
document.writeln("<div class=\"zc\">")
document.writeln("<table width=\"350\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">")
document.writeln("<tr>")
document.writeln("<td width=\"29\"><img src=\"http://resource.kongzhong.com/jsImg/js_tL.jpg\" /></td>")
document.writeln("<td width=\"290\" class=\"navBg\"><a href=\"http://passport.kongzhong.com/reg.jsp\" target=\"_blank\">注册</a> | <a href=\"http://passport.kongzhong.com\" target=\"_blank\">账号管理</a> | <a href=\"http://passport.kongzhong.com/billing/buy.jsp\" target=\"_blank\">充值</a> | <a href=\"http://resource.kongzhong.com/twmember/enter_service.html\" target=\"_blank\">客服</a> | <a href=\"http://tgy.kongzhong.com\" target=\"_blank\">推广分红</a> | <a href=\"http://bbs.kongzhong.com/index.php\" target=\"_blank\">社区</a></td>")
document.writeln("<td width=\"29\"><img src=\"http://resource.kongzhong.com/jsImg/js_tR.jpg\" /></td>")
document.writeln("</tr>")
document.writeln("</table>")
document.writeln("</div>")
document.writeln("<div class=\"quicklink\">")
document.writeln("<table width=\"330\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">")
document.writeln("<tr>")
document.writeln("<td width=\"110\" align=\"center\"><a href=\"http://club.kongzhong.com/index.html\" target=\"_blank\"><img src=\"http://resource.kongzhong.com/jsImg/btn_ghzq.jpg\" /></a></td>")
document.writeln("<td width=\"110\" align=\"center\"><a href=\"http://www.loong3d.com/jiazhang\" target=\"_blank\"><img src=\"http://resource.kongzhong.com/jsImg/btn_jzjk.jpg\" /></a></td>")
document.writeln("<td width=\"110\" align=\"center\"><a href=\"http://www.loong3d.com/business/index.html\" target=\"_blank\"><img src=\"http://resource.kongzhong.com/jsImg/btn_swhz.jpg\" /></a></td>")
document.writeln("</tr>")
document.writeln("</table>")
document.writeln("</div>")
document.writeln("<div class=\"games1\">")
document.writeln("<ul style=\"float:left\">")
document.writeln("<li onmouseover=\"tooltip.show(\'不删档测试开启\')\" onmouseout=\"tooltip.hide()\"><a href=\"http://wot.kongzhong.com\" target=\"_blank\"><span class=\"orange\">坦克世界</span></a></li>")
document.writeln("<li onmouseover=\"tooltip.show(\'不删档测试开启\')\" onmouseout=\"tooltip.hide()\"><a href=\"http://paperman.kongzhong.com\" target=\"_blank\"><span class=\"orange\">纸片人</span></a></li>")
document.writeln("</ul>")
document.writeln("<div class=\"lunbo\">")
document.writeln("<div id=\"div1\">")
document.writeln("<a href=\"http://hero.kongzhong.com/news/article/2012-02-02/news20120202185239.htm\" target=\"_blank\">《功夫英雄》2月12日不删档内测霸气登场</a>")
document.writeln("<a href=\"http://hero.kongzhong.com/news/article/2012-01-23/news20120123210216.htm\" target=\"_blank\">MLGB！首部网游情景喜剧“麻辣隔壁”第二集开播<a>")
document.writeln("</div>")
document.writeln("</div>")
document.writeln("</div>")
document.writeln("<div class=\"games2\">")
document.writeln("<ul>")
document.writeln("<li onmouseover=\"tooltip.show(\'2月12日不删档内测霸气登场\')\" onmouseout=\"tooltip.hide()\"><a href=\"http://hero.kongzhong.com\" target=\"_blank\"><span class=\"orange\">功夫英雄</span></a></li>")
document.writeln("<li onmouseover=\"tooltip.show(\'双旦嘉年华\')\" onmouseout=\"tooltip.hide()\"><a href=\"http://sm.kongzhong.com\" target=\"_blank\"><span class=\"orange\">圣魔之血</span></a></li>")
document.writeln("<li onmouseover=\"tooltip.show(\'圣诞新服龙门飞甲开放\')\" onmouseout=\"tooltip.hide()\"><a href=\"http://www.loong3d.com\" target=\"_blank\">龙</a></li>")
document.writeln("<li><a href=\"http://em.kongzhong.com\" target=\"_blank\">恶魔法则</a></li>")
document.writeln("<li><a href=\"http://www.wokchina.com\" target=\"_blank\">功夫世界</a></li>")
document.writeln("</ul>")       
document.writeln("</div>")
document.writeln("</div>")
document.writeln("</div>")
document.writeln("</div>")
var box1=document.getElementById("div1"),can=true;
box1.innerHTML+=box1.innerHTML;
box1.onmouseover=function(){can=false};
box1.onmouseout=function(){can=true};
new function (){
var stop=box1.scrollTop%20==0&&!can;
if(!stop)box1.scrollTop==parseInt(box1.scrollHeight/2)?box1.scrollTop=0:box1.scrollTop++;
setTimeout(arguments.callee,box1.scrollTop%20?20:1500);
};
var tooltip=function(){
	var id = 'tt';
	var top = -15;
	var left = 13;
	var maxw = 300;
	var speed = 50;
	var timer = 20;
	var endalpha = 95;
	var alpha = 0;
	var tt,t,c,b,h;
	var ie = document.all ? true : false;
	return{
		show:function(v,w){
			if(tt == null){
				tt = document.createElement('div');
				tt.setAttribute('id',id);
				t = document.createElement('div');
				t.setAttribute('id',id + 'top');
				c = document.createElement('div');
				c.setAttribute('id',id + 'cont');
				b = document.createElement('div');
				b.setAttribute('id',id + 'bot');
				tt.appendChild(t);
				tt.appendChild(c);
				tt.appendChild(b);
				document.body.appendChild(tt);
				tt.style.opacity = 0;
				tt.style.filter = 'alpha(opacity=0)';
				document.onmousemove = this.pos;
			}
			tt.style.display = 'block';
			c.innerHTML = v;
			tt.style.width = w ? w + 'px' : 'auto';
			if(!w && ie){
				t.style.display = 'none';
				b.style.display = 'none';
				tt.style.width = tt.offsetWidth;
				t.style.display = 'block';
				b.style.display = 'block';
			}
			if(tt.offsetWidth > maxw){tt.style.width = maxw + 'px'}
			h = parseInt(tt.offsetHeight) + top;
			clearInterval(tt.timer);
			tt.timer = setInterval(function(){tooltip.fade(1)},timer);
		},
		pos:function(e){
			var u = ie ? event.clientY + document.documentElement.scrollTop : e.pageY;
			var l = ie ? event.clientX + document.documentElement.scrollLeft : e.pageX;
			tt.style.top = (u - h) + 'px';
			tt.style.left = (l + left) + 'px';
		},
		fade:function(d){
			var a = alpha;
			if((a != endalpha && d == 1) || (a != 0 && d == -1)){
				var i = speed;
				if(endalpha - a < speed && d == 1){
					i = endalpha - a;
				}else if(alpha < speed && d == -1){
					i = a;
				}
				alpha = a + (i * d);
				tt.style.opacity = alpha * .01;
				tt.style.filter = 'alpha(opacity=' + alpha + ')';
			}else{
				clearInterval(tt.timer);
				if(d == -1){tt.style.display = 'none'}
			}
		},
		hide:function(){
			clearInterval(tt.timer);
			tt.timer = setInterval(function(){tooltip.fade(-1)},timer);
		}
	};
}();
