﻿self.onError=null;

function stoperror(){return true;};
window.onerror=stoperror;


selectbgColor=getCookie("selectbgColor");
selectAColor(selectbgColor);
function setCookie(name, value, expire){var expDate=new Date();if(expire){expDate.setTime(expDate.getTime()+expire);document.cookie = name + "=" + escape(value)+ "; expires=" + expDate.toGMTString();}else{document.cookie = name + "=" + escape(value);}}
function getCookie(Name){var search=Name+"=";if(document.cookie.length > 0){offset=document.cookie.indexOf(search);if(offset != -1){offset+=search.length;end=document.cookie.indexOf(";", offset);if(end == -1)end=document.cookie.length;return unescape(document.cookie.substring(offset, end));}else  return "";}else return "";}
function selectAColor(changeToimg)
{
	switch(changeToimg)
	{
		case "0":document.body.background="/images/bg_0.gif";break;
		case "1":document.body.background="/images/bg_1.gif";break;
		case "2":document.body.background="/images/bg_2.gif";break;
		case "3":document.body.background="/images/bg_3.gif";break;
		case "4":document.body.background="/images/bg_4.gif";break;
		case "5":document.body.background="/images/bg_5.gif";break;
		default :document.body.background="/images/bg_0.gif";changeToimg=0;
	}
	window.setTimeout("setCookie(\"selectbgColor\","+Math.round(changeToimg)+","+1000*60*60*24*7+")",500);
}




function AddFavorites(){window.external.addFavorite('http://www.zQzz.com/','◎知足比分');}



function ChangePageLang(n)
{
	var OldDay="";
	var nUrl="";
	var mUrl=location.href;
	if(mUrl.indexOf("LANG=") != -1)
	{
		OldDay=mUrl.substring(mUrl.indexOf("LANG="),mUrl.indexOf("LANG=")+6);nUrl=mUrl.replace(OldDay,"LANG="+n);
	}else if(mUrl.indexOf("?") != -1){
		nUrl=mUrl+"&LANG="+n;
	}else{
		nUrl=mUrl+"?LANG="+n;
	}
	location.href=nUrl;
}

var t_PageUrl=location.href;
if(t_PageUrl.indexOf("?") != -1){t_PageUrl=t_PageUrl.substring(0,t_PageUrl.indexOf("?"));}
document.write ('<scr'+'ipt language="JavaScript" src="/js/displaykey.js"></scr'+'ipt>');

