function inputc(f, t) {
	if (f.value==t) {
		f.value='';
		f.style.color ="#000";
	}
}

function inputr(f, t) {
	if (f.value=='') {
		f.value=t;
		f.style.color ="#AAA";
	}
}

function initialize() {
	var mapSatellite = false;
	var latlng = new google.maps.LatLng(51.6377767, 0.5026837);
	var myOptions = {
		zoom: 10,
		center: latlng,
		panControl: false,
		zoomControl: true,
		zoomControlOptions: {
			style: google.maps.ZoomControlStyle.SMALL
		},
		mapTypeControl: true,
		scaleControl: true,
		streetViewControl: true,
		overviewMapControl: false,
		mapTypeId: google.maps.MapTypeId.ROADMAP
	};
	var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
	var marker = new google.maps.Marker({
		position: latlng,
		map: map,
		title:"Smile Photographic Studio"
		// icon: "../images/photo.png"
	});
	google.maps.event.addListener(marker, 'click', function() {
		if (mapSatellite) {			
			map.setCenter(latlng);
			map.setZoom(10);
			map.setMapTypeId(google.maps.MapTypeId.ROADMAP);
			mapSatellite = false;
		}
		else {
			map.setCenter(latlng);
			map.setZoom(17);
			map.setMapTypeId(google.maps.MapTypeId.HYBRID);
			mapSatellite = true;
		}
	});
}
