//************************************************************* // MouseOver Functions //************************************************************* function switchImage(strId,blnState){ var strImageName = (blnState) ? "/_images/" + strId + "-1.gif" : "/_images/" + strId + "-0.gif"; document.images[strId].src = strImageName; } function switchClass(objElement,blnState){ var strClassName = (blnState) ? "standardLinkOn" : "standardLinkOff"; if(objElement.className) objElement.className = strClassName; } function switchProperty(strImage){ document.images["main"].src = "/_images/" + strImage + ".jpg" } function switchProperty01(strImage){ document.images["main"].src = strImage + ".jpg" } function swapImage(strImage){ document.getElementById('mainImage').src = "_images/_propmonth/property-month-" + strImage + ".jpg"; } function swapImage02(strImage){ document.getElementById('mainImage').src = "_images/_propweek/property-week-" + strImage + ".jpg"; } //************************************************************* // Click Functions //************************************************************* function goHome() { if(confirm("You may lose properties added to a short list if you continue.\n\nAre you sure you want to continue?")){ location = "orders_01.asp"; } else { history.back(); } } //************************************************************* // Show/Hide Functions //************************************************************* function displayBox(strElement1,strElement2,strElement3){ if(document.all){ document.all[strElement1].style.display = "block"; document.all[strElement2].style.display = "block"; document.all[strElement3].style.display = "none"; }else if(document.getElementById){ document.getElementById(strElement1).style.display = "table-row"; document.getElementById(strElement2).style.display = "table-row"; document.getElementById(strElement3).style.display = "none"; } } function hideBox(strElement1,strElement2,strElement3){ if(document.all){ document.all[strElement1].style.display = "none"; document.all[strElement2].style.display = "none"; document.all[strElement3].style.display = "block"; }else if(document.getElementById){ document.getElementById(strElement1).style.display = "none"; document.getElementById(strElement2).style.display = "none"; document.getElementById(strElement3).style.display = "table-row"; } } function feriaMonths(strShow){ document.getElementById('banksContent').style.display = "none"; document.getElementById('janContent').style.display = "none"; document.getElementById('febContent').style.display = "none"; document.getElementById('marContent').style.display = "none"; document.getElementById('aprContent').style.display = "none"; document.getElementById('mayContent').style.display = "none"; document.getElementById('junContent').style.display = "none"; document.getElementById('julContent').style.display = "none"; document.getElementById('augContent').style.display = "none"; document.getElementById('sepContent').style.display = "none"; document.getElementById('octContent').style.display = "none"; document.getElementById('novContent').style.display = "none"; document.getElementById('decContent').style.display = "none"; document.getElementById(strShow).style.display = "block"; } //************************************************************* // Malaga Area Drop Menus //************************************************************* function setAreas(strArea){ //Show the area list box document.getElementById('areaSelected').style.display = "block"; //Show the area list box document.getElementById('areaSelected').style.display = "block"; var total=document.frmBuying.buyingRegions.options.length for (i="0" ;i