function makeMonthArray()
{
this.length=12;
this[1] = "January", this[2] = "February"; this[3] = "March";
this[4] = "April", this[5] = "May"; this[6] = "June";
this[7] = "July", this[8] = "August"; this[9] = "September";
this[10] = "October", this[11] = "November"; this[12] = "December";
return(this);
}
function makeDayArray()
{
this.length=7;
this[1] = "Sunday", this[2] = "Monday"; this[3] = "Tuesday";
this[4] = "Wednesday", this[5] = "Thursday"; this[6] = "Friday";
this[7] = "Saturday";
return(this);
}
function writeDate()
{
attdate = new Date();
monthName = new makeMonthArray();
dayName = new makeDayArray();
day = attdate.getDay() + 1;
date = attdate.getDate();
month = attdate.getMonth() + 1;
year = attdate.getYear();
if (year <= 1900) year += 1900;
sec = attdate.getSeconds()
dateStr = dayName[day];
dateStr += " ";
dateStr += monthName[month];
dateStr += " ";
dateStr += date;
dateStr += ", ";
dateStr += year;
document.write(dateStr);
}
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserVer >= 3) version = "n3";
else version = "n2";
if (version == "n3")
{
toc1on = new Image();
toc1on.src = "images/toc1on.gif";
toc2on = new Image();
toc2on.src = "images/toc2on.gif";
toc3on = new Image();
toc3on.src = "images/toc3on.gif";
toc4on = new Image();
toc4on.src = "images/toc4on.gif";
toc5on = new Image();
toc5on.src = "images/toc5on.gif";
toc6on = new Image();
toc6on.src = "images/toc6on.gif";
toc1off = new Image();
toc1off.src = "images/toc1off.gif";
toc2off = new Image();
toc2off.src = "images/toc2off.gif";
toc3off = new Image();
toc3off.src = "images/toc3off.gif";
toc4off = new Image();
toc4off.src = "images/toc4off.gif";
toc5off = new Image();
toc5off.src = "images/toc5off.gif";
toc6off = new Image();
toc6off.src = "images/toc6off.gif";
}
function img_act(imgName)
{
if (version == "n3")
{
imgOn = eval(imgName + "on.src");
document [imgName].src = imgOn;
}
}
function img_inact(imgName)
{
if (version == "n3")
{
imgOff = eval(imgName + "off.src");
document [imgName].src = imgOff;
}
}

