var drag_to_zoom_status = false;

function drag_to_zoom(){
	gzoomctrl.buttonClick_();
	/*if(!drag_to_zoom_status){
		drag_to_zoom_status = true;
		document.getElementById('bt_drag_to_zoom').src='/images/bt_drag_to_zoom_over.gif';
	}else{
		drag_to_zoom_status = false;
		document.getElementById('bt_drag_to_zoom').src='/images/bt_drag_to_zoom.gif';
	}*/
}

function zoom_map(act){
	switch(act){
		case 'in':
			extMap.zoomIn();
			break;
		case 'out':
			extMap.zoomOut();
			break;
		default:
			extMap.returnToSavedPosition();
			break;
	}
}
function move_map(direction){
	switch(direction){
		case 'north':
			extMap.panDirection(0,1);
			break;
		case 'south':
			extMap.panDirection(0,-1);
			break;
		case 'west':
			extMap.panDirection(1,0);
			break;
		case 'east':
			extMap.panDirection(-1,0);
			break;
	}
}
function resize_map(){
	//gzoomctrl.resetDragZoom_();
	drag_to_zoom_status = false;
	document.getElementById('bt_drag_to_zoom').src='/images/bt_drag_to_zoom.gif';
	var bmap = document.getElementById("map");
	var bt = document.getElementById("bt_expand");
	if (bmap.style.height == "92px") {
		bmap.style.height = "372px";
		extMap.checkResize();
		bt.innerHTML = '<a href="javascript:resize_map();"><img src="/images/07_reduce_map.jpg" alt="Minimize Map" width="170" height="26" border="0"></a>';
		return;
	}

	if (bmap.style.height == "372px") {
		bmap.style.height = "92px";
		extMap.checkResize();
		bt.innerHTML = '<a href="javascript:resize_map();"><img src="/images/07_expand_map.jpg" alt="Maximize Map" width="170" height="26" border="0"></a>';
		return;
	}
}

function full_map(){
	drag_to_zoom_status = false;
	document.getElementById('bt_drag_to_zoom').src='/images/bt_drag_to_zoom.gif';
	var bmap = document.getElementById("map");
	var bt = document.getElementById("bt_expand");
	if (bmap.style.height == "92px") {
		bmap.style.height = "372px";
		extMap.checkResize();
		bt.innerHTML = '<a href="javascript:resize_map();"><img src="/images/07_reduce_map.jpg" alt="Minimize Map" width="170" height="26" border="0"></a>';
		return;
	}
}

