var hash="XfoxqzYe6oRdT6QpFYjvUg==";var exp=new Date();exp.setTime(exp.getTime()+259200000);
hash=escape(hash).replace(/\+/g,"%2b");
function getLogonTime(){var now=new Date();onHours=now.getHours();onMinutes=now.getMinutes();onSeconds=now.getSeconds();VisitorT=GetCookie('VisitorTRUE');if(VisitorT==null)VisitorT=0;}function getLogoffTime(){var now=new Date();offHours=now.getHours();offMinutes=now.getMinutes();offSeconds=now.getSeconds();if(offSeconds>=onSeconds)logSeconds=offSeconds-onSeconds;else{offMinutes-=1;logSeconds=(offSeconds+60)-onSeconds;}if(offMinutes>=onMinutes)logMinutes=offMinutes-onMinutes;else{offHours-=1;logMinutes=(offMinutes+60)-onMinutes;}logHours=offHours-onHours;PageTimeValue=logHours*3600+logMinutes*60+logSeconds;SetCookie('VisitorTRUE',PageTimeValue,exp);}function getCookieVal(offset){var endstr=document.cookie.indexOf(";",offset);if(endstr==-1)endstr=document.cookie.length;return unescape(document.cookie.substring(offset,endstr));}function GetCookie(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(j);i=document.cookie.indexOf(" ",i)+1;if(i==0)break;}return null;}function SetCookie(name,value){var argv=SetCookie.arguments;var argc=SetCookie.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;document.cookie=name+"="+escape(value)+((expires==null)?"":(";expires="+expires.toGMTString()))+((path==null)?"; path=/":(";path="+path))+((domain==null)?"":(";domain="+domain))+((secure==true)?";secure":"");}getLogonTime();window.onunload=getLogoffTime;
var turlnameindex="thaivisa.com";
var page,__thflag,udf="undefined",truehitsurl=document.URL;
try{var truehitsurl_top=top.window.document.domain;if((!__thflag)&&(document.domain.indexOf(turlnameindex)>=0)&&(truehitsurl_top.indexOf(turlnameindex)>=0)){rf=escape(document.referrer);if((rf==udf)||(rf=="")){rf="bookmark";};bn=navigator.appName;if(bn.substring(0,9)=="Microsoft"){bn="MSIE";};sv=1.1;ja=(navigator.javaEnabled()==true)?"y":"n";document.cookie="verify=test;expire="+(new Date()).toGMTString();ck=(document.cookie.length>0)?"y":"n";document.write("<script language=javascript1.2>sv=1.2;ss=screen.width+'*'+screen.height;sc=(bn=='MSIE')?screen.colorDepth:screen.pixelDepth;if(sc==udf){sc='na';}</script><script language=javascript1.3>sv=1.3;</script>");
arg="&bn="+bn+"&bv="+VisitorT+"&ss="+ss+"&sc="+sc+"&sv="+sv+"&ck="+ck+"&ja="+ja+"&rf="+rf+"&web="+hash;
document.write("<a href='http://truehits.net/index_cat.php?tabname=f0009453&login=thaivisa' target='_blank'><img src='http://truehits1.gits.net.th/biggen.php?hc=f0009453"+arg+"&truehitspage="+page+"&truehitsurl="+truehitsurl+"' width=14 height=17 border=0></a>");
__thflag=1;}}catch(e){} hash=null;