var awstatsmisctrackerurl="/common/javascript/awstats.inc"; function awstats_setCookie(TRKNameOfCookie, TRKvalue, TRKexpirehours) { var TRKExpireDate = new Date (); TRKExpireDate.setTime(TRKExpireDate.getTime() + (TRKexpirehours * 3600 * 1000)); document.cookie = TRKNameOfCookie + "=" + escape(TRKvalue) + "; path=/" + ((TRKexpirehours == null) ? "" : "; expires=" + TRKExpireDate.toGMTString()); } function awstats_getCookie(TRKNameOfCookie){ if (document.cookie.length > 0){ TRKbegin = document.cookie.indexOf(TRKNameOfCookie+"="); if (TRKbegin != -1) { TRKbegin += TRKNameOfCookie.length+1; TRKend = document.cookie.indexOf(";", TRKbegin); if (TRKend == -1) TRKend = document.cookie.length; return unescape(document.cookie.substring(TRKbegin, TRKend)); } return null; } return null; } if (window.location.search == "") { TRKnow = new Date(); TRKscreen=screen.width+"x"+screen.height; TRKjava=navigator.javaEnabled(); TRKusercode=awstats_getCookie("UserCode"); TRKsessioncode=awstats_getCookie("SessionCode"); var TRKrandomnumber=Math.floor(Math.random()*10000); if (TRKusercode == null || (TRKusercode=="")) {TRKusercode = "UserCode" + TRKnow.getTime() +"r"+ TRKrandomnumber}; if (TRKsessioncode == null || (TRKsessioncode=="")) {TRKsessioncode = "SessionCode" + TRKnow.getTime() +"r"+ TRKrandomnumber}; awstats_setCookie("UserCode", TRKusercode, 10000); awstats_setCookie("SessionCode", TRKsessioncode, 1); TRKusercode=""; TRKusercode=awstats_getCookie("UserCode"); TRKsessioncode=""; TRKsessioncode=awstats_getCookie("SessionCode"); var TRKagt=navigator.userAgent.toLowerCase(); var TRKie = (TRKagt.indexOf("msie") != -1); var TRKns = (navigator.appName.indexOf("Netscape") != -1); var TRKwin = ((TRKagt.indexOf("win")!=-1) || (TRKagt.indexOf("32bit")!=-1)); var TRKmac = (TRKagt.indexOf("mac")!=-1); document.write('') }