var map_loaded = false;
function show_google_map() {
if(map_loaded) return false;
map_element = document.getElementById("map");
var map = new GMap(document.getElementById("map"));
map.addControl(new GMapTypeControl());
gzoomctrl = new GZoomControl({nOpacity:.0},{nOverlayRemoveMS:0,bStickyZoom:false});
map.addControl(gzoomctrl);

map.centerAndZoom(new GPoint("-75.076372", "38.716663"), 7);
marker0 = new GMarker(new GPoint("-75.076372", "38.716663"));
map.addOverlay(marker0);
var html0 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/17/8721_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">THE BAY RESORT</strong><br /><span class="MarkerTxtAdd">PO Box 461, Dewey Beach</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'8721\',\'THE BAY RESORT\',\'/listing_images/17/8721_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'bayresort\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'8721\',\'THE BAY RESORT\',\'/listing_images/17/8721_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'bayresort\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/bayresort/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html0);	
GEvent.addListener(marker0, "click", function() {
extMap.panTo(new GLatLng("38.716663", "-75.076372"));
marker0.openInfoWindowHtml(html0);
});
marker1 = new GMarker(new GPoint("-75.081046", "38.717159"));
map.addOverlay(marker1);
var html1 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/14/7265_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Unique Home & Garden Gift Shop</strong><br /><span class="MarkerTxtAdd">49 Baltimore Avenue</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7265\',\'Unique Home & Garden Gift Shop\',\'/listing_images/14/7265_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'pelicanloft\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7265\',\'Unique Home & Garden Gift Shop\',\'/listing_images/14/7265_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'pelicanloft\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/pelicanloft/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html1);	
GEvent.addListener(marker1, "click", function() {
extMap.panTo(new GLatLng("38.717159", "-75.081046"));
marker1.openInfoWindowHtml(html1);
});
marker2 = new GMarker(new GPoint("-75.079264", "38.718022"));
map.addOverlay(marker2);
var html2 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/14/7262_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Rehoboth Beach Retreat</strong><br /><span class="MarkerTxtAdd">47 Maryland Ave</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7262\',\'Rehoboth Beach Retreat\',\'/listing_images/14/7262_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'rehobothbeachretreat\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7262\',\'Rehoboth Beach Retreat\',\'/listing_images/14/7262_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'rehobothbeachretreat\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/rehobothbeachretreat/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html2);	
GEvent.addListener(marker2, "click", function() {
extMap.panTo(new GLatLng("38.718022", "-75.079264"));
marker2.openInfoWindowHtml(html2);
});
marker3 = new GMarker(new GPoint("-75.078751", "38.702403"));
map.addOverlay(marker3);
var html3 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/14/7252_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Sussex House B&B</strong><br /><span class="MarkerTxtAdd">601 Bayard Avenue</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7252\',\'Sussex House B&B\',\'/listing_images/14/7252_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'thesussexhouse\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7252\',\'Sussex House B&B\',\'/listing_images/14/7252_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'thesussexhouse\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/thesussexhouse/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html3);	
GEvent.addListener(marker3, "click", function() {
extMap.panTo(new GLatLng("38.702403", "-75.078751"));
marker3.openInfoWindowHtml(html3);
});
marker4 = new GMarker(new GPoint("-75.080388", "38.717349"));
map.addOverlay(marker4);
var html4 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/17/8678_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">THE ROYAL ROSE INN</strong><br /><span class="MarkerTxtAdd">41 Baltimore Avenue</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'8678\',\'THE ROYAL ROSE INN\',\'/listing_images/17/8678_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'royalroseinn\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'8678\',\'THE ROYAL ROSE INN\',\'/listing_images/17/8678_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'royalroseinn\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/royalroseinn/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html4);	
GEvent.addListener(marker4, "click", function() {
extMap.panTo(new GLatLng("38.717349", "-75.080388"));
marker4.openInfoWindowHtml(html4);
});
marker5 = new GMarker(new GPoint("-75.077722", "38.713829"));
map.addOverlay(marker5);
var html5 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/14/7250_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Lord & Hamilton Seaside Inn</strong><br /><span class="MarkerTxtAdd">20 Brooklyn Ave</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7250\',\'Lord & Hamilton Seaside Inn\',\'/listing_images/14/7250_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'lordhamilton\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7250\',\'Lord & Hamilton Seaside Inn\',\'/listing_images/14/7250_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'lordhamilton\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/lordhamilton/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html5);	
GEvent.addListener(marker5, "click", function() {
extMap.panTo(new GLatLng("38.713829", "-75.077722"));
marker5.openInfoWindowHtml(html5);
});
marker6 = new GMarker(new GPoint("-75.081899", "38.716199"));
map.addOverlay(marker6);
var html6 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/20/10039_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Oceanus Motel</strong><br /><span class="MarkerTxtAdd">Second Street</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'10039\',\'Oceanus Motel\',\'/listing_images/20/10039_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'oceanusmotel\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'10039\',\'Oceanus Motel\',\'/listing_images/20/10039_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'oceanusmotel\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/oceanusmotel/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html6);	
GEvent.addListener(marker6, "click", function() {
extMap.panTo(new GLatLng("38.716199", "-75.081899"));
marker6.openInfoWindowHtml(html6);
});
marker7 = new GMarker(new GPoint("-75.081339", "38.722886"));
map.addOverlay(marker7);
var html7 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/14/7264_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">The Corner Cupboard Inn</strong><br /><span class="MarkerTxtAdd">50 Park Avenue</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7264\',\'The Corner Cupboard Inn\',\'/listing_images/14/7264_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'cornercupboardinn\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7264\',\'The Corner Cupboard Inn\',\'/listing_images/14/7264_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'cornercupboardinn\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/cornercupboardinn/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html7);	
GEvent.addListener(marker7, "click", function() {
extMap.panTo(new GLatLng("38.722886", "-75.081339"));
marker7.openInfoWindowHtml(html7);
});
marker8 = new GMarker(new GPoint("-75.080038", "38.720730"));
map.addOverlay(marker8);
var html8 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/12/6116_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Cabana Gardens B & B</strong><br /><span class="MarkerTxtAdd">20 Lake Avenue</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'6116\',\'Cabana Gardens B & B\',\'/listing_images/12/6116_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'cabanagardens\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'6116\',\'Cabana Gardens B & B\',\'/listing_images/12/6116_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'cabanagardens\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/cabanagardens/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html8);	
GEvent.addListener(marker8, "click", function() {
extMap.panTo(new GLatLng("38.720730", "-75.080038"));
marker8.openInfoWindowHtml(html8);
});
marker9 = new GMarker(new GPoint("-75.079218", "38.705056"));
map.addOverlay(marker9);
var html9 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/14/7267_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Silver Lake Guest House</strong><br /><span class="MarkerTxtAdd">133 Silver Lake Dr</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7267\',\'Silver Lake Guest House\',\'/listing_images/14/7267_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'silverlakeguesthouse\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7267\',\'Silver Lake Guest House\',\'/listing_images/14/7267_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'silverlakeguesthouse\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/silverlakeguesthouse/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html9);	
GEvent.addListener(marker9, "click", function() {
extMap.panTo(new GLatLng("38.705056", "-75.079218"));
marker9.openInfoWindowHtml(html9);
});
marker10 = new GMarker(new GPoint("-075.319975", "38.629763"));
map.addOverlay(marker10);
var html10 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/14/7234_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">The Homestead at Rehoboth Bed and Breakfast</strong><br /><span class="MarkerTxtAdd">35060 Warrington Road</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7234\',\'The Homestead at Rehoboth Bed and Breakfast\',\'/listing_images/14/7234_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'iloveinns\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7234\',\'The Homestead at Rehoboth Bed and Breakfast\',\'/listing_images/14/7234_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'iloveinns\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/iloveinns/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html10);	
GEvent.addListener(marker10, "click", function() {
extMap.panTo(new GLatLng("38.629763", "-075.319975"));
marker10.openInfoWindowHtml(html10);
});
marker11 = new GMarker(new GPoint("-75.082364", "38.713322"));
map.addOverlay(marker11);
var html11 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/12/6033_1.JPG" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Rehoboth Guest House</strong><br /><span class="MarkerTxtAdd">40 Maryland Avenue</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'6033\',\'Rehoboth Guest House\',\'/listing_images/12/6033_1.JPG\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'rehobothguesthouse\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'6033\',\'Rehoboth Guest House\',\'/listing_images/12/6033_1.JPG\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'rehobothguesthouse\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/rehobothguesthouse/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html11);	
GEvent.addListener(marker11, "click", function() {
extMap.panTo(new GLatLng("38.713322", "-75.082364"));
marker11.openInfoWindowHtml(html11);
});
marker12 = new GMarker(new GPoint("-75.319775", "38.633363"));
map.addOverlay(marker12);
var html12 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/images/no_picture.gif" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Chesapeake Landing Bed and Breakfast</strong><br /><span class="MarkerTxtAdd">101 Chesapeake Street</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7249\',\'Chesapeake Landing Bed and Breakfast\',\'/images/no_picture_1.gif\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'chesapeakelanding\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7249\',\'Chesapeake Landing Bed and Breakfast\',\'/images/no_picture_1.gif\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'chesapeakelanding\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/chesapeakelanding/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html12);	
GEvent.addListener(marker12, "click", function() {
extMap.panTo(new GLatLng("38.633363", "-75.319775"));
marker12.openInfoWindowHtml(html12);
});
marker13 = new GMarker(new GPoint("-75.084093", "38.715253"));
map.addOverlay(marker13);
var html13 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/12/6034_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">The Bellmoor</strong><br /><span class="MarkerTxtAdd">6 Christian Street</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'6034\',\'The Bellmoor\',\'/listing_images/12/6034_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'thebellmoor\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'6034\',\'The Bellmoor\',\'/listing_images/12/6034_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'thebellmoor\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/thebellmoor/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html13);	
GEvent.addListener(marker13, "click", function() {
extMap.panTo(new GLatLng("38.715253", "-75.084093"));
marker13.openInfoWindowHtml(html13);
});
marker14 = new GMarker(new GPoint("-75.077848", "38.702347"));
map.addOverlay(marker14);
var html14 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/14/7236_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Barry\'s Gull Cottage</strong><br /><span class="MarkerTxtAdd">116 Chesapeake Street</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7236\',\'Barry\\\'s Gull Cottage\',\'/listing_images/14/7236_1.jpg\',\'Delaware\',\'Dewey Beach\',\'compare\',\'gullcottage\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7236\',\'Barry\\\'s Gull Cottage\',\'/listing_images/14/7236_1.jpg\',\'Delaware\',\'Dewey Beach\',\'enquiry\',\'gullcottage\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/gullcottage/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html14);	
GEvent.addListener(marker14, "click", function() {
extMap.panTo(new GLatLng("38.702347", "-75.077848"));
marker14.openInfoWindowHtml(html14);
});
marker15 = new GMarker(new GPoint("-75.324575", "38.631563"));
map.addOverlay(marker15);
var html15 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/20/10040_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Sea Witch Inn & Spa Bed and Breakfast</strong><br /><span class="MarkerTxtAdd">71 Lake Avenue</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'10040\',\'Sea Witch Inn & Spa Bed and Breakfast\',\'/listing_images/20/10040_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'bewitchedbandb\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'10040\',\'Sea Witch Inn & Spa Bed and Breakfast\',\'/listing_images/20/10040_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'bewitchedbandb\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/bewitchedbandb/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html15);	
GEvent.addListener(marker15, "click", function() {
extMap.panTo(new GLatLng("38.631563", "-75.324575"));
marker15.openInfoWindowHtml(html15);
});
marker16 = new GMarker(new GPoint("-75.072507", "38.691029"));
map.addOverlay(marker16);
var html16 = '<table width="227" border=0 cellpadding=1 cellspacing=0 bgcolor="ffffff"><tbody><tr><td valign=top align=left width="0"></td><td width="223" align=left valign=top><table width="100%" border="0"><tr><td width="38%" valign="top"><span class="body"><img src="/listing_images/14/7269_1.jpg" width="80" height="80" border="0"></span></td><td width="62%" valign="top"><strong class="MarkerTxtCap">Rodney Dunes Pier 12 Apartments</strong><br /><span class="MarkerTxtAdd">12 Rodney Ave.    Dewey Beach</span><br /><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7269\',\'Rodney Dunes Pier 12 Apartments\',\'/listing_images/14/7269_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'compare\',\'deweybeachvacation\')" href="#" class="Markerlinks">Add To Compare</a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a onclick="add_listing(\'7269\',\'Rodney Dunes Pier 12 Apartments\',\'/listing_images/14/7269_1.jpg\',\'Delaware\',\'Rehoboth Beach\',\'enquiry\',\'deweybeachvacation\')" href="#" class="Markerlinks">Add To Reservation Cart </a><br /><img src="/images/bulletArrow.gif" width="11" height="7" /> <a href="/deweybeachvacation/" class="Markerlinks">See Detailed Listing</a></td></tr></table></td></tr></tbody></table><p><a href="javascript:zoom_map(\'in\');"><img src="/images/zoom_in.gif" width="61" height="16" border="0"></a>&nbsp;&nbsp;<a href="javascript:zoom_map(\'out\');"><img src="/images/zoom_out.gif" width="61" height="16" border="0"></a></p>';
//map.openInfoWindowHtml(map.getCenterLatLng(), html16);	
GEvent.addListener(marker16, "click", function() {
extMap.panTo(new GLatLng("38.691029", "-75.072507"));
marker16.openInfoWindowHtml(html16);
});
extMap = map;
extMap.savePosition();
map_loaded = true;
}

window.onunload=GUnload;