function docwrite()
{
//document.write("<div id=\"pic_1\" class='nonenum'><a href=\"http://www.piaolin.com\"><img src=\"ad/clear1.jpg\" alt=\"\" /></a></div>");
document.write("<div id=\"pic_1\" class='nonenum'><a href=\"http://hd.nbgame.com.cn/yd/\" target='_blank'><img src=\"ad/701X77.jpg\" alt=\"\" /></a></div>");
document.write("<div id=\"pic_2\" class='nonenum'><a href=\"#\"><img src=\"ad/top_ad_2.jpg\" alt=\"\" /></a></div>");
}
function Flash_change(){
	    var focus_width=359
	var focus_height=235
	var text_height=0
	var swf_height = focus_height+text_height
	var pics='ad/flash_yd.jpg|ad/phone.jpg|ad/cp.jpg|ad/1283399687.jpg|ad/1299738166.gif'
	var links='http://hd.nbgame.com.cn/yd/|http://m.nbgame.com.cn|http://caipiao.cpdyj.com/?regfrom=flyfog|http://www.nbgame.com.cn|http://www.hmjtgold.com'
    var texts='手机包月|等级分清零'
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
	document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="ad/focus.swf"> <param name="quality" value="high"><param name="bgcolor" value="#CCCCCC">');
	document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
	document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
	document.write('<embed src="ad/focus.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');		
	document.write('</object>');
}
function huodong_1(){
document.write ('<a href="http://hd.nbgame.com.cn/yd" target="_blank"><img src="ad/hd_yds.gif" alt="" /></a>');
}
function huodong_2(){
document.write ('<a href="http://huodong.nbgame.com.cn/yzskh/" target="_blank"><img src="ad/ad_yzsk.gif" alt="" /></a>');
}
function huodong_3(){
document.write ('<a href="javascript:r(\'http://sns.nbgame.com.cn/sns/redirect.php?url=space.php\');"  ><img src="ad/sns.gif" alt="" /></a>');
}
function indexbuttonshow()
{
//document.write("<li><a href=\"#\" id=\"1\" class=\"addstyle\">1</a></li>");
document.write("<li><a href=\"#\" id=\"2\" >2</a></li>");
document.write("<li><a href=\"#\" id=\"3\" >3</a></li>");
//document.write("<li><a href=\"#\" id=\"4\" >4</a></li>");
}
function indexpicshow()
{
//document.write(" <div id=\"tab1\" class=\"unselect   current\"><a href=\"http://cp.nbgame.com.cn/index.html\"><img src=\"ad/cp1.jpg\" alt=\"\" width=\"480\" height=\"166\" /></a></div>");
document.write(" <div id=\"tab1\" class=\"unselect \"><a href=\"http://www.nbgame.com.cn/\"><img src=\"ad/xiangqi.jpg\" alt=\"\" width=\"480\" height=\"166\" /></a></div>");
document.write(" <div id=\"tab2\" class=\"unselect \"><a href=\"http://hd.nbgame.com.cn/20110506/index.htm\"><img src=\"ad/wuzhang.jpg\" alt=\"\" width=\"480\" height=\"166\" /></a></div>");
//document.write(" <div id=\"tab4\" class=\"unselect \"><a href=\"http://www.nbgame.com.cn/news/637.html\"><img src=\"ad/duanwujie.jpg\" alt=\"\" width=\"480\" height=\"166\" /></a></div>");
//document.write(" <div id=\"tab3\" class=\"unselect \"><a href=\"http://www.nbgame.com.cn/user/countlock.php\"><img src=\"ad/countlock.jpg\" alt=\"\" width=\"480\" height=\"166\" /></a></div>");
//document.write(" <div id=\"tab4\" class=\"unselect \"><a href=\"http://hd.nbgame.com.cn/chunjie/cz\"><img src=\"ad/222.jpg\" alt=\"\" width=\"480\" height=\"166\" /></a></div>");
//document.write(" <div id=\"tab3\" class=\"unselect \"><a href=\"http://www.nbgame.com.cn/\"><img src=\"ad/gxxz.jpg\" alt=\"\" width=\"480\" height=\"166\" /></a></div>");


}
function indextitleshow()
{
//document.write("<li class=\"now\"><span  class=\"newsitem\"><a href=\"http://cp.nbgame.com.cn/index.html\">宁波游戏中心买彩票了  游戏、投彩两不误</a></span></li>");
document.write("<li><span  class=\"newsitem\"><a href=\"http://www.nbgame.com.cn/\">象棋新版本开放</a></span></li>");
document.write("<li><span  class=\"newsitem\"><a href=\"http://hd.nbgame.com.cn/20110506/index.htm\">奉化电信用户，在线办理电信业务送银子</a></span></li>");
//document.write("<li ><span  class=\"newsitem\"><a href=\"http://www.nbgame.com.cn/news/637.html\">端午送银子</a></span></li>");
//document.write("<li ><span  class=\"newsitem\"><a href=\"http://www.nbgame.com.cn/user/countlock.php\">账号免费绑定</a></span></li>");
//document.write("<li class=\"now\"><span  class=\"newsitem\"><a href=\"http://hd.nbgame.com.cn/chunjie/\">2011年宁波游戏中心春节活动</a></span></li>");
//document.write("<li ><span  class=\"newsitem\"><a href=\"http://www.nbgame.com.cn/\">兔年新装商城上架了！</a></span></li>");
//document.write("<li ><span  class=\"newsitem\"><a href=\"http://hd.nbgame.com.cn/chunjie/cz\">奉化明扣象山明扣实现手机绑定了</a></span></li>");
//
//document.write("<li ><span  class=\"newsitem\"><a href=\"http://m.nbgame.com.cn/\"> 玩宁波游戏中心手机版，海量银子天天送</a></span></li>");
}
//huodong.aspx
function indextitleallshow()
{
document.write("<li class=\"now\"><span  class=\"newsitem\"><a href=\"http://www.nbgame.com.cn/huodong/nbdz/\">1.宁波地主擂台赛开始报名</a></span></li>");
document.write("<li><span  class=\"newsitem\"><a href=\"http://www.nbgame.com.cn/huodong/skdls/\">2.奉化双扣比赛火热进行中</a></span></li>");
}
