document.domain="domain.com.au";function PopupImage(e,f){if(typeof SymRealWinOpen!="undefined"){if(document.all){window.open=SymRealWinOpen;}}var d=(screen.width-1005)/2;var a=(screen.height-750)/2;var b="height=690,width=995,";b+="top="+a+",";b+="left="+d+",";b+="scrollbars=no,resizable=yes";if(f){e+="&st=1";}var c=window.open(e,"ImageWindow",b);c.focus();}function DisplayStreetViewLink(b){var a=$get(b);if(a){a.style.display="block";}}function InitPropertyDetails(){document.body.className+=" scriptable";}function getQuerystring(c,a){if(a==null){a="";}c=c.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var b=new RegExp("[\\?&]"+c+"=([^&#]*)");var d=b.exec(window.location.href);if(d==null){return a;}else{return d[1];}}function SetupDrivingDirections(i,h,d,a,c,f){var g;h=$get(h);if(i&&h){g=new GDirections(i,h);GEvent.addListener(g,"error",function(){var e="An unknown error occurred.";if(g.getStatus().code==G_GEO_UNKNOWN_ADDRESS){e="No corresponding geographic location could be found for one of the specified addresses. This may be due to the fact that the address is relatively new, or it may be incorrect.\nError code: "+g.getStatus().code;}else{if(g.getStatus().code==G_GEO_SERVER_ERROR){e="A geocoding or directions request could not be successfully processed, please provide more address information.\n Error code: "+g.getStatus().code;}else{if(g.getStatus().code==G_GEO_MISSING_QUERY){e="The HTTP q parameter was either missing or had no value. For geocoder requests, this means that an empty address was specified as input. For directions requests, this means that no query was specified in the input.\n Error code: "+g.getStatus().code;}else{if(g.getStatus().code==G_GEO_BAD_KEY){e="The given key is either invalid or does not match the domain for which it was given. \n Error code: "+g.getStatus().code;}else{if(g.getStatus().code==G_GEO_BAD_REQUEST){e="A directions request could not be successfully parsed.\n Error code: "+g.getStatus().code;}}}}}var j=$get(d);if(j){j.innerHTML=e;}});}if(g){var b=a+" to "+c+", "+f;g.load(b);}}if(typeof(Sys)!=="undefined"){Sys.Application.notifyScriptLoaded();}
