try{ document.execCommand("BackgroundImageCache",false,true); }catch(err){ } //Menu section /*menuHover = function() { if (!document.getElementsByTagName) return false; var menuEls = document.getElementById("segment-navigation").getElementsByTagName("li"); for (var i=0; i 735) { var firstElement = getElementPosition('hho'); var Pos = document.getElementById('par'); var extraPixelToReduce = window.screen.availWidth - document.body.clientWidth; var newWidth = getElementPosition('par').left + Pos.offsetWidth - 276 - (firstElement.left - extraPixelToReduce) + 'px'; document.getElementById('segment-par').style.left = newWidth; } } var useSearchKeyword = false; function onSearchSetFocus() { var searchField = document.getElementById('global-search-field'); searchField.style.color = 'black'; if(searchField.value == 'Search') { searchField.value = ''; } useSearchKeyword = true; } function onSearchLostFocus() { var searchField = document.getElementById('global-search-field'); if(searchField.value == '') { searchField.style.color = 'gray'; searchField.value = 'Search'; useSearchKeyword = false; } } function setSearchString() { if(useSearchKeyword == false) { var searchField = document.getElementById('global-search-field'); searchField.value = ''; } } function hackersafe(){ var firstElement = getElementPosition('hho'); if(document.getElementById('hacker-safe')){ document.getElementById('hacker-safe').style.left = firstElement.left + 888 + 'px'; document.getElementById('hacker-safe').style.display = 'block' } } function threatpop(){ var firstElement = getElementPosition('hho'); if(document.getElementById('legend-learnmore')){ document.getElementById('legend-learnmore').style.left = firstElement.left + 33 + 'px'; } } function mastheadposition(itemf){ var butt1ref = document.getElementById(itemf.substring(0,4)); var leftVal = parseInt(document.getElementById(itemf).value) + parseInt(getElementPosition('hho').left) + parseInt('12') butt1ref.style.left = leftVal + 'px' ; } function bodyonload(){ var leftVal = parseInt(document.getElementById('but1left').value) + parseInt(getElementPosition('hho').left) + parseInt('12'); //document.getElementById('but1').style.left = leftVal + 'px' ; hackersafe(); threatpop(); document.getElementById('mast_a1').style.color='#aa0828'; //document.getElementById('but1').style.display = 'block'; } function outFunc(item){ item.style.backgroundImage = 'url(/common/media/images/masthead/buttons/masthead_button.gif)'; } function overFunc(item){ if (document.images){ item.style.backgroundImage = 'url(/common/media/images/masthead/buttons/masthead_button_over.gif)'; } } function toresize(){ hackersafe(); threatpop(); } addLoadEvent(bodyonload); window.onresize = toresize;