function FlashgetDown(str,uid){
	str = str+"&1199955888";
	AddLink(str,"www.kuaiche.com",window.location.href,uid);
}

function checkOS(){
	var agt=navigator.userAgent.toLowerCase();
	if(agt.indexOf("windows nt 5.1")!=-1)
			return true;
	else
			return false;
}

function AddLink(durl,text,qurl,uid){ 
	var JetCarCatch;
	try{
		JetCarCatch=new ActiveXObject("FG2CatchUrl.Netscape");
	}catch(e){
		try{
			JetCarCatch=new ActiveXObject("JetCar.Netscape");
		}catch(e){}
	}

	if(JetCarCatch){
		try{
				JetCarCatch.IsVersion2(); JetCarCatch.AddUrl(durl,text,qurl);
			}catch(e){
				kuaicheMsg(uid);
			}
	}else{
		kuaicheMsg(uid);
    }
}





function in_array(uid) {
var u =  new Array(7484,8344,6703);
  for (var i = 0; i <u.length; i++) {
	  thisEntry = u[i].toString();
	  if (thisEntry == uid) {
		  return false;
	  }
  }
  return true;
}


function kuaicheMsg(uid){	
alert("\u672c\u94fe\u63a5\u4e3a\u5feb\u8f66\u9ad8\u901f\u4e0b\u8f7d\u94fe\u63a5\uff0c\u9700\u5b89\u88c5\u65b0\u7248\u5feb\u8f66\uff08\u0046\u006c\u0061\u0073\u0068\u0067\u0065\u0074\uff09\u4ee5\u63d0\u9ad8\u4e0b\u8f7d\u901f\u5ea6\n\u0020\u0020\u0020\u0020\u0020\u70b9\u51fb\u786e\u5b9a\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\uff0c\u5373\u53ef\u63d0\u5347\u591a\u500d\u4e0b\u8f7d\u901f\u5ea6\uff0c\u4eab\u53d7\u6781\u901f\u4e0b\u8f7d");

		if(checkOS()&&in_array(uid))
		location.href="http://down6.flashget.com/unxp/flashget_"+uid+"_1.exe";
		else
		location.href="http://down6.flashget.com/un/flashget_"+uid+"_1.exe";
}


var fg_uid =5769;var fg_dTime =1199955888;var expireDate = new Date();
    var hours = expireDate.getHours();
    var minutes = expireDate.getMinutes();
    var seconds = expireDate.getSeconds();
    var now = expireDate.getTime();
function getCookieVal_w08 (offset)
  {
  var endstr = document.cookie.indexOf (";", offset);
  if (endstr == -1)
    endstr = document.cookie.length;
  return unescape(document.cookie.substring(offset, endstr));
  }
 function GetCookie_w08 (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 getCookieVal_w08 (j);
    i = document.cookie.indexOf(" ", i) + 1;
    if (i == 0) break;
  }
  return null;
  }

var agt=navigator.userAgent.toLowerCase();
data = '&agt=' + escape(agt) + '&r=' + escape(document.referrer) +  '&aN=' + escape(navigator.appName) + '&lg=' + escape(navigator.systemLanguage) + '&OS=' + escape(navigator.platform) + '&aV=' + escape(navigator.appVersion) + '&ntime=0.60745700 1199955888';
a=GetCookie_w08("w0802");
if (a != null)
{
	a=parseInt(a);
	a=a+1;
}
else	
	a=0;
data=data + '&repeatip_99=' + a;

rtime=GetCookie_w08("rtime");
ltime=GetCookie_w08("ltime");
w08_eid=GetCookie_w08("w08_eid");
if (w08_eid == null)
{
	w08_eid=Math.floor(Math.random()*100000000) + "-" + document.referrer;
}
if (ltime<1000000)
{
rtime=0;
ltime=0;
}
else rtime=parseInt(rtime);
if (rtime<1) rtime=0;
ltime=parseInt(ltime);
now=parseInt(now);
if (((now-ltime)>43200*1000) && (ltime>0))
        rtime =rtime + 1 ;
data=data + '&rtime='+ rtime + '&w08_eid=' + escape(w08_eid);
data=data + '&showp=' + escape(screen.width+ 'x'+screen.height) ;
document.write('<div style="display:none"><img border=0  hspace=0 vspace=0   src="http://counts.flashget.com/link/count.htm?id='+ data +'" height=0 width=0 /></div>');
var lefttime = 1000 * ( 86400 - hours*3600 - minutes*60 - seconds);
expireDate.setTime (expireDate.getTime() + 500*86400);
document.cookie = "w0802=" + a + "; expires=" + expireDate.toGMTString() +  "; path=/";
var lefttime=1000*86400*182;
expireDate.setTime (now + lefttime);
document.cookie = "rtime=" + rtime + "; expires=" + expireDate.toGMTString() +  "; path=/";
document.cookie = "ltime=" + now + "; expires=" + expireDate.toGMTString() +  "; path=/";
document.cookie = "w08_eid=" + escape(w08_eid) + "; expires=" + expireDate.toGMTString() +  "; path=/";
