// Get the current date
<!--
revdate = new Date();
thisDay = revdate.getDay();
todayYear = revdate.getFullYear();
thisMonth = revdate.getMonth() + 1;
todayDate = revdate.getDate();
var todayDay;
var todayMonth;

if (thisDay==0)
todayDay="Sunday";
if (thisDay==1)
todayDay="Monday";
if (thisDay==2)
todayDay="Tuesday";
if (thisDay==3)
todayDay="Wednesday";
if (thisDay==4)
todayDay="Thursday";
if (thisDay==5)
todayDay="Friday";
if (thisDay==6)
todayDay="Saturday";

if(thisMonth==0)
todayMonth="January";
if(thisMonth==1)
todayMonth="January";
if(thisMonth==2)
todayMonth="February";
if(thisMonth==3)
todayMonth="March";
if(thisMonth==4)
todayMonth="April";
if(thisMonth==5)
todayMonth="May";
if(thisMonth==6)
todayMonth="June";
if(thisMonth==7)
todayMonth="July";
if(thisMonth==8)
todayMonth="August";
if(thisMonth==9)
todayMonth="September";
if(thisMonth==10)
todayMonth="October";
if(thisMonth==11)
todayMonth="November";
if(thisMonth==12)
todayMonth="December";			

// image roller function
function rollOver(imageName) {
	document[imageName].src = "./Images/sidebar/" + imageName + "_2.gif";
}

function rollOff(imageName) {
	document[imageName].src = "./Images/sidebar/" + imageName + ".gif";
}

// get a random image based on the number
function randomizeimage(img, count, base, type) {
  document.images[img].src = ""+base + Math.floor(Math.random() * count + 1) + type;
}

// randomize the following images
function randomizeimages() {
  randomizeimage('theThumb', 98, './Images/thumbs/', '.jpg');
}

// change the random images every 5 seconds
function imageChanger() {
  randomizeimages();
  setTimeout("imageChanger()",5000);
}

function ImageLoadFailed() {
  window.event.srcElement.style.display = "none";
}

//-->
