var FoldSpy=new Object();FoldSpy.isPro=0;FoldSpy.send=function(){var fullLoc=window.location.toString();if(FoldSpy.isPro==1){var path='http://hi.foldspy.com/pro.php?t='+(new Date()).getTime();}
else{var path='http://hi.foldspy.com/free.php?t='+(new Date()).getTime();}
var width=-1;var height=-1;if(typeof window.innerWidth!="undefined"){width=window.innerWidth;height=window.innerHeight;}
else if(document.documentElement&&typeof document.documentElement.offsetWidth!="undefined"&&document.documentElement.offsetWidth!=0){width=document.documentElement.offsetWidth;height=document.documentElement.offsetHeight;}
else if(document.body&&typeof document.body.offsetWidth!="undefined"){width=document.body.offsetWidth;height=document.body.offsetHeight;}
var randomnumber=Math.floor(Math.random()*4)
if(window.location.hash.length>=1){var new_pos=document.location.hash.substr(1,document.location.hash.length);FoldSpy.globalFold=0;if(FoldSpy.isPro==1){path+='&p='+new_pos;if(new_pos=='foldspy'){FoldSpy.globalFold=1;}}
else{if(new_pos=='foldspy'){script2=document.createElement("script");script2.src='http://files.davejeffery.com/js/free.js';script2.type="text/javascript";FoldSpy.getHead().appendChild(script2);var cssLink=document.createElement("link");cssLink.href="http://files.davejeffery.com/js/style.css";cssLink.type="text/css";cssLink.rel="stylesheet";randomnumber==1;FoldSpy.getHead().appendChild(cssLink);}}}
if(randomnumber==2||FoldSpy.isPro==1){path+='&w='+width+'&h='+height+'&u='+fullLoc;var script=document.createElement("script");script.src=path;script.type="text/javascript";FoldSpy.getHead().appendChild(script);}};FoldSpy.getHead=function(){var lowerHead=document.getElementsByTagName("head");if(lowerHead.length==0){var upperHead=document.createElement("head");document.appendChild(upperHead);return upperHead;}
else{return lowerHead[0];}};FoldSpy.send();