//************************************************************* // MouseOver Functions //************************************************************* function swapImage(strImage,blnState,strArea){ var strImageName = (blnState) ? "_images/" + strArea + "/" + strImage + "-1.gif" : "_images/" + strArea + "/" + strImage + "-0.gif"; document.images[strImage].src = strImageName; } function swapImage01(strImage,blnState){ var strImageName = (blnState) ? "../_images/" + strImage + "-1.gif" : "../_images/" + strImage + "-0.gif"; document.images[strImage].src = strImageName; } function swapImage02(strImage,blnState){ var strImageName = (blnState) ? "_images/" + strImage + "-1.gif" : "_images/" + strImage + "-0.gif"; document.images[strImage].src = strImageName; } function switchProperty(strImage){ document.images["main"].src = strImage } function switchClass(objElement,blnState){ var strClassName = (blnState) ? "standardLinkOn" : "standardLinkOff"; if(objElement.className) objElement.className = strClassName; } //************************************************************* // MouseOver Functions //************************************************************* function displayBox(strElement1,strElement2,strElement3,strElement4){ if(document.all){ document.all[strElement1].style.display = "block"; document.all[strElement2].style.display = "block"; document.all[strElement3].style.display = "none"; document.all[strElement4].style.display = "none"; } else if (document.layers){ document.layers(strElement1).style.display = "block"; document.layers(strElement2).style.display = "block"; document.layers(strElement3).style.display = "none"; document.layers(strElement4).style.display = "none"; } else if (document.getElementById){ document.getElementById(strElement1).style.display = "block"; document.getElementById(strElement2).style.display = "block"; document.getElementById(strElement3).style.display = "none"; document.getElementById(strElement4).style.display = "none"; } } function hideBox(strElement1,strElement2,strElement3,strElement4){ if(document.all){ document.all[strElement1].style.display = "none"; document.all[strElement2].style.display = "none"; document.all[strElement3].style.display = "block"; document.all[strElement4].style.display = "block"; } else if (document.layers){ document.layers(strElement1).style.display = "none"; document.layers(strElement2).style.display = "none"; document.layers(strElement3).style.display = "blockz"; document.layers(strElement4).style.display = "block"; } else if(document.getElementById){ document.getElementById(strElement1).style.display = "none"; document.getElementById(strElement2).style.display = "none"; document.getElementById(strElement3).style.display = "block"; document.getElementById(strElement4).style.display = "block"; } } //************************************************************* // Currency Functions //************************************************************* function CurrencyConverter() { var screenleft = (window.screen.width - 673) / 2; var screentop = (window.screen.height - 540) / 2; screenleft = 100 screentop = 100 window.open("http://www.moneycorp.com/converter/skyconv.html","incur","height=540,width=673,fullscreen=no,toolbar=no,menubar=no,location=no,resizable=no,scrollbars=no,status=no,directories=no,channelmode=no,top=" + screentop + ",left=" + screenleft + ""); } //************************************************************* // Search Functions //************************************************************* function startsearch(){ document.form1.action = "salesSearchResults.asp"; document.form1.submit(); //PleaseWait.className='gone'; } function submitTo(url){ document.form1.action = url document.form1.submit(); }