<!--
var cookies_available = "maybe";
makeCookie("cookies_available","yes",null,"/");
cookies_available = readCookie("cookies_available")
//alert("cookies_available="+cookies_available);  
if (cookies_available=="yes")
  cookies_available = 1;
else
  cookies_available = 0;
/* BUG :( */
// cookies_available = 0;

/*****************************************************************************/
/* this rest of this file was provided by
Joseph K. Myers 1999-2000 <e_mayilme@hotmail.com> */
function makeCookie(Name,Value,Expiry,Path,Domain,Secure) {
if (Expiry != null && !isNaN(Expiry)) {
var datenow = new Date();
datenow.setTime(datenow.getTime() + Math.round(86400000*Expiry));
Expiry = datenow.toGMTString();
}
Expiry = (Expiry) ? '; expires='+Expiry : '';
Path = (Path)?'; path='+Path:'';
Domain = (Domain) ? '; domain='+Domain : '';
Secure = (Secure) ? '; secure' : '';
document.cookie = Name + '=' + escape(Value) + Expiry + Path + Domain + Secure;
}

function readCookie(Name) {
var cookies = ' ' + document.cookie;
if (cookies.indexOf(' ' + Name + '=') == -1) return null;
var start = cookies.indexOf(' ' + Name + '=') + (Name.length + 2);
var finish = cookies.substring(start,cookies.length);
finish = (finish.indexOf(';') == -1) ? cookies.length : start + finish.indexOf(';');
return unescape(cookies.substring(start,finish));
}
// End of cookie functions (Joseph K. Myers 1999-2000 <e_mayilme@hotmail.com>)
//-->

