function imgChange(ID, newImg) {
	var temp = document.getElementById(ID);
	temp.src = OffImages[newImg].src;
}

function loadMap(lat, mylong) {
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map"));
		map.setCenter(new GLatLng(lat, mylong), 14);
		map.setUIToDefault();

		var custicon = new GIcon();
		custicon.image = "/images/icons/office_marker_green.gif";
		custicon.iconSize = new GSize(47, 37);
		custicon.iconAnchor = new GPoint(13, 24);

		markerOptions = { icon:custicon };

		var point = new GLatLng(lat, mylong);

		map.addOverlay(new GMarker(point, markerOptions));

		GEvent.addListener(map,'zoomend',function(){
			if (map.getZoom() > 14) {
				map.setZoom(14)
				document.getElementById('text-div').style.display = 'block';
			}
		});
	}
}

function OpenVid(url) {
	var mapwindow;

	mapwindow = window.open(url, "YouTube", "scrollbars=yes,resizable=yes,toolbar=yes,location=yes,menubar=yes,width=800,height=600");
}

function showReviews() {
	document.getElementById("otherRev").style.display = 'block';
	document.getElementById("showAllRevBot").style.display = 'none';
}