
home_hov = new Image
classes_hov = new Image
contact_hov = new Image
governors_hov = new Image
events_hov = new Image
links_hov = new Image
newsletters_hov = new Image
our_school_hov = new Image
logo_hov = new Image
vacancies_hov = new Image
childrenscentre_hov = new Image


home_on = new Image
classes_on = new Image
contact_on = new Image
governors_on = new Image
events_on = new Image
links_on = new Image
newsletters_on = new Image
our_school_on = new Image
logo_on = new Image
vacancies_on = new Image
childrenscentre_on = new Image


home_hov.src = "images/home_hov.gif"
classes_hov.src = "images/classes_hov.gif"
governors_hov.src = "images/governors_hov.gif"
events_hov.src = "images/events_hov.gif"
newsletters_hov.src = "images/newsletters_hov.gif"
links_hov.src = "images/links_hov.gif"
contact_hov.src = "images/contact_hov.gif"
our_school_hov.src = "images/our_school_hov.gif"
logo_hov.src = "images/logo_hov.gif"
vacancies_hov.src = "images/vacancies_hov.gif"
childrenscentre_hov.src = "images/childrenscentre_hov.gif"


home_on.src = "images/home_on.gif"
classes_on.src = "images/classes_on.gif"
governors_on.src = "images/governors_on.gif"
events_on.src = "images/events_on.gif"
newsletters_on.src = "images/newsletters_on.gif"
links_on.src = "images/links_on.gif"
contact_on.src = "images/contact_on.gif"
our_school_on.src = "images/our_school_on.gif"
logo_on.src = "images/logo_on.gif"
vacancies_on.src = "images/vacancies_on.gif"
childrenscentre_on.src = "images/childrenscentre_on.gif"


function imgOver(thisImg) {
				 document[thisImg].src = "images/" + thisImg + "_hov.gif"
				 }
				 
function imgOut(thisImg) {
				 document[thisImg].src = "images/" + thisImg + "_on.gif"
				 }

function Clock() {
  if (!document.getElementById) return;
  theclock=document.getElementById("clock");
  here = new Date();
  hours=here.getHours();
  mins=here.getMinutes();
  secs=here.getSeconds();
  if (secs < 10) secs= "0" + secs;
  if (mins < 10) mins= "0" + mins;
  theclock.innerHTML = hours + ":" + mins + ":" + secs;
  window.setTimeout("Clock();",250);  
}


dayInfo = new Array
dayInfo[1] = "Holiday"
dayInfo[2] = "Holiday"
dayInfo[3] = "Staff Training Day - closed to pupils"
dayInfo[4] = "Staff Training Day - closed to pupils"
dayInfo[5] = ""
dayInfo[6] = ""
dayInfo[7] = "School reopens to pupils 8.40am"
dayInfo[8] = ""
dayInfo[9] = ""
dayInfo[10] = ""
dayInfo[11] = ""
dayInfo[12] = ""
dayInfo[13] = ""
dayInfo[14] = ""
dayInfo[15] = ""
dayInfo[16] = ""
dayInfo[17] = ""
dayInfo[18] = ""
dayInfo[19] = ""
dayInfo[20] = ""
dayInfo[21] = ""
dayInfo[22] = ""
dayInfo[23] = ""
dayInfo[24] = ""
dayInfo[25] = ""
dayInfo[26] = ""
dayInfo[27] = ""
dayInfo[28] = ""
dayInfo[29] = ""
dayInfo[30] = ""
dayInfo[31] = ""

function showInfo(thisDay) {
  document.calendar.dateInfo.value = dayInfo[thisDay]
}
