// JavaScript Document
				
		var geocoder = new GClientGeocoder();
		function displayPoint(map, markers, marker, index){
			if ($('#map_message').is(':hidden')) {//Allow toggling of markers
				$('#map_message').fadeIn();
			}
			else{//Remove all .active classes and hide markers
				$('#map_message').hide();
				$(".active").removeClass();
			}
			//$("#map_message").hide();//Default behaviour, doesn't allow toggling
			
			var moveEnd = GEvent.addListener(map, "moveend", function(){
				var markerOffset = map.fromLatLngToDivPixel(marker.getLatLng());
				$("#map_message")
					.html('<div class="xbtn"></div>' + (markers[index][0]))//Use information from array
					.fadeIn()
					.css({ top:markerOffset.y, left:markerOffset.x });
			GEvent.removeListener(moveEnd);
			});
			map.panTo(marker.getLatLng());
		}	
		
		function setActive(el){
			$(".active").removeClass();//Remove all .active classes
			$("#map_list").find('li').eq(el).addClass('active');//Find list element equal to index number and set active
			$(el).addClass('active');//Set active if list element clicked directly
		}
		
		function configureOverlays($this, map, markers, mark, i, delayTime)
		{
			//setTimeout(function(){ 
				map.addOverlay(mark);
		/*==========================================================
						configureOverlays-List Setup
		==========================================================*/
		
				//Declared variables of the array. Label:property name, Statelabel:State
				var label = markers[i][1];
				var stateLabel = markers[i][3];
				
				//var orderingByState = typeof(markers[i][2]);
					
					//if(orderingByState == "object")
					//{
						// Populate state using variable
						
						// hide blank entrie function
						if(stateLabel == ""){
							$("<li />")
							.html(stateLabel)//Use list item label from array
							.css({'display' : 'none'})
							.appendTo("#map_list");
						}
						else
						{
							$("<li />")
								.html(stateLabel)//Use list item label from array
								.css({ 'color' : '#3b73a9', 'background' : '#f5f5f5', 'font-weight' : 'bold', 'cursor' : 'default', 'display' : 'block', 'width' : '510px'})
								.appendTo("#map_list");	
						}
						
						// Populate property using variables
						$("<li />")
							.html(label)//Use list item label from array
							.css({ 'width' : '162px', 'padding-bottom' : '10px' , 'padding-top' : '10px'})
							.click(function(){
								displayPoint(map, markers, mark, i);
								setActive(this);//Show active state
								
							})
						.appendTo("#map_list");
					//}
					//else
					//{
						//alert('The city of ');
											 
					//}
				
						
											 
					
					
		/* ======================================================== 
					//configureOverlays-Overlay Events
		   ========================================================	*/		
			
				GEvent.addListener(mark, "click", function(){
					displayPoint(map, markers, mark, i);
					setActive(i);//Show active location
				});
				
				displayPoint(map, markers, mark, i);
				setActive(i);//Show active location
				if (i == (markers.length - 1)) {//If last item in array
					//setTimeout(function(){//Remove active class and fade marker after delay
					$("#map_message").fadeOut(3500);
						//setActive();
					//}, 3500);
				}
			//}, delayTime); 		
		}
		$(document).ready(function(){ //Start script when ready
				   
			if (document.getElementById("map_canvas")) {//Checks to see that the page element exists and to prevent conflict with other maps
				
				//Default map center location
				var defaultLat = 39.57182223734374;
				var defaultLon = -100.01953125;
				
				
				
				var markers = new Array();
markers[0] = ["<strong>Bayville Shores</strong><br/>Route 54, Bayside, Fenwick Island, Delaware, United States, 19944 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bayvilleshores.aspx\">View Property</a>", "Bayville Shores", (new GMarker(new GLatLng(39.0833862,-75.457592))),"Delaware"];
markers[1] = ["<strong>Bethany Bay</strong><br/>606 Crowley Drive, Bethany Beach, Delaware, United States, 19970 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bethanybay.aspx\">View Property</a>", "Bethany Bay", (new GMarker(new GLatLng(38.569948,-75.0993785))),""];
markers[2] = ["<strong>East of the Sun</strong><br/>524 East of the Sun, Route 54, Fenwick Island, Delaware, United States, 19944 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/eastofthesun.aspx\">View Property</a>", "East of the Sun", (new GMarker(new GLatLng(38.4623346,-75.0512922))),""];
markers[3] = ["<strong>Magnolia</strong><br/>30413 Cedar Neck Road, Ocean View, Delaware, United States, 19970 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/magnolia.aspx\">View Property</a>", "Magnolia", (new GMarker(new GLatLng(38.5700499,-75.0808248))),""];

markers[4] = ["<strong>Mallard Lakes</strong><br/>Route 54, Bayside, Fenwick Island, Delaware, United States, 19944 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/mallardlakes.aspx\">View Property</a>", "Mallard Lakes", (new GMarker(new GLatLng(39.0833862,-75.457592))),""];

markers[5] = [/*"<strong>Swann Cove</strong><br/>36996 Barn Owl, Selbyville, DE 19975 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/swanncove.aspx\">View Property</a>", "Swann Cove", (new GMarker(new GLatLng(38.4751772,-75.1931756))),""*/];
markers[6] = ["<strong>Angelfish</strong><br/>14 133rd Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/angelfish.aspx\">View Property</a>", "Angelfish", (new GMarker(new GLatLng(38.4383767,-75.0529407))),"Maryland"];
markers[7] = ["<strong>Bahama Bay</strong><br/>700 Mooring Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bahamabay.aspx\">View Property</a>", "Bahama Bay", (new GMarker(new GLatLng(38.4089053,-75.0670649))),""];
markers[8] = ["<strong>Balmoral</strong><br/>115 Jamestown Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/balmoral.aspx\">View Property</a>", "Balmoral", (new GMarker(new GLatLng(38.4216928,-75.0579357))),""];
markers[9] = ["<strong>Bay Princess</strong><br/>100 81st Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bayprincess.aspx\">View Property</a>", "Bay Princess", (new GMarker(new GLatLng(38.4002534,-75.0615514))),""];
markers[10] = ["<strong>Bayspot</strong><br/>120 53rd Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bayspot.aspx\">View Property</a>", "Bayspot", (new GMarker(new GLatLng(38.377967,-75.0695135))),""];
markers[11] = ["<strong>Baywatch</strong><br/>110 120th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/baywatch.aspx\">View Property</a>", "Baywatch", (new GMarker(new GLatLng(38.4255864,-75.0561194))),""];
markers[12] = ["<strong>Beach Club</strong><br/>112th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/beachclub.aspx\">View Property</a>", "Beach Club", (new GMarker(new GLatLng(38.4190952,-75.0592725))),""];
markers[13] = ["<strong>Blue Marlin</strong><br/>104 Edward Taylor Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bluemarlin.aspx\">View Property</a>", "Blue Marlin", (new GMarker(new GLatLng(38.426059,-75.058401))),""];
markers[14] = ["<strong>Bluewater East</strong><br/>11 135th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bluewatereast.aspx\">View Property</a>", "Bluewater East", (new GMarker(new GLatLng(38.4404697,-75.0534401))),""];
markers[15] = ["<strong>Boca Grand</strong><br/>5907 Atlantic Avenue, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bocagrand.aspx\">View Property</a>", "Boca Grand", (new GMarker(new GLatLng(38.3829775,-75.0648828))),""];
markers[16] = ["<strong>Bonnie Belle</strong><br/>12600 Coastal Highway, Ocean City, Maryland, United States, 18742 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bonniebelle.aspx\">View Property</a>", "Bonnie Belle", (new GMarker(new GLatLng(38.4313746,-75.0547568))),""];

markers[17] = ["<strong>Ocean Pines</strong><br/>115 Robin Hood Trail Berlin, MD 21811 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/oceanpines.aspx\">View Property</a>", "Ocean Pines", (new GMarker(new GLatLng(38.363854,-75.134342))),""];

markers[18] = ["<strong>Tiffanie by the Sea</strong><br/>5500 Coastal Highway, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/tiffaniebythesea.aspx\">View Property</a>", "Tiffanie by the Sea", (new GMarker(new GLatLng(38.3797731,-75.0679757))),""];
markers[19] = ["<strong>North Bay Shore</strong><br/>123D Newport Bay Drive, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/northbayshore.aspx\">View Property</a>", "North Bay Shore", (new GMarker(new GLatLng(38.4227754,-75.0576989))),""];
markers[20] = ["<strong>Ponte Vista</strong><br/>735 Bradley Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/pontevista.aspx\">View Property</a>", "Ponte Vista", (new GMarker(new GLatLng(38.4081745,-75.0685177))),""];

markers[21] = [/*"<strong>Tiburon</strong><br/>13908 North Ocean Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/tiburon.aspx\">View Property</a>", "Tiburon", (new GMarker(new GLatLng(38.444899,-75.0595158))),""*/];

markers[22] = ["<strong>Sonesta I</strong><br/>14307 Lighthouse Avenue, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/sonestaI.aspx\">View Property</a>", "Sonesta I", (new GMarker(new GLatLng(38.4487192,-75.0560161))),""];
markers[23] = ["<strong>Sea Galleon</strong><br/>133rd Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/seagalleon.aspx\">View Property</a>", "Sea Galleon", (new GMarker(new GLatLng(38.4387509,-75.0566138))),""];
markers[24] = ["<strong>Wight Bay</strong><br/>Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/wightbay.aspx\">View Property</a>", "Wight Bay", (new GMarker(new GLatLng(38.3465033,-75.1060177))),""];
markers[25] = ["<strong>Triton's Trumpet</strong><br/>Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/tritonstrumpet.aspx\">View Property</a>", "Triton's Trumpet", (new GMarker(new GLatLng(38.3465033,-75.1060177))),""];
markers[26] = ["<strong>Rusty Anchor</strong><br/>Rusty Anchor Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/rustyanchor.aspx\">View Property</a>", "Rusty Anchor", (new GMarker(new GLatLng(38.4088824,-75.0670249))),""];
markers[27] = ["<strong>Tradewinds</strong><br/>7 139th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/tradewinds.aspx\">View Property</a>", "Tradewinds", (new GMarker(new GLatLng(38.4441399,-75.0511505))),""];

markers[28] = [/*"<strong>Caine Keys II</strong><br/>128 Winter Harbor Drive, Ocean City, Maryland, United States, 21482 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/cainekeysII.aspx\">View Property</a>", "Caine Keys II", (new GMarker(new GLatLng(38.4169411,-75.0623416))),""*/];

markers[29] = ["<strong>Marlin Cove II</strong><br/>120th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/marlincoveII.aspx\">View Property</a>", "Marlin Cove II", (new GMarker(new GLatLng(38.4258004,-75.0586712))),""];
markers[30] = ["<strong>Raffles</strong><br/>Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/raffles.aspx\">View Property</a>", "Raffles", (new GMarker(new GLatLng(38.3465033,-75.1060177))),""];
markers[31] = ["<strong>Constellation House North</strong><br/>11 53rd St, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/constellationhousenorth.aspx\">View Property</a>", "Constellation House North", (new GMarker(new GLatLng(38.377394,-75.06825))),""];
markers[32] = ["<strong>Harbour Bay</strong><br/>11618 Seward Rd, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/harbourbay.aspx\">View Property</a>", "Harbour Bay", (new GMarker(new GLatLng(38.422771,-75.0655551))),""];
markers[33] = ["<strong>Portofino</strong><br/> Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/portofino.aspx\">View Property</a>", "Portofino", (new GMarker(new GLatLng(38.3465033,-75.1060177))),""];
markers[34] = ["<strong>Maresol</strong><br/>56th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/maresol.aspx\">View Property</a>", "Maresol", (new GMarker(new GLatLng(38.380293,-75.0680241))),""];
markers[35] = ["<strong>North Ocean Road</strong><br/>13707 N. Ocean Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/northoceanroad.aspx\">View Property</a>", "North Ocean Road", (new GMarker(new GLatLng(38.4436163,-75.0596679))),""];
markers[36] = ["<strong>Sunset South</strong><br/>10 68th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/sunsetsouth.aspx\">View Property</a>", "Sunset South", (new GMarker(new GLatLng(38.3896131,-75.06354))),""];
markers[37] = ["<strong>Decatur Farms</strong><br/>449 Dueling Way, Berlin, Maryland, United States, 21811 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/decaturfarms.aspx\">View Property</a>", "Decatur Farms", (new GMarker(new GLatLng(38.3226153,-75.2176892))),""];
markers[38] = ["<strong>Dominica Beach</strong><br/>5 41st Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/dominicabeach.aspx\">View Property</a>", "Dominica Beach", (new GMarker(new GLatLng(38.3678776,-75.0706811))),""];
markers[39] = ["<strong>Harbour Club</strong><br/>100 120th St, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/harbourclub.aspx\">View Property</a>", "Harbour Club", (new GMarker(new GLatLng(38.4255471,-75.0559101))),""];
markers[40] = ["<strong>Windjammer</strong><br/>46th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/windjammer.aspx\">View Property</a>", "Windjammer", (new GMarker(new GLatLng(38.3719181,-75.0695197))),""];

markers[41] = ["<strong>Glen Riddle</strong><br/>11100 Blockade Lane Berlin, MD 21811<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/glenriddle.aspx\">View Property</a>", "Glen Riddle", (new GMarker(new GLatLng(38.345355,-75.133452))),""];


markers[42] = ["<strong>English Tower</strong><br/>10000 Coastal Highway, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/englishtower.aspx\">View Property</a>", "English Tower", (new GMarker(new GLatLng(38.412885,-75.0570369))),""];


markers[43] = ["<strong>Key Windward</strong><br/>117TH STREET, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/keywindward.aspx\">View Property</a>", "Key Windward", (new GMarker(new GLatLng(38.3394108,-75.1136721))),""];
markers[44] = ["<strong>Lorelei II</strong><br/>125th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/loreleiII.aspx\">View Property</a>", "Lorelei II", (new GMarker(new GLatLng(38.4306309,-75.0576952))),""];
markers[45] = ["<strong>Baywind II</strong><br/>511 Robin Drive, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/baywindII.aspx\">View Property</a>", "Baywind II", (new GMarker(new GLatLng(38.3576819,-75.0773349))),""];
markers[46] = ["<strong>Helmsman</strong><br/>123rd , Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/helmsman.aspx\">View Property</a>", "Helmsman", (new GMarker(new GLatLng(38.3394108,-75.1136721))),""];
markers[47] = ["<strong>Discovery</strong><br/> Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/discovery.aspx\">View Property</a>", "Discovery", (new GMarker(new GLatLng(38.3465033,-75.1060177))),""];
markers[48] = ["<strong>Sea Bird</strong><br/>303 140th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/seabird.aspx\">View Property</a>", "Sea Bird", (new GMarker(new GLatLng(38.4454417,-75.0557179))),""];
markers[49] = ["<strong>Sand Pebbles</strong><br/>65th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/sandpebbles.aspx\">View Property</a>", "Sand Pebbles", (new GMarker(new GLatLng(38.3892805,-75.0721277))),""];
markers[50] = ["<strong>Kristy Condo</strong><br/>28th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/kristycondo.aspx\">View Property</a>", "Kristy Condo", (new GMarker(new GLatLng(38.3568192,-75.0739578))),""];
markers[51] = ["<strong>Wan Mar</strong><br/>14411 Tunnel Avenue, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/wanmar.aspx\">View Property</a>", "Wan Mar", (new GMarker(new GLatLng(38.4500151,-75.0567496))),""];
markers[52] = ["<strong>Sand Cay</strong><br/>711 Mooring Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/sandcay.aspx\">View Property</a>", "Sand Cay", (new GMarker(new GLatLng(38.4089556,-75.0675173))),""];
markers[53] = ["<strong>Mystic Point Condominiums</strong><br/>12 42nd Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/mysticpointcondominiums.aspx\">View Property</a>", "Mystic Point Condominiums", (new GMarker(new GLatLng(38.368642,-75.0700153))),""];
markers[54] = ["<strong>Bayshore Central</strong><br/>508 Robin Drive, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bayshorecentral.aspx\">View Property</a>", "Bayshore Central", (new GMarker(new GLatLng(38.3576819,-75.0773349))),""];
markers[55] = ["<strong>Harbour Sails I</strong><br/>169 Jamestown Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/HarbourSailsI.aspx\">View Property</a>", "Harbour Sails I", (new GMarker(new GLatLng(38.422413,-75.064293))),""];
markers[56] = ["<strong>Hidden Harbour</strong><br/>123rd Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/hiddenharbour.aspx\">View Property</a>", "Hidden Harbour", (new GMarker(new GLatLng(38.4284948,-75.0569593))),""];
markers[57] = ["<strong>Lost Colony</strong><br/>144th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/lostcolony.aspx\">View Property</a>", "Lost Colony", (new GMarker(new GLatLng(38.4495093,-75.0535683))),""];
markers[58] = ["<strong>Heron Run</strong><br/>6506 Coastal Highway, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/heronrun.aspx\">View Property</a>", "Heron Run", (new GMarker(new GLatLng(38.3874656,-75.0654616))),""];
markers[59] = ["<strong>Club O Villa II</strong><br/>120th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/ClubOVillaII.aspx\">View Property</a>", "Club O Villa II", (new GMarker(new GLatLng(38.4258004,-75.0586712))),""];
markers[60] = ["<strong>Pine Needle</strong><br/>14400 Jarvis Avenue, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/pineneedle.aspx\">View Property</a>", "Pine Needle", (new GMarker(new GLatLng(38.4502309,-75.0587157))),""];
markers[61] = ["<strong>Crystal Sands</strong><br/>145th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/crystalsands.aspx\">View Property</a>", "Crystal Sands", (new GMarker(new GLatLng(38.4503616,-75.0522991))),""];
markers[62] = ["<strong>Windsong</strong><br/>Mooring Rd, Ocean City, Maryland, United States, 21842-4912 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/windsong.aspx\">View Property</a>", "Windsong", (new GMarker(new GLatLng(38.4095501,-75.0707251))),""];
markers[63] = ["<strong>Jamaica Daybreak</strong><br/>32nd Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/jamaicadaybreak.aspx\">View Property</a>", "Jamaica Daybreak", (new GMarker(new GLatLng(38.361102,-75.074942))),""];
markers[64] = ["<strong>Pintail Point</strong><br/>94th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/pintailpoint.aspx\">View Property</a>", "Pintail Point", (new GMarker(new GLatLng(38.4097962,-75.0639834))),""];
markers[65] = ["<strong>Jamestown Inlet</strong><br/>143 Jamestown Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/jamestowninlet.aspx\">View Property</a>", "Jamestown Inlet", (new GMarker(new GLatLng(38.421873,-75.061619))),""];
markers[66] = ["<strong>SeaTime</strong><br/>135th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/seatime.aspx\">View Property</a>", "SeaTime", (new GMarker(new GLatLng(38.4404697,-75.0534401))),""];
markers[67] = ["<strong>Condesa</strong><br/>38th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/condesa.aspx\">View Property</a>", "Condesa", (new GMarker(new GLatLng(38.3654689,-75.0710984))),""];
markers[68] = ["<strong>Sunset Bay</strong><br/>54th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/sunsetbay.aspx\">View Property</a>", "Sunset Bay", (new GMarker(new GLatLng(38.3785488,-75.0680143))),""];
markers[69] = ["<strong>Sky Haven</strong><br/>9 138th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/skyhaven.aspx\">View Property</a>", "Sky Haven", (new GMarker(new GLatLng(38.4431348,-75.0513015))),""];
markers[70] = ["<strong>Pelican</strong><br/>144th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/pelican.aspx\">View Property</a>", "Pelican", (new GMarker(new GLatLng(38.4495093,-75.0535683))),""];
markers[71] = ["<strong>Playa Flamingo</strong><br/>106 83rd Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/playaflamingo.aspx\">View Property</a>", "Playa Flamingo", (new GMarker(new GLatLng(38.4018017,-75.0607938))),""];
markers[72] = ["<strong>Ocean Terrace @ 69th</strong><br/>13 69th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/OceanTerrace69th.aspx\">View Property</a>", "Ocean Terrace @ 69th", (new GMarker(new GLatLng(38.3902938,-75.0626919))),""];
markers[73] = ["<strong>Key West Villa</strong><br/>300 Robin Drive, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/keywestvilla.aspx\">View Property</a>", "Key West Villa", (new GMarker(new GLatLng(38.357099,-75.0750332))),""];
markers[74] = ["<strong>Jockey Beach</strong><br/>123rd Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/jockeybeach.aspx\">View Property</a>", "Jockey Beach", (new GMarker(new GLatLng(38.4284948,-75.0569593))),""];
markers[75] = ["<strong>Grandview</strong><br/>13 85th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/grandview.aspx\">View Property</a>", "Grandview", (new GMarker(new GLatLng(38.4033347,-75.0600689))),""];
markers[76] = ["<strong>Sea Sands</strong><br/>140th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/seasands.aspx\">View Property</a>", "Sea Sands", (new GMarker(new GLatLng(38.4453531,-75.053953))),""];
markers[77] = ["<strong>Our Place at the Beach</strong><br/>119 Old Landing Road, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/ourplaceatthebeach.aspx\">View Property</a>", "Our Place at the Beach", (new GMarker(new GLatLng(38.4158255,-75.0601026))),""];
markers[78] = ["<strong>Orleans Court</strong><br/>14001 Coastal Highway, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/orleanscourt.aspx\">View Property</a>", "Orleans Court", (new GMarker(new GLatLng(38.445623,-75.053304))),""];
markers[79] = ["<strong>Breezy Seas</strong><br/>7 134th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/breezyseas.aspx\">View Property</a>", "Breezy Seas", (new GMarker(new GLatLng(38.4393649,-75.0525283))),""];
markers[80] = ["<strong>Marlin Cove I</strong><br/>106 120th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/marlincoveI.aspx\">View Property</a>", "Marlin Cove I", (new GMarker(new GLatLng(38.4255764,-75.0560318))),""];
markers[81] = ["<strong>Quarters Marine Cove</strong><br/>106 120th Street, Ocean City, Maryland, United States, 21842 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/quartersatmarlincove.aspx\">View Property</a>", "Quarters Marine Cove", (new GMarker(new GLatLng(38.4255764,-75.0560318))),""];

markers[82] = ["<strong>Severn I</strong><br/>17 139th Street Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/severni.aspx\">View Property</a>", "Severn I", (new GMarker(new GLatLng(38.4441546,-75.0513399))),""];

markers[83] = ["<strong>Gullway Villas</strong><br/>419 Lark Lane, Ocean City, MD<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/gullwayvillas.aspx\">View Property</a>", "Gullway Villas", (new GMarker(new GLatLng(38.3575694,-75.0804316))),""];

markers[84] = ["<strong>Thunder Island</strong><br/>107 Convention Center Drive, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/thunderisland.aspx\">View Property</a>", "Thunder Island", (new GMarker(new GLatLng(38.366913,-75.074258))),""];

markers[85] = ["<strong>Shawnee Village</strong><br/>55 Mountainview Circle, Shawnee on Delaware, Pennsylvania, United States, 18301 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/shawneevillage.aspx\">View Property</a>", "Shawnee Village", (new GMarker(new GLatLng(41.044304,-75.1127483))),"Pennsylvania"];

markers[86] = [/*"<strong>Snow Ridge Village</strong><br/>5905 Highway 17 South, Jack Frost Mountain, Blakeslee, Pennsylvania, United States, 18610 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/snowridgevillage.aspx\">View Property</a>", "Snow Ridge Village", (new GMarker(new GLatLng(32.1407277,-80.7557272))),""*/];

markers[87] = ["<strong>Woodfield Manor</strong><br/>Bush Rd., Swiftwater, Pennsylvania, United States, 18326 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/woodfieldmanor.aspx\">View Property</a>", "Woodfield Manor", (new GMarker(new GLatLng(41.1039775,-75.2820275))),""];
markers[88] = ["<strong>King's Creek Plantation</strong><br/>191 Cottage Cove Lane, Williamsburg, Virginia, United States, 23185 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/kingscreekplantation.aspx\">View Property</a>", "King's Creek Plantation", (new GMarker(new GLatLng(37.2429483,-76.7082655))),"Virginia"];
markers[89] = ["<strong>Lakeview Villas</strong><br/>419 King St, Basye, Virginia, United States, 22810 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/lakeviewvillas.aspx\">View Property</a>", "Lakeview Villas", (new GMarker(new GLatLng(38.799725,-78.7961441))),""];
//markers[86] = ["<strong>Wyndham Kingsgate</strong><br/>619 Georgetown Crescent , Williamsburg, Virginia, United States, 23185 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/wyndham kingsgate.aspx\">View Property</a>", "Wyndham Kingsgate", (new GMarker(new GLatLng(37.289922,-76.715899))),""];
markers[90] = ["<strong>Canaan Village Inn</strong><br/>HC 70, Box 286, State Route 32, Davis, West Virginia, United States, 26260 <br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/canaanvillageinn.aspx\">View Property</a>", "Canaan Village Inn", (new GMarker(new GLatLng(39.1287189,-79.4647739))),"West Virginia"];

markers[91] = ["<strong>Bayside at Bethany Lakes</strong><br/>38337 North Mill Lane, Ocean View, DE 19970<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/baysideatbethanylakes.aspx\">View Property</a>", "Bayside at Bethany Lakes", (new GMarker(new GLatLng(38.5610889,-75.0857679))),"West Virginia"];

markers[92] = ["<strong>Caine Woods</strong><br/>14103 Derrickson Avenue, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/cainewoods.aspx\">View Property</a>", "Caine Woods", (new GMarker(new GLatLng(38.447127,-75.055766))),"West Virginia"];

markers[93] = ["<strong>Ocean Aire</strong><br/>1711 Baltimore Avenue, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/OceanAire.aspx\">View Property</a>", "Ocean Aire", (new GMarker(new GLatLng(38.3469259,-75.078222))),""];

markers[94] = ["<strong>Salt Spray</strong><br/>600 Salt Spray, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/saltspray.aspx\">View Property</a>", "Salt Spray", (new GMarker(new GLatLng(38.4089184,-75.0648189))),""];

markers[95] = ["<strong>Sunny Seas</strong><br/>8 139th Street, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/SunnySeas.aspx\">View Property</a>", "Sunny Seas", (new GMarker(new GLatLng(38.44449,-75.051815))),""];

markers[96] = ["<strong>Silver Shores</strong><br/>9 84th St., Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/silvershores.aspx\">View Property</a>", "Silver Shores", (new GMarker(new GLatLng(38.402212,-75.060005))),""];

markers[97] = ["<strong>Ocean Point III</strong><br/>9 41st Street, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/oceanpointiii.aspx\">View Property</a>", "Ocean Point III", (new GMarker(new GLatLng(38.367679,-75.07092))),""];

markers[98] = ["<strong>Fifteen By the Sea</strong><br/>144th St., Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/fifteenbythesea.aspx\">View Property</a>", "Fifteen By the Sea", (new GMarker(new GLatLng(38.4494249,-75.0536044))),""];

markers[99] = ["<strong>Capri</strong><br/>11000 Coastal Highway, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/capri.aspx\">View Property</a>", "Capri", (new GMarker(new GLatLng(38.3365032,-75.0849058))),""];

markers[100] = ["<strong>Sea Breeze</strong><br/>606 Dory Road, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/seabreeze.aspx\">View Property</a>", "Sea Breeze", (new GMarker(new GLatLng(38.4081555,-75.0666568))),""];

markers[101] = ["<strong>Harbor Place</strong><br/>11611 Windward Drive (116th St.), Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/harborplace.aspx\">View Property</a>", "Harbor Place", (new GMarker(new GLatLng(38.3365032,-75.0849058))),""];

markers[102] = ["<strong>Ocean Princess</strong><br/>134th Street, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/oceanprincess.aspx\">View Property</a>", "Ocean Princess", (new GMarker(new GLatLng(38.4394753,-75.0535716))),""];

markers[103] = ["<strong>Cabana Beach</strong><br/>12708 Wight Street, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/cabanabeach.aspx\">View Property</a>", "Cabana Beach", (new GMarker(new GLatLng(38.4322881,-75.0527052))),""];

markers[104] = ["<strong>Ocean Village</strong><br/>9703 Village Lane, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/oceanvillageatoldbridge.aspx\">View Property</a>", "Ocean Village", (new GMarker(new GLatLng(38.333432,-75.11847))),""];

markers[105] = ["<strong>Caine Keys II</strong><br/>128 Winter Harbor Drive, Ocean City, MD<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/cainekeysII.aspx\">View Property</a>", "Caine Keys II", (new GMarker(new GLatLng(38.417557,-75.060586))),""];

markers[106] = ["<strong>Eastwinds</strong><br/>7001 Atlantic Avenue (70th St.), Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/eastwinds.aspx\">View Property</a>", "Eastwinds", (new GMarker(new GLatLng(38.3914745,-75.0644133))),""];

markers[107] = ["<strong>Sparkle Beach</strong><br/>19 141st Street, Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/sparklebeach.aspx\">View Property</a>", "Sparkle Beach", (new GMarker(new GLatLng(38.445944,-75.052107))),""];

markers[108] = ["<strong>Inn at Deep Creek</strong><br/>19638 Garrett Highway Oakland, MD 21550<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/innatdeepcreek.aspx\">View Property</a>", "Inn at Deep Creek", (new GMarker(new GLatLng(39.501729,-79.325601))),""];

markers[109] = ["<strong>Bayview Landing</strong><br/>317459 Oliver Drive Selbyville, DE 19975<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/bayviewlanding.aspx\">View Property</a>", "Bayview Landing", (new GMarker(new GLatLng(38.4512865,-75.0546349))),""];

markers[110] = ["<strong>Newport Bay</strong><br/>153 Newport Bay Drive Ocean City, MD 21842<br/><a href=\"/Properties/PropertiesbyRegion/MidAtlanticUS/newportbay.aspx\">View Property</a>", "Newport Bay", (new GMarker(new GLatLng(38.423636,-75.061819))),""];


				var map = new google.maps.Map2($("#map_canvas").get(0));//Initialise google maps
				map.setCenter(new GLatLng(defaultLat, defaultLon), 6);//Set location to the default and zoom level to 8
				//map.disableDoubleClickZoom();//Disable zooming
				
				//=============================
					//Zoom Functionality
				//=============================
				var customUI = map.getDefaultUI();
        		customUI.maptypes.hybrid = false; // Remove MapType.G_HYBRID_MAP
        		map.setUI(customUI);
				map.setMapType(G_PHYSICAL_MAP);
				
				

				//=============================
				      //Functions Called
				//=============================
				$.each(markers,function(i,marker){
					var delayTime = ((i * 0) / (0.5 * markers.length));//Delay time decreases as number of markers increases
					var mark;
					
					var location = typeof(marker[2]);
					
					if(location == "object") //Only for Get Lat String (not in use anymore)
					{
						var mark = marker[2];
						configureOverlays(this, map, markers, mark, i, delayTime);
					}
					else
					{
						
						//geocoder.getLatLng(
						//	 marker[0]
						//	,function(point) {
						//		mark = new GMarker(point);
						//		configureOverlays(this, map, markers, mark, i, delayTime);
						//	}
						//);							 
					}
					
					
				});
			
				$("#map_list").css("opacity","0.2").animate({opacity: 1}, 1100);//Fade in menu
				$("#map_message").appendTo(map.getPane(G_MAP_FLOAT_SHADOW_PANE));
			}//End if map_canvas exists
			
		/* 
		================================
		  X hide #map_message config 
		================================
		*/	
		$("#map_message").click(function () { 
			$("#map_message").hide(); 
		});	
			
			
			
		}); //End onReady
		
		
		
