<!--

var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var blnOK = false;

if ((bName == "Netscape" && bVer >= 3) || 
	(bName == "Microsoft Internet Explorer" && bVer >= 4) || 
	(document.getElementById)) {
	blnOK = true;
} 
    
if (blnOK) {
    
    img1on = new Image();          
    img1on.src = "images/btn_home_on.gif";       // Active Image

    img1 = new Image();
    img1.src = "images/btn_home.gif";     // Inactive Image

    img2on = new Image();          
    img2on.src = "images/btn_products_on.gif";       // Active Image

    img2 = new Image();
    img2.src = "images/btn_products.gif";     // Inactive Image

    img3on = new Image();          
    img3on.src = "images/btn_applications_on.gif";       // Active Image

    img3 = new Image();
    img3.src = "images/btn_applications.gif";     // Inactive Image

    img4on = new Image();          
    img4on.src = "images//btn_calculator_on.gif";       // Active Image

    img4 = new Image();
    img4.src = "images/btn_calculator.gif";     // Inactive Image
	
	img5on = new Image();          
    img5on.src = "images/btn_about_on.gif";       // Active Image

    img5 = new Image();
    img5.src = "images/btn_about.gif";     // Inactive Image
	
	img6on = new Image();          
    img6on.src = "images/btn_contact_on.gif";       // Active Image

    img6 = new Image();
    img6.src = "images/btn_contact.gif";     // Inactive Image

}
    
function imgAct(imgName) {
	if (blnOK) {
    	document[imgName].src = eval(imgName + "on.src");
    }
}

function imgInact(imgName) {
	if (blnOK) {
		document[imgName].src = eval(imgName + ".src");
	}
}

function showmenu(MenuID){
		
	if (document.getElementById) {	//  IE 5+, NS6+, Mozilla
		objDiv = document.getElementById("DropMenu"+ MenuID);
	} else if(document.all){ 					// IE 4
		objDiv = document.all.item("DropMenu"+ MenuID);
	}	

	objDiv.style.visibility = "visible";
	objDiv.style.pixelLeft = AbsolutePosition("btn"+ MenuID, "X") - 14;
	objDiv = null;	
}
	
function hidemenu(MenuID){

	if (document.getElementById) {	// IE 5+, NS6+, Mozilla
		objDiv = document.getElementById("DropMenu"+ MenuID);
	} else if(document.all){ 					// IE 4
		objDiv = document.all.item("DropMenu"+ MenuID);
	}
	
	objDiv.style.visibility = "hidden";
	objDiv = null;	
}
    
// -->
