/* Flash detection */



/* Date and time */

function date(){
		document.write('<font size="1" font face="Arial">' + Date()+"&nbsp;" + '</font>')
}

/* Google Maps Function */

function showAddress(map,address) {
      if (GBrowserIsCompatible()) {
           map = new GMap2(document.getElementById(map));
              geocoder = new GClientGeocoder();
              if (geocoder) {
                geocoder.getLatLng(
                  address,
                  function(point) {
                    if (!point) {

                    } else {

                      map.setCenter(point, 13);
                      var marker = new GMarker(point);
                      map.addOverlay(marker);
                      //marker.openInfoWindowHtml(address);
                    }
                  }
                );
                
         } // end if
         
         
      }
} //end function



function changeImage(filename)
         {
           mainimage.src = filename;
         }
         
function OpenWindow(URL) {
             oChildWindow = window.open(URL, "ChildWindow", "width=300,height=400");

             
}

function OpenPropertyDetail(URL) {
             oChildWindow = window.open(URL, "PropertyDetail", "width=550,height=700,scrollbars=1,resizeable=1");

             
}

function OpenScheduleShowing(URL) {
             oChildWindow = window.open(URL, "ScheduleShowing", "width=600,height=700,scrollbars=1,resizeable=1");

             
}
function OpenCalc(URL) {
             oChildWindow = window.open(URL, "ScheduleShowing", "width=270,height=370,scrollbars=0,resizeable=1");

             
}
function DSH(URL) {
             oChildWindow = window.open(URL, "ScheduleShowing", "width=270,height=370,scrollbars=0,resizeable=1");

             
}

