	

// browser test:
agent = navigator.userAgent
browserVer = 2
if (agent.substring (0,7) == "Mozilla")
{
	if (parseInt (agent.substring (8,9)) >= 3) {browserVer = 1;}
}

	if (browserVer == 1)
{
   imagetraining = new Image();
   imagetraining.src = "../images/supportservices/training.gif";
   imagetrainingmo = new Image();
   imagetrainingmo.src = "../images/supportservices/trainingmo.gif";
   imagedistedu = new Image();
   imagedistedu.src = "../images/supportservices/distanceeducation.gif";
   imagedistedumo = new Image();
   imagedistedumo.src = "../images/supportservices/distanceeducationmo.gif";
   imageelearning = new Image();
   imageelearning.src = "../images/supportservices/elearning.gif";
   imageelearningmo = new Image();
   imageelearningmo.src = "../images/supportservices/elearningmo.gif";
   imagecert = new Image();
   imagecert.src = "../images/supportservices/courses.gif";
   imagecertmo = new Image();
   imagecertmo.src = "../images/supportservices/coursesmo.gif";
   imageresourcedata = new Image();
   imageresourcedata.src = "../images/supportservices/resourcedata.gif";
   imageresourcedatamo = new Image();
   imageresourcedatamo.src = "../images/supportservices/resourcedatamo.gif";
   imagecurriculum = new Image();
   imagecurriculum.src = "../images/supportservices/curriculumdeve.gif";
   imagecurriculummo = new Image();
   imagecurriculummo.src = "../images/supportservices/curriculumdevemo.gif";
   imagegovtpolicy = new Image();
   imagegovtpolicy.src = "../images/supportservices/govtpolicy.gif";
   imagegovtpolicymo = new Image();
   imagegovtpolicymo.src = "../images/supportservices/govtpolicymo.gif";
}

function hiLite(imgDocID,imgObjName) {
// manages mouseOver animations
//   imgDocID - the name or number of the document image to be replaced
//   imgObjName - the name of the image object to be swapped in
if (document.all) { 
	document.images[imgDocID].src = eval(imgObjName + ".src");
   }
 if (document.layers)
   {
    document.images[imgDocID].src=eval(imgObjName + ".src");
   }
}
