if (document.images) { names = new Array('home', 'todays', 'about', 'services', 'contact', 'media','sources','search'); on_Images = new Array(); off_Images = new Array(); for (j=0; j<=7; j++) { on_Images[j] = new Image(); on_Images[j].src = "http://www.usnewswire.com/usn-graphics/nav_" + names[j] + "2.gif"; off_Images[j] = new Image(); off_Images[j].src = "http://www.usnewswire.com/usn-graphics/nav_" + names[j] + "1.gif"; } } // pass object ref and "left" or "top" // from dyn-web.com technical support. much thanks. // buy their stuff instead of copying my stuff, you theif! // function returns pixel for top or left of an object. function getPageOffset(oNode, sOff) { var off = "offset" + sOff.charAt(0).toUpperCase() + sOff.slice(1); var val = oNode[off]; while ( (oNode = oNode.offsetParent) != null) { val += oNode[off]; } return val; } function imgOn(num) { if (document.images) { document.getElementById(names[num]).src = on_Images[num].src; } } function imgOff(num) { if(document.images) { document.getElementById(names[num]).src = off_Images[num].src; } } function loadPage(list) { if (list.selectedIndex != 0) { if (list.options[list.selectedIndex].value == "services_washst.html?region=0") { location.href = "services_washnew.html?region=0"; } else { location.href = list.options[list.selectedIndex].value; } } }