/* Set property (typically Prop5) to InSite ID */
/* 011806 */
var script_index;if(script_index>=0)script_index++;else script_index=0;scr_start(script_index);
function getCookieVal(offset){
 var endstr=document.cookie.indexOf(";",offset);if(endstr==-1)endstr=document.cookie.length;
 return unescape(document.cookie.substring(offset,endstr));
 }
function GetCookie(cname){
 arg=cname+"=";alen=arg.length;clen=document.cookie.length;i=0;
 while (i<clen) {
  j=i+alen;if(document.cookie.substring(i,j)==arg)return getCookieVal(j);i=document.cookie.indexOf("",i)+ 1;
  if(i==0) break;
  }
 return null;
 }
function SaveCookie(cname,cvalue,cdays,cpath){
 ex=new Date;ex.setTime(ex.getTime() + (cdays*86400000));
 if(cpath==null)cpath="/";else cpath="; path="+cpath;
 sitedom=location.hostname.replace(/www\./,"");
 document.cookie=cname+'='+cvalue+'; expires='+ex.toGMTString()+cpath+"; domain="+sitedom;
 }
if(load_ID){
 user=GetCookie(InSite_cookie);
 if(user)cookie_val = user.replace(/\|.*/,"");
 else cookie_val="not_logged_in";
 eval("override_"+InSite_var+"=cookie_val;");
 }
cookie_func=true;n[script_index]="stats_cookies.js";scr_end(script_index);
