
var navbarSearch_default="Address, City, or ZIP";function map_locateOrigin(){address=document.getElementById("address").value;geocoder=new GClientGeocoder();geocoder.getLatLng(address,function(point){if(!point){alert("We couldn't find '"+address+"'.  Did you type it in correctly?");}else{map.setCenter(point);var blueIcon=new GIcon(G_DEFAULT_ICON);blueIcon.image="/images/blue-map-marker.png";var marker=new GMarker(point,blueIcon);map.addOverlay(marker);}});}
function navbarSearch_onsubmit(){if(document.getElementById("navbar-search").value==navbarSearch_default){document.getElementById("navbar-search").value="";}}
function init(){var email=document.getElementById("manager-email");if(email&&(email.value=='')){email.style.color="#666";email.value="email";email.onfocus=function(){if(this.value=="email"){this.value="";this.style.color="#000";}}
email.onblur=function(){if(this.value==""){this.value="email";this.style.color="#666";}}}
var password=document.getElementById("manager-password");if(password&&(password.value=='')){password.style.color="#666";try{password.type="text";}catch(e){}
password.value="password";password.onfocus=function(){if(this.value=="password"){this.value="";try{this.type="password";}catch(e){}
this.style.color="#000";}}
password.onblur=function(){if(this.value==""){try{this.type="text";}catch(e){}
this.value="password";this.style.color="#666";}}}
var address=document.getElementById("navbar-search");if(address&&(address.value=='')){address.style.color="#666";address.value=navbarSearch_default;address.onfocus=function(){if(this.value==navbarSearch_default){this.value="";this.style.color="#000";}}
address.onblur=function(){if(this.value==""){this.value=navbarSearch_default;this.style.color="#666";}}}}