﻿// JScript File

function menuHover(divID)
 {
    var oDiv = document.getElementById(divID);
    
    oDiv.style.visibility='visible';
 }

function menuUnhover(divID)
 {
    var oDiv = document.getElementById(divID);
    
    oDiv.style.visibility='hidden';
 }
 
 function turnOn(oImg)
  {
   oImg.style.visibility="visible";
  }
  
 function showPointers(ptrList)
 {
   var oImg;
   
   while(ptrList.indexOf(",") > -1)
    {
      oImg=document.getElementById(ptrList.substr(0,ptrList.indexOf(",")));
      turnOn(oImg);
      ptrList=ptrList.substr(ptrList.indexOf(",")+1,ptrList.length);
    }
    oImg=document.getElementById(ptrList);
    turnOn(oImg);
 }
 
 function turnOff(oImg)
  {
   oImg.style.visibility="hidden";
  }
  
 function hidePointers(ptrList)
 {
   var oImg;
   
   while(ptrList.indexOf(",") > -1)
    {
      oImg=document.getElementById(ptrList.substr(0,ptrList.indexOf(",")));
      turnOff(oImg);
      ptrList=ptrList.substr(ptrList.indexOf(",")+1,ptrList.length);
    }
    oImg=document.getElementById(ptrList);
    turnOff(oImg);
 }
