﻿document.write('<style>');
document.write('.f_l{float:left;}');
document.write('.f_r{float:right;}');
document.write('*{margin:0;padding:0}');
document.write('html{border:0;}');
document.write('.new_small_w{width:980px;margin:0 auto;}');
document.write('.dn{display:none;}');
document.write('ul{list-style:none;}');
document.write('a img{border:0;}');
document.write('#new_small_top{ background:url(http://res.files.131.com/images/new_top_small/bj.gif); height:30px; border-bottom:1px solid #fff;border-top:1px solid #333; width:100%;}');
document.write('#new_s_left,#new_s_logo{ float:left;}');
document.write('#new_s_nav{ margin:0 0 0 10px;}');
document.write('#new_s_logo a{ display:block; width:102px; height:30px; background:url(http://res.files.131.com/images/new_top_small/small_logo.gif) 0 1px no-repeat;}');
document.write('#new_s_nav,#new_s_nav li,#new_s_right li{ float:left;}');
document.write('#new_s_nav li{line-height:30px; padding:0 5px;}');
document.write('#new_small_top a{ color:#000; text-decoration:none;}#new_small_top a:hover{color:#f60;text-decoration:underline;}');
document.write('#new_s_right{ float:right; margin:1px 10px 0 0;}');
document.write('#new_s_right li a{background:url(http://res.files.131.com/images/new_top_small/btn.gif) no-repeat; display:block; width:55px; height:24px; padding:0 0 0 30px; line-height:24px; margin:2px 5px;}');
document.write('#new_s_right #n_s_login a{width:50px;}');
document.write('#new_s_right #n_s_reg a{ background-position:-88px 0;}');
document.write('#n_s_in{ float:right; padding:8px 10px 0 0;}');
document.write('#n_s_in a{ padding:0 8px; text-decoration:underline;}');
document.write('</style>');
document.write('<div id="new_small_top">');
document.write('<div class="new_small_w">');
document.write('<div id="new_s_left">');
document.write('<div id="new_s_logo"><a href="http://www.131.com" target="_blank"></a></div>');
document.write('<div id="new_s_nav">');
document.write('<ul>');
document.write('<li><a href="http://www.131.com" target="_blank">网站首页</a></li>');
document.write('<li><a href="http://newgame.131.com/" target="_blank">新游戏</a></li>');
document.write('<li><a href="http://pc.131.com/" target="_blank">单机</a></li>');
document.write('<li><a href="http://web.131.com/" target="_blank">网页</a></li>');
document.write('<li><a href="http://tv.131.com/" target="_blank">电视</a></li>');
document.write('<li><a href="http://ceo.131.com/" target="_blank">业界</a></li>');
document.write('<li><a href="http://zhao.131.com" target="_blank">找游戏</a></li>');
document.write('<li><a href="http://download.131.com/" target="_blank">下载</a></li>');
///document.write('<li><a href="http://comic.131.com/" target="_blank">漫画</a></li>');
document.write('<li><a href="http://act.131.com/" target="_blank">活动</a></li>');
document.write('<li><a href="http://play.131.com/" target="_blank">小游戏</a></li>');
document.write('<li><a href="http://bbs.131.com/" target="_blank">论坛</a></li>');
document.write('</ul>');
document.write('</div>');
document.write('</div>');
document.write('<div id="new_s_right">');
document.write('<ul>');
document.write('<li id="n_s_login"><a href="javascript:PassPort.Login()">登&nbsp;&nbsp;&nbsp;录</a></li>');
document.write('<li id="n_s_reg"><a href="javascript:PassPort.Register();">用户注册</a></li>');
document.write('</ul>');
document.write('</div>');
document.write('<div id="n_s_in" class="dn" style="color:#000000">cofe241860900<a href="#">退出登录</a></div>');
document.write('</div>');
document.write('</div>');
document.write('<div style="height:65px; width:100%; margin-left:auto; margin-right:auto; text-align:center;"> ');
document.write('<iframe id="aabec2c5" name="aabec2c5" src="http://click1.game.131.com/www/delivery/afr.php?zoneid=7" framespacing="0" frameborder="no" scrolling="no" width="980" height="60"></iframe> ');
document.write('</div> ');
PassPort.LoginUrl='/APP/Login.Aspx';
PassPort.LoginOutUrl = '/APP/LoginOut.Aspx';
PassPort.inint();

function showmember() {
	if (PassPort.Ready) {
		if (PassPort.IsLogin) {
			document.getElementById('n_s_in').innerHTML = PassPort.UserName + '  |  <a href="http://udb.131.com" >会员中心</a> |  <a href="javascript:PassPort.LoginOut();">退出</a>';
			document.getElementById('n_s_in').className = '';
			document.getElementById('n_s_login').className = 'dn';
		}
		else {
			document.getElementById('n_s_login').className = '';
			document.getElementById('n_s_in').className = 'dn';
		}
	}
	else {
		setTimeout('showmember()',200);
	}
}
setTimeout('showmember()',200);
PassPort.AddLoginDelegate('showmember()');