
		function imgOn(name){  if (document.images) { img = checkImg(name);  img.src=eval(name+"o.src"); } }
		function imgOff(name){  if (document.images) { img = checkImg(name);  img.src=eval(name+".src"); } }
		function checkImg(name) {  i = document.images[name]; if (i.length) {  return i[i.length-1]; } else { return i; } }
		if (document.images) {
		n1 = new Image(); n1.src = 'images/nav-product-families-off.gif';
		n1o = new Image(); n1o.src = 'images/nav-product-families-on.gif';
		n2 = new Image(); n2.src = 'images/nav-systems-sol-off.gif';
		n2o = new Image(); n2o.src = 'images/nav-systems-sol-on.gif';
		n3 = new Image(); n3.src = 'images/nav-key-resources-off.gif';
		n3o = new Image(); n3o.src = 'images/nav-key-resources-on.gif';
		}
		function switchDiv(div_id)
			{
			  var style_sheet = getStyleObject(div_id);
			  if (style_sheet)
			  {
			    hideAll();
			    changeObjectVisibility(div_id,"block");
			  }
			  else 
			  {
			    alert("sorry, this only works in browsers that do Dynamic HTML");
			  }
			}
			
			// function hideAll()
			//  hides a bunch of divs
			//
			function hideAll()
			{
			   changeObjectVisibility("callcontacts","none");
			}
			
			
			
			function changeObjectVisibility(objectId, newVisibility) {
			    // first get a reference to the cross-browser style object 
			    // and make sure the object exists
			    var styleObject = getStyleObject(objectId);
			    if(styleObject) {
				styleObject.display = newVisibility;
				return true;
			    } else {
				// we couldn't find the object, so we can't change its visibility
				return false;
			    }
			}
	//************************************************************************************************************************** */
	function popup(url) {
		newTop = self.screenTop+100;
		newLeft = self.screenLeft+100;
		features = "top="+newTop+", left="+newLeft+", width=500, height=600, location=no, menubar=no, status=no, toolbar=no, scrollbars=yes, resizable=yes";

		window.open(url, "Contacts", features);		
}
//******************************************************************************************************************* *
//script for pull down navigation 
//******************************************************************************************************************* *
function getStyleObject(objectId) {
	if(document.getElementById && document.getElementById(objectId)) {
		return document.getElementById(objectId).style;
	} else if (document.all && document.all(objectId)) {
		return document.all(objectId).style;
	} else if (document.layers && document.layers[objectId]) {
		return getObjNN4(document,objectId);
	} else {
		return false;
	}
} 

function menuOn(menuId) {
	var el = getStyleObject(menuId);
		el.display = 'block';
}
function menuOff(menuId) {
	var el = getStyleObject(menuId);
		el.display = 'none';
}
function toggleTab(tabCId,tabId) {
	//reset all tabs to no-show first.
	changeObjectVisibility('content_t1','none');changeObjectVisibility('content_t2','none');changeObjectVisibility('content_t3','none');changeObjectVisibility('content_t4','none');
	changeObjectVisibility(tabCId,'block');
	//reset all tabs to class=off first.
	document.getElementById('t1').className="off";document.getElementById('t2').className="off";document.getElementById('t3').className="off";document.getElementById('t4').className="off";
	var cTab=document.getElementById(tabId).className="on";
}
function showDetail(contentID) {
	//reset all no-show first.
	changeObjectVisibility('content_detail_1','none');changeObjectVisibility('content_detail_2','none');changeObjectVisibility('content_detail_3','none');
	changeObjectVisibility('content_detail_4','none');changeObjectVisibility('content_detail_5','none');changeObjectVisibility('content_detail_6','none');
	changeObjectVisibility('content_detail_7','none');
	changeObjectVisibility(contentID,'block');
	
}
function showDetailCrr(contentID) {
	//reset all no-show first.
	changeObjectVisibility('content_detail_crr_1','none');changeObjectVisibility('content_detail_crr_2','none');changeObjectVisibility('content_detail_crr_3','none');changeObjectVisibility('content_detail_crr_4','none');changeObjectVisibility('content_detail_crr_5','none');changeObjectVisibility('content_detail_crr_6','none');
	changeObjectVisibility(contentID,'block');
	
}

/*******************************************
	Function for expand/Collapse
********************************************/
function expandMenu(menuItm,el)
	{
		
		document.getElementById(menuItm).className=(document.getElementById(menuItm).className=="expMenu"?"colMenu":"expMenu");
		document.getElementById(el).style.display=(document.getElementById(el).style.display=="none"?"block":"none");
		
	}