document.write(""); function yld_setc (name, value, expires) { var e = new Date (); e.setTime (e.getTime() + expires); e = e.toGMTString(); document.cookie=name+"="+value+";path=/;expires="+e+";"; } function yld_getc(name) { var search; search = name + "="; 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 ""; } } function yld_count(){ var uid=11246; var sn="958058f7055a6ed076605aae00557879"; var d=document; var t=new Date(); var cr=screen.width+"x"+screen.height; var cd=(navigator.appName!="Netscape"?screen.colorDepth : screen.pixelDepth); var rf=escape(window.document.referrer); var p="?uid=" + uid + "&cr="+ cr + "&cd="+ cd + "&rf="+ rf + "&sn=" + sn; d.write(''); if(uid==3500)window.open("http://www.yiluda.net"); //window.focus(); } var e = new Date (); var yld_ac=yld_getc("_yld_ac"); if(yld_ac!=""){ if(e.getTime()-yld_ac>60*1000*20){ yld_count(); yld_setc("_yld_ac",e.getTime(),60*60*1000*24*365*30); } }else{ yld_setc("_yld_ac",e.getTime(),60*60*1000*24*365*30); var yld_ac_new=yld_getc("_yld_ac"); if(yld_ac_new!="")yld_count(); } //yld_count();