function clear_textbox() { if (document.zipbox.zip.value=="Enter Zip Code") document.zipbox.zip.value=""; } function clear_textboxtwo() { if (document.zipbox2.zip.value=="Zip Code") document.zipbox2.zip.value=""; } function clear_textboxthree() { if (document.zipbox3.zip.value=="Zip Code") document.zipbox3.zip.value=""; } function clear_textboxfour() { if (document.zipbox4.zip.value=="Zip Code") document.zipbox4.zip.value=""; } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i -1){ // alert ("Serach Text: " + AgentSrch.value + " " + document.f_other.agent_select.options[i+1].value); LstBoxName.options[i+1].selected =true; return; } } } // Function ChangeDisplayByID // Purpose: Changes the css display attribute of the given id to spec'd value // Input: // elmID Id of an html object we want to change the display value for // value value we want to change the display style to: probably either 'none' or 'block' // Output: None // Author: GSF // Created 9/10/2004 function ChangeDisplayByID( elmID, value ) { var node = document.getElementById( elmID ); if( node ) { // alert("Found 1: " + elmID + " with right class changing to:|" + value +"|" ); node.style.display = value; } return; } // Function: SetAccessoriesCheckBoxCookies // Purpose: Set a cookie indicating whether the user selected the accessorries checkbox // so we can persist the checkbox throught out the user experience. Use only on specialoffer // input: // output none // Created by: lz 2/15/2005 function SetAccessoriesCheckBoxCookies() { if(document.frmSpecialOffer.Accessories.checked) { document.cookie = "AccessoriesChecked=True" ; } else { document.cookie = "AccessoriesChecked=False" ; } }