document.write('<table width="768" height="63" cellpadding=0 cellspacing=0 border=0 borderColor=black style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px;" borderColor="#C0C0C0" background="/images/topbg.gif">');
document.write('<tr>');
document.write('<td width=230><img src="/images/logo.gif" border=0></td>');
document.write('<td>');
document.write('<table cellpadding=0 cellspacing=0 border=0 style="border-collapse:collapse;font-size:12px" width="100%" class=drop2>');
document.write('<tr><td><img height=8 width=0 border=0></td></tr>');
document.write('<tr><td>');
document.write('<a href="/" class=info_b target=_blank>站点首页</a> | ');
document.write('<a href="http://sport.zqzz.com" class=info_b target=_blank>资讯首页</a> | ');
document.write('<a href="http://sport.zqzz.com/?ClassID=1" class=info_b target=_blank>足球热讯</a> | ');
document.write('<a href="http://sport.zqzz.com/?ClassID=6" class=info_b target=_blank>篮球热讯</a> | ')
document.write('<a href="http://sport.zqzz.com/?ClassID=10" class=info_b target=_blank>网球热讯</a> | ');
document.write('<a href="http://sport.zqzz.com/?ClassID=4" class=info_b target=_blank>花絮热讯</a> | ');
document.write('<a href="http://sport.zqzz.com/?ClassID=3" class=info_b target=_blank>赛事前瞻</a> | ');
//document.write('<a href="http://sport.zqzz.com/?ClassID=5" class=info_b target=_blank>波友解盘</a>');
document.write('</td></tr>');
document.write('<tr><td><hr noshade style="border: 1px dotted #888888" size="1" align="left" width="98%"></td></tr>');
document.write('<tr><td>');
document.write('<a href="http://sport.zqzz.com/?ClassID=13" class=info_b target=_blank>彩票知识</a> | ');
document.write('<a href="http://sport.zqzz.com/?ClassID=15" class=info_b target=_blank>政策法规</a> | ');
document.write('<a href="http://sport.zqzz.com/?ClassID=16" class=info_b target=_blank>玩法介绍</a> | ');
document.write('<a href="http://sport.zqzz.com/?ClassID=9" class=info_b target=_blank>各地彩票</a> | ');
document.write('<a href="http://sport.zqzz.com/?ClassID=7" class=info_b target=_blank>足彩资讯</a> | ');
document.write('<a href="http://sport.zqzz.com/?ClassID=11" class=info_b target=_blank>足彩分析</a> | ');
document.write('<a href="http://sport.zqzz.com/?ClassID=9" class=info_b target=_blank>篮彩资讯</a> | ');
//document.write('<a href="http://sport.zqzz.com/?ClassID=2" class=info_b target=_blank>指数资讯</a>');
document.write('</td></tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('</table>');

document.write('<table border="0" cellspacing="0" cellpadding="0"><tr><td><img border="0" src="/images/tow.gif" usemap="#Map0"></td></tr></table>');

document.write('<map name="Map0">');
document.write('<area href="http://sport.zqzz.com" shape="rect" coords="2,1,58,25" title="体育资讯">');
document.write('<area href="/live.htm" shape="rect" coords="66,1,122,25" title="足球比分">');
document.write('<area href="/basket/live/" shape="rect" coords="128,1,184,25" title="篮球比分">');
document.write('<area href="/tennis/" shape="rect" coords="191,1,247,25" title="网球比分">');
//document.write('<area href="/sms.htm" shape="rect" coords="254,1,310,25" title="短信频道">');
document.write('<area href="http://www.ballvod.com/" shape="rect" coords="316,1,372,25" target="_blank" title="宽频直播">');
//document.write('<area href="/odds/om/" shape="rect" coords="379,1,435,25" target="_blank" title="指数参考">');
document.write('<area href="http://buy.betzc.com/cooperate/zqzz/index.htm" shape="rect" coords="442,1,498,25" target="_blank" title="彩票合买">');
//document.write('<area href="http://xs.zqzz.com/" shape="rect" coords="504,1,560,25" target="_blank" title="*心水吧*">');
document.write('<area href="javascript:ChangePageLang(0)" shape="rect" coords="653,1,693,25" title="繁体版">');
document.write('<area href="javascript:ChangePageLang(1)" shape="rect" coords="693,1,733,25" title="简体版">');
document.write('<area href="javascript:ChangePageLang(2)" shape="rect" coords="733,1,767,25" title="English Version">');
document.write('</map>');

//document.write("<table width=768 height=60 cellpadding=0 cellspacing=0 border=0 borderColor=black style='border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px;' borderColor=#C0C0C0 background='/images/topbg.gif'><tr><td style='padding:1px' align=center><img src='/swf/2008year.gif' border=0></table>");

/*
//贺年--start--
document.write('<table border="0" width="768" cellspacing="0" cellpadding="0" style="border-collapse:collapse;" bordercolor=#000000><tr><td id="NEWYEAR2006">');

document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" odebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH=768 HEIGHT=300><PARAM NAME=movie VALUE="/swf/newsyear.swf"><param name="Menu" value="false"><param name="quality" value="High"><param name="scale" value="ExactFit"><EMBED src="/swf/newsyear.swf" quality=High TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" width=768 height=300 menu="false" wmode="transparent" scale="ExactFit"></EMBED></OBJECT></td>');

document.write('</td></tr></table>');



function CloseNewYearShow(){document.getElementById("NEWYEAR2006").style.display="none";}
window.setTimeout("CloseNewYearShow()",23000);
//贺年--end--
*/
document.write('<table border="0" width="768" bordercolor="#000000" cellspacing="0" cellpadding="1" style="border-left-style:solid; border-left-width:1px; border-right-style:solid; border-right-width:1px; border-top-width:1px; border-bottom-width:1px; border-collapse:collapse" bgcolor="#FFFFFF">');
document.write('<tr><td colspan=3 background="../images/di.gif"><img height=1 width=0></td></tr>');
document.write('<tr>');
document.write('<td width="33%">');
document.write('<table width="100%" style="border-collapse:collapse;text-align:center;line-height:23px" cellspacing="1" cellpadding="0" border="1" borderColor=#666666 bgColor=#EEEEEE>');
document.write('<tr height=23><td colspan=4 style="background-color:#666666;color:#EEEE00" align=left>&nbsp;>>> 足球频道</td></tr>');
document.write('<tr>');
document.write('<td width="25%"><a href="/live.htm" target=_blank class=info_b>即时比分</a></td>');
document.write('<td width="25%"><a href="/fixture.htm" target=_blank class=info_b>赛程安排</a></td>');
document.write('<td width="25%"><a href="/last.html" target=_blank class=info_b>完场比分</a></td>');
document.write('<td width="25%"><a href="/database.htm" target=_blank class=info_b>足球资料</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td><a href="http://sport.zqzz.com/?ClassID=1" target=_blank class=info_b>足球热讯</a></td>');
document.write('<td><a href="http://sport.zqzz.com/?ClassID=3" target=_blank class=info_b>赛事前瞻</a></td>');
document.write('<td><a href="http://sport.zqzz.com/?ClassID=4" target=_blank class=info_b>花絮热讯</a></td>');
document.write('<td><a href="http://sport.zqzz.com/?ClassID=2" target=_blank class=info_b>球迷分析</a></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('<td width="33%">');
document.write('<table width="100%" style="border-collapse:collapse;text-align:center;line-height:23px" cellspacing="1" cellpadding="0" border="1" borderColor=#666666 bgColor=#EEEEEE>');
document.write('<tr height=23><td colspan=4 style="background-color:#666666;color:#EEEE00" align=left>&nbsp;>>> 篮球频道</td></tr>');
document.write('<tr>');
document.write('<td width="25%"><a href="/basket/live/" target=_blank class=info_b>即时比分</a></td>');
document.write('<td width="25%"><a href="/basket/last/fixture.htm" target=_blank class=info_b>赛程安排</a></td>');
document.write('<td width="25%"><a href="/basket/last/index.htm" target=_blank class=info_b>完场比分</a></td>');
document.write('<td width="25%"><a href="/basket/nbateam/team.html" target=_blank class=info_b>篮球资料</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td><a href="/basket/nbaplayer/A.html" target=_blank class=info_b>球员资料</a></td>');
document.write('<td><a href="http://sport.zqzz.com/?ClassID=6" target=_blank class=info_b>篮球热讯</a></td>');
document.write('<td><a href="http://sport.zqzz.com/?ClassID=4" target=_blank class=info_b>花絮热讯</a></td>');
document.write('<td><a href="http://sport.zqzz.com/?ClassID=9" target=_blank class=info_b>篮彩热讯</a></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('<td width="33%">');
document.write('<table width="100%" style="border-collapse:collapse;text-align:center;line-height:23px" cellspacing="1" cellpadding="0" border="1" borderColor=#666666 bgColor=#EEEEEE>');
document.write('<tr height=23><td colspan=4 style="background-color:#666666;color:#EEEE00" align=left>&nbsp;>>> 网球频道</td></tr>');
document.write('<tr>');
document.write('<td width="25%"><a href="/tennis/index.htm" target=_blank class=info_b>即时比分</td>');
document.write('<td width="25%"></td>');
document.write('<td width="25%"><a href="/tennis/result.htm" target=_blank class=info_b>完场比分</a></td>');
document.write('<td width="25%"><a href="/tennis/player/_ranking.html" target=_blank class=info_b>网球资料</a></td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td><a href="/tennis/player/A.html" target=_blank class=info_b>球员资料</a></td>');
document.write('<td><a href="http://sport.zqzz.com/?ClassID=6" target=_blank class=info_b>网球热讯</a></td>');
document.write('<td></td>');
document.write('<td></td>');
document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('<tr><td colspan=3 background="../images/di.gif"><img height=1 width=0></td></tr>');
document.write('</table>');


if(location.href.indexOf("last.htm") != -1 || location.href.indexOf("fixture.htm") != -1 || location.href.indexOf("/match_info/") != -1 || location.href.indexOf("database.htm") != -1)
{
	document.write('<table border="0" width="768" cellspacing="0" cellpadding="0" borderColor="black" bgColor="#EEECCC" style="border-collapse:collapse;border-style:solid;border-width:0px 1px 0px 1px;">');
	document.write('<tr><td align=center>');
	//document.write("<object classid='clsid:D27CDB6E-AE6D-11CF-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0' border='0' width='768' height='60'><param name='movie' value='http://live.zqzz.com/logolink/480/kk2828.swf'><param name='quality' value='High'><embed src='http://live.zqzz.com/logolink/480/kk2828.swf' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'  width='768' height='60'></object>");
	//document.write('<a href="http://www.78lt.com/" target=_blank><img src="/logolink/138/78lt300.gif" border=0>');
	document.write('</td></tr></table>');
}else{
	//document.write('<table border="0" width="768" cellspacing="0" cellpadding="0" borderColor="black" bgColor="#EEECCC" style="border-collapse:collapse;border-style:solid;border-width:0px 1px 0px 1px;">');
	//document.write('<tr><td align=center>');
	//document.write('<a href="http://www.78lt.com/" target=_blank><img src="/logolink/480/78lt760.gif" border=0>');
	//document.write('</td></tr></table>');

}
