


<script language="javascript" type="text/javascript">
function showImage()
{    
if(window.location.origin == "https://northwoodsrealty.com")
{
  var imgurl = document.getElementById("imagesrc").value; 
document.getElementById("bimageurl").src = imgurl; 
 var x = document.getElementById("bimageurl");
    if (x.style.display === "none") {
        x.style.display = "block";
    } 
 }
}
function checkForm(){
if(window.location.origin != "https://northwoodsrealty.com")
return false;
if (document.getElementById("agent").selectedIndex <= -1)                 
    {	
       document.getElementById("agent").style.borderColor ="#ff0000";
        document.getElementById("agent").focus();
        return false;
    }
	else	{  document.getElementById("agent").style.borderColor ="#ddd";}
if (document.getElementById("office").selectedIndex < 1)                 
    {
       document.getElementById("office").style.borderColor ="#ff0000";
        document.getElementById("office").focus();
        return false;
    }
	else	{  document.getElementById("office").style.borderColor ="#ddd";}
 if(document.getElementById("mls").value == "")
 {
 document.getElementById("mls").style.borderColor ="#ff0000";
 document.getElementById("mls").focus();
 return false;
  }
  else	{  document.getElementById("mls").style.borderColor ="#ddd";}
   
 return true;
 }

</script>
