//global variable used for showing the proper page in function function showD() var whichDiv; var whichValue; function setGlobal(x,y){ //set whichValue; whichDiv = x; whichValue = y; } function getGlobal(){ //get globalX x = whichDiv; y = whichValue; //alert(x); //alert(y); showD(x); } // script needed in header on products function getIframeBody( id1,url1) { //alert("cross sales javascript - loaded"); var agent1 = navigator.userAgent.toLowerCase(); var major1 = parseInt(navigator.appVersion); var ie1 = (agent1.indexOf("msie") != -1); var ie51 = (ie1 && (major1 == 4) && (agent1.indexOf("msie 5.0") != -1)); var obj1 = document.getElementById( id1 ); //obj1.innerHTML = ''; if ( !ie51 ) { var iframe1 = document.createElement( "IFRAME" ); with ( iframe1.style ) { //display = "none"; height = "0px"; width = "0px"; //border = "0px"; visibility = "hidden"; } if ( document.all ) { url1 = url1 +"&targetK=" + id1; iframe1.src = url1; var head = document.getElementById( "nav1homenew" ); head.appendChild( iframe1 ); } else { url1 = url1 +"&targetK=" + id1; document.body.appendChild( iframe1 ); iframe1.src = url1; } } else { url1 = url1 +"&targetK=" + id1; document.write( '\