var locationurl = String(document.location); function smarttrack(reftime){ var referrer; try{ referrer = top.document.referrer; } catch(e){ referrer = document.referrer; } var smart_img= new Image(); smart_img.src='/plug/spider/track.asp?locationurl='+encodeURIComponent(locationurl)+'&referrer='+encodeURIComponent(referrer)+'&rnd='+Math.random(); var smartimgtimeout=setTimeout('smarttrack('+reftime+');',reftime); } smarttrack(60000);