<!--
//preload images for better viewing

if (document.images) {

  ref1_off     = new Image(160,20);
  ref1_off.src = "images/homebuttonoff.gif";
  ref1_on      = new Image(160,20);
  ref1_on.src  = "images/homebuttonon.gif";
  ref2_off     = new Image(160,20);
  ref2_off.src = "images/contactbuttonoff.gif";
  ref2_on      = new Image(160,20);
  ref2_on.src  = "images//contactbuttonon.gif";
  ref3_off     = new Image(160,20);
  ref3_off.src = "images/officebuttonoff.gif";
  ref3_on      = new Image(160,20);
  ref3_on.src  = "images/officebuttonon.gif";
  ref4_off     = new Image(149,20);
  ref4_off.src = "images/servicesbuttonoff.gif";
  ref4_on      = new Image(149,20);
  ref4_on.src  = "images/servicesbuttonon.gif";
  ref5_off     = new Image(149,20);
  ref5_off.src = "images/staffbuttonoff.gif";
  ref5_on      = new Image(149,20);
  ref5_on.src  = "images/staffbuttonon.gif";
  ref6_off     = new Image(149,20);
  ref6_off.src = "images/aboutbuttonoff.gif";
  ref6_on      = new Image(149,20);
  ref6_on.src  = "images/aboutbuttonon.gif";
  ref7_off     = new Image(149,20);
  ref7_off.src = "images/resourcesbuttonoff.gif";
  ref7_on      = new Image(149,20);
  ref7_on.src  = "images/resourcesbuttonon.gif";
  ref8_off     = new Image(149,20);
  ref8_off.src = "images/contactsidebuttonoff.gif";
  ref8_on      = new Image(149,20);
  ref8_on.src  = "images/contactsidebuttonon.gif";
  ref9_off     = new Image(149,20);
  ref9_off.src = "images/clientsbuttonoff.gif";
  ref9_on      = new Image(149,20);
  ref9_on.src  = "images/clientsbuttonon.gif";
  ref10_off     = new Image(111,32);
  ref10_off.src = "images/enterbuttondown.gif";
  ref10_on      = new Image(111,32);
  ref10_on.src  = "images/enterbuttonup.gif";
}

//func() to handle mouseover
//imgOff is off image
//imgOn is on image
function rollOver(imgOff,imgOn) {

   if (document.images)
   {
   document.images[imgOff].src = eval(imgOn + ".src")
   }
}

//func to open popup window for gallery
function openit(url, title, options)
{
	window.open(url, title, options);
}



//func() to get and format date then display it
function thedate()
{

  var Today = new Date();
  var day, month, year; 
  var datestring ="";
  
  switch (Today.getDay()) {
    case 0:
      day = "Sunday";
      break;
    case 1:
      day = "Monday";
      break;
    case 2:
      day = "Tuesday";
      break;
    case 3:
      day = "Wednesday";
      break;
    case 4:
      day = "Thursday";
      break;
    case 5:
      day = "Friday";
      break;
    case 6:
      day = "Saturday";
      break;
  } 

  switch (Today.getMonth()) {
    case 0:
      month = "January";
      break;
    case 1:
      month = "February";
      break;
    case 2:
      month = "March";
      break;
    case 3:
      month = "April";
      break;
    case 4:
      month = "May";
      break;
    case 5:
      month = "June";
      break;
    case 6:
      month = "July";
      break;
    case 7:
      month = "August";
      break;
    case 8:
      month = "September";
      break;
    case 9:
      month = "October";
      break;
    case 10:
      month = "November";
      break;
    case 11:
      month = "December";
      break;
  } 

  todaydate = Today.getDate();
  year = Today.getYear();
  datestring +=  month + " " + todaydate + ", " + "2005";

  document.write("<FONT COLOR=#C4C4C4 FACE=ARIAL SIZE=2><B>" + datestring);
}