function tpiStats(){ var n=navigator; var ver=n.appVersion; var name=n.appName; var d=document; var osN=""; if(ver.indexOf("Win")!=-1){osN="Windows";}else if(ver.indexOf("Mac")!=-1){osN="MacOS";}else if(ver.indexOf("Linux")!=-1){osN="Linux";}else if(ver.indexOf("X11")!=-1){osN="UNIX";} var verIE=parseInt(ver.substring(ver.indexOf("MSIE")+5,ver.indexOf("MSIE")+6)); if(verIE>0){ver=verIE;}else{ver=parseInt(ver);} var r; var u="img/c/stats.php?pRef=https%3A%2F%2Fmytzolkin.com%2Ffeed%2Fimg%2Fsm%2Fdl%2Fpdf%2Fmaya_day_programme.pdf&bNM="+name+" ("+ver+")&Syv="+osN; if(ver>=4){var s=screen; var w=s.width; if(w){u+="&Sw="+w+"&Sh="+s.height;}} d.write(''); // w90h9 }