// JavaScript Document

	function rm_exchangeI(imgn){
		if (imgn == 0){
			ThisHTML='&nbsp;';
		} else {
		ThisHTML='<img src="images/Services-Manufacture/' + imgn + '_OrangeLine.png" border="0" alt="Manufacture Pointer" style="' +  sMargins[imgn] + '">';
		}
		document.getElementById("HighlightImaging").innerHTML=ThisHTML;
	}
	sMargins = new Array();
	
	function hideLayer1(whichLayer){
	//got code from http://www.netlobo.com/div_hiding.html
	//alert(document.getElementById(whichLayer).value); 
	
	if (document.getElementById) {
		//this is the way the standards work
		var style2 = document.getElementById(whichLayer).style;
		style2.display = style2.display? "":"block";
	} else if (document.all) {
		//this is the way old msie versions work
		var style2 = document.all[whichLayer].style;
		style2.display = style2.display? "":"block";
	} else if (document.layers) {
		//this is the way nn4 works
		var style2 = document.layers[whichLayer].style;
		style2.display = style2.display? "":"block";
	} 
}

function hide(who,disp, iID){
	divs=document.getElementsByTagName('div');
	for (var i=0;i<divs.length;i++){
		if (divs[i].id.indexOf(who)==0) {
			if (divs[i].id.indexOf(who+iID)==0){//only if 'image' is at the beginning of the id
				//alert(divs[1].id);
				divs[i].style.display='block';
			
			} else {
				divs[i].style.display='none';
			}
		}
	}
} 