
if (document.images){
 var onImgArray = new Array()
  onImgArray[0] = new Image(87, 27)
  onImgArray[1] = new Image(87, 27)
  onImgArray[2] = new Image(87, 27)
  onImgArray[3] = new Image(87, 27)
  onImgArray[4] = new Image(87, 27)
  onImgArray[5] = new Image(87, 27)
  onImgArray[6] = new Image(87, 27)
  onImgArray[7] = new Image(87, 27) 
  onImgArray[8] = new Image(87, 27)
  onImgArray[0].src = "images/envir_up.gif"
  onImgArray[1].src = "images/rehab_up.gif"
  onImgArray[2].src = "images/comm_up.gif"
  onImgArray[3].src = "images/fnote_up.gif"
  onImgArray[4].src = "images/tales_up.gif"
  onImgArray[5].src = "images/quiz_up.gif"
  onImgArray[6].src = "images/links_up.gif"
  onImgArray[7].src = "images/invol_up.gif"
 var offImgArray = new Array()
  offImgArray[0] = new Image(87, 27)
  offImgArray[1] = new Image(87, 27)
  offImgArray[2] = new Image(87, 27)
  offImgArray[3] = new Image(87, 27)
  offImgArray[4] = new Image(87, 27)
  offImgArray[5] = new Image(87, 27)
  offImgArray[6] = new Image(87, 27)
  offImgArray[7] = new Image(87, 27)
  offImgArray[8] = new Image(87, 27)
  offImgArray[0].src = "images/envir_over.gif"
  offImgArray[1].src = "images/rehab_over.gif"
  offImgArray[2].src = "images/comm_over.gif"
  offImgArray[3].src = "images/fnote_over.gif"
  offImgArray[4].src = "images/tales_over.gif"
  offImgArray[5].src = "images/quiz_over.gif"
  offImgArray[6].src = "images/links_over.gif"
  offImgArray[7].src = "images/invol_over.gif"
  }


function swap(i){
if (document.images){
 document.images["btn" + i].src = offImgArray[i].src
 }
}

function restore(i){
if (document.images){
 document.images["btn" + i].src = onImgArray[i].src
 }
}
function showStat(status){
  window.status = status
return true
}

function openWin(theURL,winName,features) {
  window.open(theURL,winName,features);
  }
