

var games_json = {
	"au":{"name":"劲舞团","id":"25","img":"images/menu_ico01_1.jpg","url":"http://au.9you.com/","info1":"官方网站","info2":"服务专区"},
	"sdo":{"name":"超级舞者","id":"26","img":"images/menu_ico01_3.jpg","url":"http://sdo.9you.com/","info1":"官方网站","info2":"服务专区"},
	"baf":{"name":"超级乐者","id":"28","img":"images/menu_ico01_2.jpg","url":"http://baf.9you.com/","info1":"官方网站","info2":"服务专区"},
//	"soccer":{"name":"劲爆足球","id":"29","img":"images/menu_ico03_1.jpg","url":"http://soccer.9you.com/","info1":"官方网站","info2":"服务专区"},
	"rich":{"name":"大富翁","id":"57","img":"images/menu_ico04_1.jpg","url":"http://rich.9you.com/","info1":"官方网站","info2":"服务专区"},
	"fj":{"name":"风火","id":"39","img":"images/menu_ico05_1.jpg","url":"http://fj.9you.com/","info1":"官方网站","info2":"服务专区"},
	//"mj":{"name":"猛将","id":"30","img":"images/menu_ico05_2.jpg","url":"http://mj.9you.com/","info1":"官方网站","info2":"服务专区"},
	//"show9":{"name":"劲秀团","id":"61","img":"images/menu_9show.jpg","url":"http://9show.9you.com/","info1":"官方网站","info2":"服务专区"},
//	"cs":{"name":"疯狂飙车","id":"37","img":"images/menu_ico02_3.jpg","url":"http://cs.9you.com/","info1":"官方网站","info2":"服务专区"},
	"rc":{"name":"光线飞车","id":"36","img":"images/menu_ico02_2.jpg","url":"http://rc.9you.com/","info1":"官方网站","info2":"服务专区"},
	"mf":{"name":"宠物森林","id":"60","img":"images/mf_logo.jpg","url":"http://mf.9you.com/","info1":"官方网站","info2":"服务专区"},
//	"zb":{"name":"领土争霸","id":"67","img":"images/game/zb_logo.jpg","url":"http://zb.9you.com/","info1":"官方网站","info2":"服务专区"},
	"pm":{"name":"乱世英雄","id":"68","img":"images/game/pm_logo.jpg","url":"http://pm.9you.com/","info1":"官方网站","info2":"服务专区"},
	"lq":{"name":"劲爆篮球","id":"69","img":"images/game/lq_logo.jpg","url":"http://lq.9you.com/","info1":"官方网站","info2":"服务专区"},
	"xj":{"name":"仙剑OL","id":"70","img":"images/game/xj_logo.jpg","url":"http://xj.9you.com/","info1":"官方网站","info2":"服务专区"},
	"auhj":{"name":"劲舞团怀旧版","id":"71","img":"images/game/auhj_logo.jpg","url":"http://auhj.9you.com/","info1":"官方网站","info2":"服务专区"},
	"gd":{"name":"SD敢达","id":"65","img":"images/sd_logo.jpg","url":"http://gd.9you.com/","info1":"官方网站","info2":"服务专区"},
	"au2":{"name":"GT劲舞团2","id":"78","img":"images/gtau2_logo.jpg","url":"http://jw2.9you.com/","info1":"官方网站","info2":"服务专区"},
	"dh":{"name":"勇士OL","id":"79","img":"images/dh_logo.jpg","url":"http://dh.9you.com/","info1":"官方网站","info2":"服务专区"},
	
	"cg2":{"name":"魔力宝贝2","id":"66","img":"images/cg2_logo.jpg","url":"http://cg2.9you.com/","info1":"官方网站","info2":"服务专区"}
	
	
	}
	//显示修改下面，直接把单引号放入DW就可以查看了
