// *** Preload menu highlight graphics ***

   var imgIndex = new Image();
   imgIndex.src="images/index_hl.jpg";

   var imgIntroduction = new Image();
   imgIntroduction.src="images/introduction_hl.jpg";

   var imgCallforpapers = new Image();
   imgCallforpapers.src="images/callforpapers_hl.jpg";

   var imgRegistration = new Image();
   imgRegistration.src="images/registration_hl.jpg";

   var imgProgram = new Image();
   imgProgram.src="images/program_hl.jpg";

   var imgOrganizations = new Image();
   imgOrganizations.src="images/organizations_hl.jpg";

   var imgInformationforvisitors = new Image();
   imgInformationforvisitors.src="images/informationforvisitors_hl.jpg";

   var imgContact = new Image();
   imgContact.src="images/contact_hl.jpg";

// *** Highlight menu selections ***

   function imgOn(imgID) {
    if (currentPage != imgID) document.images[imgID].src = "images/" + imgID + "_hl.jpg";
   }

// *** Remove highlights from menu selections ***

   function imgOff(imgID) {
    if (currentPage != imgID) document.images[imgID].src = "images/" + imgID + ".jpg";
   }

// *** Determine the current page ***

   var currentPage = "index";

   var currentURL = document.location.toString();
   var currentURLParts = currentURL.split("/");
   var currentFilename = currentURLParts[3];
   var currentFilenameParts = currentFilename.split(".");
   currentPage = currentFilenameParts[0];

