var StrURL = document.location; var StrReferrer = document.referrer; var StrScreen = screen.width+"*"+screen.height+"|"+screen.colordepth; function CounterGetCookie(StrName) { var search = StrName + "="; var cookie = document.cookie; if( cookie.length > 0 ) { startIndex = cookie.indexOf( StrName ); if( startIndex != -1 ) { startIndex += StrName.length; endIndex = cookie.indexOf( ";", startIndex ); if( endIndex == -1) endIndex = cookie.length; return unescape( cookie.substring( startIndex + 1, endIndex ) ); } else { return false; } } else { return false; } } function CounterSetCookie(StrName, StrValue, IntExpire) { var CookieData = ''; CookieData += StrName+'='+escape(StrValue)+';'; CookieData += 'path=/;'; if (IntExpire > 0) { var nDate = new Date(); nDate.setDate(nDate.getDate() + parseInt(IntExpire)); CookieData += 'expires=' + nDate.toGMTString() + ';'; } document.cookie = CookieData; } var IPAddr = '38.103.63.18';