var SessionID = "";


function GetCookie(name) {

   var start = document.cookie.indexOf(name+"=");
   var len = start+name.length+1;
   if ((!start) && (name != document.cookie.substring(0,name.length))) return null;
   if (start == -1) return null;
   var end = document.cookie.indexOf(";",len);
   if (end == -1) end = document.cookie.length;
   return unescape(document.cookie.substring(len,end));
}


function SetCookie(name,value,expires,path,domain,secure) {
    var cookieString = name + "=" +escape(value) +
       ( (expires) ? ";expires=" + expires.toGMTString() : "") +
       ( (path) ? ";path=" + path : "") +
       ( (domain) ? ";domain=" + domain : "") +
       ( (secure) ? ";secure" : "");
    document.cookie = cookieString;
}


function setSessionID() {

   SessionID = (Math.random() * 100000000000000000); 

   SetCookie("SessionID", SessionID);

}

function getSessionID()
{
    var SessionID = GetCookie("SessionID");
    
   if ( SessionID == null ) 
   {
        setSessionID();
       SessionID = GetCookie("SessionID");
    }
    
   return SessionID;

}

function setVisitorID() 
{
}

function getVisitorID() 
{
}

function setUserID() 
{ 
}

function getUserID()
{
}

function Get_Cookie(name)
{
}

function Set_Cookie(name,value,expires,path,domain,secure) 
{
}

var loaded_script = true;