	 var geocoder;
	 var map;
	 function initialize(query) {
		 var query = query;
	 	geocoder = new google.maps.Geocoder();
		 var myOptions = {zoom:13, mapTypeId: google.maps.MapTypeId.ROADMAP}
		 map = new google.maps.Map(document.getElementById("InmuebleMap"), myOptions);
		 codeAddress(query);
	 }
	 function codeAddress(query) {
	 	var address = query;
	 	if (geocoder) {
	 		geocoder.geocode( { 'address': address}, function(results, status) {
		 		if (status == google.maps.GeocoderStatus.OK) {
			 		map.setCenter(results[0].geometry.location);
			 		var Rah_marker = 'http://www.rentahouse.com.ve/Images/markers2/image.png'; 
			 		var Rah_shadow_marker = 'http://www.rentahouse.com.ve/Images/markers2/shadow.png'; 
			 		var marker = new google.maps.Marker({
			 			position: results[0].geometry.location,
			 			map: map,
			 			draggable:false,
			 			icon:Rah_marker,
			 			shadow:Rah_shadow_marker,
			 			title:'RAH test'
			 		});
		 		}	
		 		else {alert("Geocode was not successful for the following reason: " + status); }
	 		});
	 	}
	 }
		function TabOn(divId){document.getElementById(divId).style.background='red';}
		function TabOff(divId){document.getElementById(divId).style.background='lightgrey';}
		function hide(divId){document.getElementById(divId).style.display='none';}
		function unhide(divId){document.getElementById(divId).style.display='block';}
		function visible(divId){document.getElementById(divId).style.visibility='visible';}
		function invisible(divId){document.getElementById(divId).style.visibility='hidden';}
