document.write("<STYLE id=defined></STYLE>");
document.close;
apost="'";
function getCookie(s)
{
var target = s + "=";
var targetLength = target.length;
var index = 0;
while (1) //search while 1 is nonzero i.e. forever
{
var offset = index + targetLength;
if (document.cookie.substring(index, offset) == target)
{
var tail = document.cookie.indexOf(";",offset);
if (tail == -1)
{
tail = document.cookie.length;
}
return unescape(document.cookie.substring(offset,tail));
}
index = 1 + document.cookie.indexOf(" ",index);
if (index == 0 || index >= document.cookie.length)
{
return null;
}
}
return null;
}
function writecss(cs) {document.cookie="ss="+cs+"s"+";expires=Sat, 31-Dec-69 23:59:00 GMT";top.location.href="Index.htm"}
message = "Sorry, this function has been disabled";
function click(e)
{ if (document.all)
{ if (event.button == 2)
{ alert(message); return false; }
}
if (document.layers)
{ if (e.which == 3)
{ alert(message); return false; }
}
}
if (document.layers)
{ document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

function stat(sMsg)
{ window.status = sMsg;
setTimeout("erasestat()",3000);
return true;
}
function erasestat()
{
window.status = " ";
}
function lastupdated()
{
months = new Array("January","February","March","April","May","June","July","August","September","October","November","December");
a = new Date(document.lastModified);
if (a.getTime() != 0) {   //check that server has provided a lastmodified date
document.write("<I>Last updated</I> ");
DayNum = "0" + a.getDate();
document.write(DayNum.substring(DayNum.length - 2,DayNum.length)," ");
document.write(months[a.getMonth()]," ")
document.write(a.getFullYear(),"");
}
else document.write("&nbsp;");   //if lastmodified date not available
}
