function fieldExplanation(sFieldID,sFormID,sDefaultText)
{sInputValue=$(sFieldID).val();if(sInputValue==''){$(sFieldID).val(sDefaultText);}
$(sFieldID).bind('focus',function(e){sInputValue=$(this).val();if(sInputValue==sDefaultText){$(this).val('');}});$(sFieldID).bind('blur',function(e){sInputValue=$(this).val();if(sInputValue==''){$(this).val(sDefaultText);}});$(sFormID).bind('submit',function(){if($(sFieldID).val()==sDefaultText)
{$(sFieldID).val('');}});}
var oGeocoder;var oGoogleMap;function googleMapsLoad(sAddress)
{var latlng=new google.maps.LatLng(52.1326330,5.2912660);var myOptions={zoom:1,center:latlng,mapTypeControl:true,mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DROPDOWN_MENU},mapTypeId:google.maps.MapTypeId.ROADMAP}
oGoogleMap=new google.maps.Map(document.getElementById("googleMaps"),myOptions);if(typeof(sAddress)!='undefined')
{googleCodeAddress(sAddress);}}
function googleCodeAddress(sAddress)
{oGeocoder=new google.maps.Geocoder();if(oGeocoder)
{oGeocoder.geocode({'address':sAddress},function(results,status)
{if(status==google.maps.GeocoderStatus.OK)
{oGoogleMap.setCenter(results[0].geometry.location);oGoogleMap.setZoom(13);var marker=new google.maps.Marker({map:oGoogleMap,position:results[0].geometry.location});}
else
{alert("Geocode was not successful for the following reason: "+status);}});}}