DaysofWeek = new Array()
DaysofWeek[0]="Sunday"
DaysofWeek[1]="Monday"
DaysofWeek[2]="Tuesday"
DaysofWeek[3]="Wednesday"
DaysofWeek[4]="Thursday"
DaysofWeek[5]="Friday"
DaysofWeek[6]="Saturday"

Months = new Array()
Months[0]="January"
Months[1]="February"
Months[2]="March"
Months[3]="April"
Months[4]="May"
Months[5]="June"
Months[6]="July"
Months[7]="August"
Months[8]="September"
Months[9]="October"
Months[10]="November"
Months[11]="December"

RightNow = new Date()

var day = DaysofWeek[RightNow.getDay()]
var date = RightNow.getDate()
var Month = Months[RightNow.getMonth()]
var Year = RightNow.getFullYear()

if (date == 1 || date == 21 || date == 31)
{ender = "<sup>st</sup>"}
else
if (date == 2 || date == 22)
{ender = "<sup>nd</sup>"}
else
if (date == 3 || date == 23)
{ender = "<sup>rd</sup>"}
else
{ender = "<sup>th</sup>"}

function theDate(){
document.write('<span class=date>' +day+ ', ' +Month+ ' ' +date+ ender+ ', ' +Year+ '</span>');
}

if (document.images) {
  imageHon = new Image();
  imageHon.src = "images/home_btn_dn.jpg";

  imageAon = new Image();
  imageAon.src = "images/airboat_btn_dn.jpg";

  imageFon = new Image();
  imageFon.src = "images/fishing_btn_dn.jpg";

  imageSon = new Image();
  imageSon.src = "images/sight-seeing_btn_dn.jpg";

  imageTon = new Image();
  imageTon.src = "images/hunting-transport_btn_dn.jpg";

  imageCon = new Image();
  imageCon.src = "images/contact_btn_dn.jpg";

  imageHoff = new Image();
  imageHoff.src = "images/home_btn_up.jpg";

  imageAoff = new Image();
  imageAoff.src = "images/airboat_btn_up.jpg";

  imageFoff = new Image();
  imageFoff.src = "images/fishing_btn_up.jpg";

  imageSoff = new Image();
  imageSoff.src = "images/sight-seeing_btn_up.jpg";

  imageToff = new Image();
  imageToff.src = "images/hunting-transport_btn_up.jpg";

  imageCoff = new Image();
  imageCoff.src = "images/contact_btn_up.jpg";

  otherImageDefaultH = new Image();
  otherImageDefaultH.src = "images/home_btn_hl.jpg";

  otherImageH1 = new Image();
  otherImageH1.src = "images/home_btn_up.jpg";

  otherImageH2 = new Image();
  otherImageH2.src = "images/home_btn_dn.jpg";

  otherImageDefaultA = new Image();
  otherImageDefaultA.src = "images/airboat_btn_hl.jpg";

  otherImageA1 = new Image();
  otherImageA1.src = "images/airboat_btn_up.jpg";

  otherImageA2 = new Image();
  otherImageA2.src = "images/airboat_btn_dn.jpg";

  otherImageDefaultF = new Image();
  otherImageDefaultF.src = "images/fishing_btn_hl.jpg";

  otherImageF1 = new Image();
  otherImageF1.src = "images/fishing_btn_up.jpg";

  otherImageF2 = new Image();
  otherImageF2.src = "images/fishing_btn_dn.jpg";

  otherImageDefaultS = new Image();
  otherImageDefaultS.src = "images/sight-seeing_btn_hl.jpg";

  otherImageS1 = new Image();
  otherImageS1.src = "images/sight-seeing_btn_up.jpg";

  otherImageS2 = new Image();
  otherImageS2.src = "images/sight-seeing_btn_dn.jpg";

  otherImageDefaultT = new Image();
  otherImageDefaultT.src = "images/hunting-transport_btn_hl.jpg";

  otherImageT1 = new Image();
  otherImageT1.src = "images/hunting-transport_btn_up.jpg";

  otherImageT2 = new Image();
  otherImageT2.src = "images/hunting-transport_btn_dn.jpg";

  otherImageDefaultC = new Image();
  otherImageDefaultC.src = "images/contact_btn_hl.jpg";

  otherImageC1 = new Image();
  otherImageC1.src = "images/contact_btn_up.jpg";

  otherImageC2 = new Image();
  otherImageC2.src = "images/contact_btn_dn.jpg";

}

function changeImages() {
  if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
    }
  }
}


