window.onload = function() {
	var isIE = document.all && window.external
		if(isIE){
	if (/Crystals/i.test(location.href)) Sub_Menu_a.style.display = 'block';
	else if(/Optical/i.test(location.href)) Sub_Menu_b.style.display = 'block';
	else if(/Coatings/i.test(location.href)) Sub_Menu_c.style.display = 'block';
		}
			initializeMenu("Sub_Menu_a", "Menu_a");
            initializeMenu("Sub_Menu_b", "Menu_b");
            initializeMenu("Sub_Menu_c", "Menu_c");
}
if (!document.getElementById)
    document.getElementById = function() { return null; }
function initializeMenu(menuId, actuatorId) {
    var menu = document.getElementById(menuId);
    var actuator = document.getElementById(actuatorId);
    //if (window.opera) return; 
    //actuator.parentNode.style.backgroundImage = "url()";//Menu_* background
    actuator.onclick = function() {

		var c = this.parentNode.parentNode;
        var l = c.getElementsByTagName('div');
        for(var i=0; i<l.length; i++){
            if(l[i].className == 'tabs'){
                l[i].style.display = 'none';
            }
        }

        var display = menu.style.display;
        //this.parentNode.style.backgroundImage = (display == "block") ? "url(/images/plus.gif)" : "url()";//Sub_Menu_* background
        menu.style.display = (display == "block") ? "none" : "block";
        return false;
    }
}