	var map = null;
	var pinID = 1;
	var findcontrol = false;
	var layerid=1;
	var zoom=12;
	var lattotal=0;
	var lontotal=0;

	var maplocation1 = new Array();
	maplocation1["lat"]=38.791375;
	maplocation1["lon"]=-104.84906;
	maplocation1["title"]="The Broadmoor";
	maplocation1["desc"]="<img src=\"images/interior/broadmoor-thumb.jpg\" align=\"left\" style=\"margin-right:10px;\" /> Lake Avenue<br /> Colorado Springs, CO 80906";

	var maplocation2 = new Array();
	maplocation2["lat"]=38.796293;
	maplocation2["lon"]=-104.795107;
	maplocation2["title"]="Crowne Plaza Colorado Springs Hotel";
	maplocation2["desc"]="2886 South Circle Drive<br />Colorado Springs, CO 80906";

	var maplocation3 = new Array();
	maplocation3["lat"]=38.785457;
	maplocation3["lon"]=-104.82541;
	maplocation3["title"]="Cheyenne Mountain Resort";
	maplocation3["desc"]="3225 Broadmoor Valley Road<br />Colorado Springs, CO 80906";

	var maplocation4 = new Array();
	maplocation4["lat"]=38.7939;
	maplocation4["lon"]=-104.800287;
	maplocation4["title"]="DoubleTree Hotel";
	maplocation4["desc"]="1775 E. Cheyenne Mountain Blvd.<br /> Colorado Springs, CO 80906";

	var maplocations=new Array(maplocation1, maplocation2, maplocation3, maplocation4);

	function GetMap() {
		map = new VEMap('map');
		map.SetDashboardSize(VEDashboardSize.Tiny);
		map.LoadMap(new VELatLong( ( maplocation1["lat"] ), ( maplocation1["lon"] ) ), zoom ,'r' , false);

		for ( var i = 0; i < maplocations.length; i++) {
			var shape = new VEShape(VEShapeType.Pushpin, new VELatLong(maplocations[i]["lat"], maplocations[i]["lon"]));
			shape.SetTitle(maplocations[i]["title"]);
			shape.SetDescription(maplocations[i]["desc"]);
			pinID++;
			map.AddShape(shape);
			lattotal += maplocations[i]["lat"];
			lontotal += maplocations[i]["lon"];
		}
		latavg = lattotal/maplocations.length;
		lonavg = lontotal/maplocations.length;
		map.SetCenter( new VELatLong( ( maplocation1["lat"] ), ( maplocation1["lon"] ) ), zoom );
		map.HideDashboard();
	}

	$(function() {
		if (BrowserDetect.browser != "Safari" && BrowserDetect.browser != "Opera") {
			GetMap();
		} else {
			$('div#map').html('<img src="images/interior/map.gif" alt="" />');	
		}
	});