//document.write(' <table width="982" height="154" border="0" cellpadding="0" cellspacing="0" background="images/top_080522.jpg">   <tr>   <td valign="bottom"><table width="920" border="0" align="center" cellpadding="0" cellspacing="0">  <tr>  <td width="180" height="70" align="left"><table width="174" border="0" cellspacing="0" cellpadding="0">  <tr>  <td height="32">       '+    show('au') +    '    </td>      <td>       '+    show('au2') +    '    </td>   </tr>  <tr>  <td height="32">       '+    show('sdo') +    '    </td>     <td>'+    show('baf') +    '</td>   </tr>  </table></td>  <td width="180" align="left"><table width="174" border="0" cellspacing="0" cellpadding="0">  <tr>  <td width="87" height="32">       '+    show('rc') +    '    </td>     <td width="87">'+    show('gd') +    ' </td>   </tr>  <tr>  <td height="32">'+    show('cg2') +    '</td>  <td width="87">'+    show('xj') +    ' </td>  </tr>  </table></td>  <td width="120" align="left">&nbsp;</td>  <td width="120" align="left"><table width="87" border="0" cellspacing="0" cellpadding="0">  <tr>  <td height="32">          </td>  </tr>  <tr>  <td height="32">'+    show('lq') +    ' </td>  </tr>  </table></td>  <td align="left"><table width="174" border="0" cellspacing="0" cellpadding="0">  <tr>  <td width="90" height="32">       '+    show('rich') +    '    </td>    <td>&nbsp;</td>  </tr>  <tr>  <td width="90" height="32">'+    show('pm') +    ' </td>  <td></td>  </tr>  </table></td>  </tr>   </table>  <table width="920" border="0" align="center" cellpadding="0" cellspacing="0">  <tr>  <td width="346" height="52" align="left"><table width="174%" border="0" cellspacing="0" cellpadding="0">  <tr>  <td width="87" height="32">       '+    show('fj') +    '    </td>    <td width="87">'+    show('mf') +    '</td>    <td width="87"></td>  <td>&nbsp;</td>  </tr>  </table></td>  <td width="166" align="left">&nbsp;</td>  <td align="left"><table width="174%" border="0" cellspacing="0" cellpadding="0">  <tr>    <td width="87" height="32"> '+    show('auhj') +    ' </td>    <td>&nbsp;</td>  </tr></table></td>  </tr>  </table></td>   </tr>   </table>')
document.write(' <table width="982" border="0" cellspacing="0" cellpadding="0">    <tr>      <td width="982" height="154" align="center" valign="bottom" background="images/top_090427.jpg"><table width="910" border="0" cellspacing="0" cellpadding="0">        <tr>          <td width="210" height="120" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">            <tr>              <td width="50%" height="38" valign="top">'+    show('au') +    ' </td>              <td width="50%" valign="top">'+    show('au2') +    ' </td>            </tr>            <tr>              <td height="38" valign="top">'+    show('baf') +    ' </td>              <td valign="top">'+    show('sdo') +    ' </td>            </tr>            <tr>              <td height="38" valign="top">'+    show('auhj') +    ' </td>              <td valign="top">&nbsp;</td>            </tr>          </table></td>          <td width="212" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">            <tr>              <td width="50%" height="38" valign="top">'+    show('xj') +    ' </td>              <td width="50%" valign="top">'+    show('fj') +    ' </td>            </tr>            <tr>              <td height="38" valign="top">'+    show('cg2') +    ' </td>              <td valign="top">'+    show('mf') +    ' </td>            </tr>            <tr>              <td height="38" valign="top">'+    show('dh') +    '</td>              <td valign="top">&nbsp;</td>            </tr>          </table></td>          <td width="120" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">            <tr>              <td width="50%" height="38" valign="top">'+    show('lq') +    ' </td>              </tr>            <tr>              <td height="38" valign="top">&nbsp;</td>              </tr>            <tr>              <td height="38" valign="top">&nbsp;</td>              </tr>          </table></td>          <td width="120" align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">            <tr>              <td width="50%" height="38" valign="top">'+    show('rich') +    ' </td>            </tr>            <tr>              <td height="38" valign="top">'+    show('gd') +    ' </td>            </tr>            <tr>              <td height="38" valign="top">&nbsp;</td>            </tr>          </table></td>          <td align="left" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">            <tr>              <td width="50%" height="38" valign="top">'+    show('rc') +    ' </td>            </tr>            <tr>              <td height="38" valign="top">&nbsp;</td>            </tr>            <tr>              <td height="38" valign="top">&nbsp;</td>            </tr>          </table></td>        </tr>      </table></td>    </tr>  </table>');


function show(game) {
	return '<a href="'+eval("games_json."+game).url+'" target="_blank"><img src="'+eval("games_json."+game).img+'" onMouseOver="MM_showHideLayers(\'Layer'+game+'\',\'\',\'show\',this)" onMouseOut="MM_showHideLayers(\'Layer'+game+'\',\'\',\'hide\',this)" border="0">';
}

function creat_div2(divname){
	document.write("<div id=\"layer"+divname+"\" style=\"position:absolute; width:70px; height:78px; z-index:7; visibility: hidden;\"onMouseMove=\"MM_showHideLayers('layer"+divname+"','','show',this)\" onMouseOut=\"MM_showHideLayers('layer"+divname+"','','hide',this)\"> ");
	document.write("<table width=\"100%\"  border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#FF7200\">");
	
		document.write("<tr>");
		document.write("<td height=\"22\" bgcolor=\"#FFFFFF\" class=\"hei\"> 　<a href=\""+eval("games_json."+divname).url+"\" target=\"_blank\">"+eval("games_json."+divname).info1+"</a></td>");
		document.write("</tr>");

document.write("<tr>");
		document.write("<td height=\"22\" bgcolor=\"#FFFFFF\" class=\"hei\"> 　<a href=\"/game_main.php?gameid="+eval("games_json."+divname).id+"\" target=\"_blank\">"+eval("games_json."+divname).info2+"</a></td>");
		document.write("</tr>");

	document.write("</table>");
	document.write("</div>");
}

for(var m in games_json) {	
	creat_div2(m);
}