var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /* Highlight Table Cells Script- */ // 07.05.01 new code to detect Netscape 6 var browserName = navigator.appName; var browserVersion = navigator.appVersion; var browserVersionNum = parseFloat(browserVersion) var found_str = browserName.indexOf("Netscape"); function changeto(highlightcolor) { var row_index; source=event.srcElement; row_index = source.parentElement.rowIndex; if (source.tagName=="TR"||source.tagName=="TABLE") return while(source.tagName != "TD") { source=source.parentElement; } // get out cell id, check if we have ignore in id (needed to ignore high light of first row) var source_id = "" + source.id; var found_ignore = false; if (source_id.indexOf("ignore") > -1) { found_ignore = true; } // done check for ignore if (source.style.backgroundColor!=highlightcolor && !found_ignore) { source.style.backgroundColor=highlightcolor } } function changeback(originalcolor) { var row_index = source.parentElement.rowIndex; // check if our first table row should be un-high-lighted even if its the first row (i.e. index=0) if (source.id == "unhighlight") { row_index = -1; //reset make sure our row_index is not 0 so the following code will execute } if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||row_index==0) { return; } if (event.toElement != source) { source.style.backgroundColor = originalcolor; } } var xpos; var ypos; if (document.layers) document.captureEvents(Event.MOUSEMOVE); document.onmousemove=mtrack; function mtrack(e) { if (document.layers) { xpos = e.pageX; ypos = e.pageX; } else if ((found_str > -1) && (browserVersionNum == 5)) { xpos = e.pageX; ypos = e.pageX; } else { xpos = event.x; ypos = event.y; } } var toggleHash = new Array(); var layerList = new Array(); addLayer("New", 150,90); addLayer("NFPC", 240,90); addLayer("Supply", 330,90); addLayer("Promotion", 420,90); addLayer("Industry", 465,90); function addLayer(name, xPos, yPos) { layerList[layerList.length] = name; toggleHash[name] = new Array(); toggleHash[name]["name"] = name + "Layer"; toggleHash[name]["toggle"] = false; toggleHash[name]["yPos"] = yPos; toggleHash[name]["xPos"] = xPos; } function Toggle(layerName) { if (!toggleHash[layerName]["toggle"]) { toggleHash[layerName]["toggle"] = true; show(layerName); // Don't forget to hide everything else for (i = 0; i < layerList.length; i++) { // But don't hide the one we just displayed. if (layerList[i] != layerName) { if (toggleHash[layerList[i]]["toggle"]) { toggleHash[layerList[i]]["toggle"] = false; hide(layerList[i]); } } } } else { toggleHash[layerName]["toggle"] = false; hide(layerName); } } function ToggleOff() { for(i = 0; i < layerList.length; i++) { if (toggleHash[layerList[i]]["toggle"]) { toggleHash[layerList[i]]["toggle"] = false; hide(layerList[i]); } } } function show(object) { // check for netscape 6 if ((found_str > -1) && (browserVersionNum == 5)) { var layer_name = "" + toggleHash[object]["name"]; var element = document.getElementById(layer_name); element.style.visibility = "visible"; element.style.left = toggleHash[object]["xPos"]; element.style.top = toggleHash[object]["yPos"]; } else if (document.layers && document.layers[toggleHash[object]["name"]]) { document.layers[toggleHash[object]["name"]].visibility = 'visible'; document.layers[toggleHash[object]["name"]].left = toggleHash[object]["xPos"]; document.layers[toggleHash[object]["name"]].top = toggleHash[object]["yPos"]; } else if (document.all) { document.all[toggleHash[object]["name"]].style.visibility = 'visible'; document.all[toggleHash[object]["name"]].style.left = toggleHash[object]["xPos"]; document.all[toggleHash[object]["name"]].style.top = toggleHash[object]["yPos"]; document.all[toggleHash[object]["name"]].style.zIndex = 100; } } function hide(object) { // check for netscape 6 if ((found_str > -1) && (browserVersionNum == 5)) { var layer_name = "" + toggleHash[object]["name"]; var element = document.getElementById(layer_name); element.style.visibility = "hidden"; } else if (document.layers && document.layers[toggleHash[object]["name"]]) { document.layers[toggleHash[object]["name"]].visibility = 'hidden'; } else if (document.all) { document.all[toggleHash[object]["name"]].style.visibility = 'hidden'; } } var brwsVer=parseInt(navigator.appVersion);var timer;var object='name'; } /* FILE ARCHIVED ON 04:51:35 Dec 10, 2006 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 08:56:00 Jun 29, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): RulesEngine.query: 25.288 PetaboxLoader3.datanode: 12.327 */