var map; var bounds; var mapIconGold = _gdoc_root+'img/map-icon-gold.png'; var mapIconGreen = _gdoc_root+'img/map-icon-green.png'; window.onload = function () { var styles = [ { "elementType": "labels.text.fill", "stylers": [ { "visibility": "on" }, { "color": "#245C40" } ] } ]; var markerPosHardCoded = new google.maps.LatLng(51.5782854,-0.1779822); // var markerPos02 = new google.maps.LatLng(51.560686,-0.18571); var options = { // center: markerPos01, // zoom: 16, scrollwheel: false, //prevents the map zooming when the user is scroll-wheeling the web page disableDefaultUI: false , // mapTypeControlOptions: { // mapTypeIds: [google.maps.MapTypeId.ROADMAP, google.maps.MapTypeId.SATELLITE] // } }; var div = document.getElementById('propertyMap'); map = new google.maps.Map(div, options); bounds = new google.maps.LatLngBounds(); var markerPos0 = new google.maps.LatLng(51.565132,-0.197275); var marker0 = new google.maps.Marker({ position: markerPos0, map: map,icon: mapIconGreen,id: '95970'});var iw0 = new google.maps.InfoWindow({ content: "
2 Bedrooms, ,  Guide Price £825,000 
" });google.maps.event.addListener(marker0, "mouseover", function (e) { iw0.open(map, this); }); google.maps.event.addListener(marker0, "mouseout", function (e) { iw0.close(map, this); });google.maps.event.addListener(marker0, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos0);var markerPos1 = new google.maps.LatLng(51.566253,-0.196411); var marker1 = new google.maps.Marker({ position: markerPos1, map: map,icon: mapIconGreen,id: '95972'});var iw1 = new google.maps.InfoWindow({ content: "
2 Bedrooms, Golders Green,  Asking price of £950,000 
" });google.maps.event.addListener(marker1, "mouseover", function (e) { iw1.open(map, this); }); google.maps.event.addListener(marker1, "mouseout", function (e) { iw1.close(map, this); });google.maps.event.addListener(marker1, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos1);var markerPos2 = new google.maps.LatLng(51.61816,-0.225238); var marker2 = new google.maps.Marker({ position: markerPos2, map: map,icon: mapIconGreen,id: '95966'});var iw2 = new google.maps.InfoWindow({ content: "
1 Bedrooms, Mill Hill,  Asking price of £1,000,000 
" });google.maps.event.addListener(marker2, "mouseover", function (e) { iw2.open(map, this); }); google.maps.event.addListener(marker2, "mouseout", function (e) { iw2.close(map, this); });google.maps.event.addListener(marker2, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos2);var markerPos3 = new google.maps.LatLng(51.569629,-0.195399); var marker3 = new google.maps.Marker({ position: markerPos3, map: map,icon: mapIconGreen,id: '95963'});var iw3 = new google.maps.InfoWindow({ content: "
2 Bedrooms, London,  Asking price of £1,250,000 
" });google.maps.event.addListener(marker3, "mouseover", function (e) { iw3.open(map, this); }); google.maps.event.addListener(marker3, "mouseout", function (e) { iw3.close(map, this); });google.maps.event.addListener(marker3, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos3);var markerPos4 = new google.maps.LatLng(51.572925,-0.190065); var marker4 = new google.maps.Marker({ position: markerPos4, map: map,icon: mapIconGreen,id: '95964'});var iw4 = new google.maps.InfoWindow({ content: "
3 Bedrooms, Hampstead Garden Suburb,  Asking price of £1,425,000 
" });google.maps.event.addListener(marker4, "mouseover", function (e) { iw4.open(map, this); }); google.maps.event.addListener(marker4, "mouseout", function (e) { iw4.close(map, this); });google.maps.event.addListener(marker4, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos4);var markerPos5 = new google.maps.LatLng(51.572528,-0.200521); var marker5 = new google.maps.Marker({ position: markerPos5, map: map,icon: mapIconGreen,id: '95975'});var iw5 = new google.maps.InfoWindow({ content: "
2 Bedrooms, 47-49 Woodstock Road,  Asking price of £1,450,000 
" });google.maps.event.addListener(marker5, "mouseover", function (e) { iw5.open(map, this); }); google.maps.event.addListener(marker5, "mouseout", function (e) { iw5.close(map, this); });google.maps.event.addListener(marker5, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos5);var markerPos6 = new google.maps.LatLng(51.583557,-0.167586); var marker6 = new google.maps.Marker({ position: markerPos6, map: map,icon: mapIconGreen,id: '95978'});var iw6 = new google.maps.InfoWindow({ content: "
3 Bedrooms, ,  Asking price of £2,030,000 
" });google.maps.event.addListener(marker6, "mouseover", function (e) { iw6.open(map, this); }); google.maps.event.addListener(marker6, "mouseout", function (e) { iw6.close(map, this); });google.maps.event.addListener(marker6, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos6);var markerPos7 = new google.maps.LatLng(51.568458,-0.183941); var marker7 = new google.maps.Marker({ position: markerPos7, map: map,icon: mapIconGreen,id: '95979'});var iw7 = new google.maps.InfoWindow({ content: "
3 Bedrooms, ,  Asking price of £2,250,000 
" });google.maps.event.addListener(marker7, "mouseover", function (e) { iw7.open(map, this); }); google.maps.event.addListener(marker7, "mouseout", function (e) { iw7.close(map, this); });google.maps.event.addListener(marker7, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos7);var markerPos8 = new google.maps.LatLng(51.551696,-0.174646); var marker8 = new google.maps.Marker({ position: markerPos8, map: map,icon: mapIconGreen,id: '95977'});var iw8 = new google.maps.InfoWindow({ content: "
2 Bedrooms, Hampstead,  Asking price of £2,400,000 
" });google.maps.event.addListener(marker8, "mouseover", function (e) { iw8.open(map, this); }); google.maps.event.addListener(marker8, "mouseout", function (e) { iw8.close(map, this); });google.maps.event.addListener(marker8, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos8);var markerPos9 = new google.maps.LatLng(51.577995,-0.182226); var marker9 = new google.maps.Marker({ position: markerPos9, map: map,icon: mapIconGreen,id: '93503'});var iw9 = new google.maps.InfoWindow({ content: "
Wildwood Road, ,  Guide Price £2,550,000 
" });google.maps.event.addListener(marker9, "mouseover", function (e) { iw9.open(map, this); }); google.maps.event.addListener(marker9, "mouseout", function (e) { iw9.close(map, this); });google.maps.event.addListener(marker9, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos9);var markerPos10 = new google.maps.LatLng(51.565826,-0.196831); var marker10 = new google.maps.Marker({ position: markerPos10, map: map,icon: mapIconGreen,id: '95974'});var iw10 = new google.maps.InfoWindow({ content: "
3 Bedrooms, 1B Hodford Road,  Asking price of £2,750,000 
" });google.maps.event.addListener(marker10, "mouseover", function (e) { iw10.open(map, this); }); google.maps.event.addListener(marker10, "mouseout", function (e) { iw10.close(map, this); });google.maps.event.addListener(marker10, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos10);var markerPos11 = new google.maps.LatLng(51.573375,-0.187933); var marker11 = new google.maps.Marker({ position: markerPos11, map: map,icon: mapIconGreen,id: '93747'});var iw11 = new google.maps.InfoWindow({ content: "
Heath Close, ,  Guide Price £2,795,000 
" });google.maps.event.addListener(marker11, "mouseover", function (e) { iw11.open(map, this); }); google.maps.event.addListener(marker11, "mouseout", function (e) { iw11.close(map, this); });google.maps.event.addListener(marker11, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos11);var markerPos12 = new google.maps.LatLng(51.580963,-0.168841); var marker12 = new google.maps.Marker({ position: markerPos12, map: map,icon: mapIconGreen,id: '95967'});var iw12 = new google.maps.InfoWindow({ content: "
2 Bedrooms, London,  Asking price of £2,895,000 
" });google.maps.event.addListener(marker12, "mouseover", function (e) { iw12.open(map, this); }); google.maps.event.addListener(marker12, "mouseout", function (e) { iw12.close(map, this); });google.maps.event.addListener(marker12, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos12);var markerPos13 = new google.maps.LatLng(51.580711,-0.176283); var marker13 = new google.maps.Marker({ position: markerPos13, map: map,icon: mapIconGreen,id: '89182'});var iw13 = new google.maps.InfoWindow({ content: "
Rowan Walk, ,  Asking price of £3,500,000 
" });google.maps.event.addListener(marker13, "mouseover", function (e) { iw13.open(map, this); }); google.maps.event.addListener(marker13, "mouseout", function (e) { iw13.close(map, this); });google.maps.event.addListener(marker13, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos13);var markerPos14 = new google.maps.LatLng(51.577156,-0.190167); var marker14 = new google.maps.Marker({ position: markerPos14, map: map,icon: mapIconGreen,id: '95396'});var iw14 = new google.maps.InfoWindow({ content: "
Hampstead Way, ,  Guide Price £3,950,000 
" });google.maps.event.addListener(marker14, "mouseover", function (e) { iw14.open(map, this); }); google.maps.event.addListener(marker14, "mouseout", function (e) { iw14.close(map, this); });google.maps.event.addListener(marker14, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos14);var markerPos15 = new google.maps.LatLng(51.580638,-0.192405); var marker15 = new google.maps.Marker({ position: markerPos15, map: map,icon: mapIconGreen,id: '94220'});var iw15 = new google.maps.InfoWindow({ content: "
Willifield Way, ,  Guide Price £4,000,000 
" });google.maps.event.addListener(marker15, "mouseover", function (e) { iw15.open(map, this); }); google.maps.event.addListener(marker15, "mouseout", function (e) { iw15.close(map, this); });google.maps.event.addListener(marker15, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos15);var markerPos16 = new google.maps.LatLng(51.560131,-0.198417); var marker16 = new google.maps.Marker({ position: markerPos16, map: map,icon: mapIconGreen,id: '89840'});var iw16 = new google.maps.InfoWindow({ content: "
Lyndale Avenue, ,  Guide Price £4,500,000 
" });google.maps.event.addListener(marker16, "mouseover", function (e) { iw16.open(map, this); }); google.maps.event.addListener(marker16, "mouseout", function (e) { iw16.close(map, this); });google.maps.event.addListener(marker16, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos16);var markerPos17 = new google.maps.LatLng(51.579895,-0.175871); var marker17 = new google.maps.Marker({ position: markerPos17, map: map,icon: mapIconGreen,id: '94344'});var iw17 = new google.maps.InfoWindow({ content: "
Holne Chase, ,  Guide Price £4,500,000 
" });google.maps.event.addListener(marker17, "mouseover", function (e) { iw17.open(map, this); }); google.maps.event.addListener(marker17, "mouseout", function (e) { iw17.close(map, this); });google.maps.event.addListener(marker17, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos17);var markerPos18 = new google.maps.LatLng(51.572528,-0.180544); var marker18 = new google.maps.Marker({ position: markerPos18, map: map,icon: mapIconGreen,id: '95980'});var iw18 = new google.maps.InfoWindow({ content: "
Turners Wood, ,  Guide Price £4,950,000 
" });google.maps.event.addListener(marker18, "mouseover", function (e) { iw18.open(map, this); }); google.maps.event.addListener(marker18, "mouseout", function (e) { iw18.close(map, this); });google.maps.event.addListener(marker18, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos18);var markerPos19 = new google.maps.LatLng(51.575241,-0.182945); var marker19 = new google.maps.Marker({ position: markerPos19, map: map,icon: mapIconGreen,id: '92990'});var iw19 = new google.maps.InfoWindow({ content: "
Wildwood Road, ,  Guide Price £5,950,000 
" });google.maps.event.addListener(marker19, "mouseover", function (e) { iw19.open(map, this); }); google.maps.event.addListener(marker19, "mouseout", function (e) { iw19.close(map, this); });google.maps.event.addListener(marker19, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos19);var markerPos20 = new google.maps.LatLng(51.579814,-0.174723); var marker20 = new google.maps.Marker({ position: markerPos20, map: map,icon: mapIconGreen,id: '81993'});var iw20 = new google.maps.InfoWindow({ content: "
Winnington Close, ,  Asking price of £6,500,000 
" });google.maps.event.addListener(marker20, "mouseover", function (e) { iw20.open(map, this); }); google.maps.event.addListener(marker20, "mouseout", function (e) { iw20.close(map, this); });google.maps.event.addListener(marker20, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos20);var markerPos21 = new google.maps.LatLng(51.580329,-0.171891); var marker21 = new google.maps.Marker({ position: markerPos21, map: map,icon: mapIconGreen,id: '91486'});var iw21 = new google.maps.InfoWindow({ content: "
Winnington Road, ,  Guide Price £6,500,000 
" });google.maps.event.addListener(marker21, "mouseover", function (e) { iw21.open(map, this); }); google.maps.event.addListener(marker21, "mouseout", function (e) { iw21.close(map, this); });google.maps.event.addListener(marker21, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos21);var markerPos22 = new google.maps.LatLng(51.577804,-0.160395); var marker22 = new google.maps.Marker({ position: markerPos22, map: map,icon: mapIconGreen,id: '95892'});var iw22 = new google.maps.InfoWindow({ content: "
Denewood Road, ,  Guide Price £6,500,000 
" });google.maps.event.addListener(marker22, "mouseover", function (e) { iw22.open(map, this); }); google.maps.event.addListener(marker22, "mouseout", function (e) { iw22.close(map, this); });google.maps.event.addListener(marker22, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos22);var markerPos23 = new google.maps.LatLng(51.579696,-0.172234); var marker23 = new google.maps.Marker({ position: markerPos23, map: map,icon: mapIconGreen,id: '93307'});var iw23 = new google.maps.InfoWindow({ content: "
Winnington Road, ,  Asking price of £6,950,000 
" });google.maps.event.addListener(marker23, "mouseover", function (e) { iw23.open(map, this); }); google.maps.event.addListener(marker23, "mouseout", function (e) { iw23.close(map, this); });google.maps.event.addListener(marker23, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos23);var markerPos24 = new google.maps.LatLng(51.575668,-0.170458); var marker24 = new google.maps.Marker({ position: markerPos24, map: map,icon: mapIconGreen,id: '79864'});var iw24 = new google.maps.InfoWindow({ content: "
Canons Close, ,  Asking price of £7,000,000 
" });google.maps.event.addListener(marker24, "mouseover", function (e) { iw24.open(map, this); }); google.maps.event.addListener(marker24, "mouseout", function (e) { iw24.close(map, this); });google.maps.event.addListener(marker24, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos24);var markerPos25 = new google.maps.LatLng(51.584636,-0.167403); var marker25 = new google.maps.Marker({ position: markerPos25, map: map,icon: mapIconGreen,id: '82176'});var iw25 = new google.maps.InfoWindow({ content: "
The Bishops Avenue, ,  Guide Price £7,000,000 
" });google.maps.event.addListener(marker25, "mouseover", function (e) { iw25.open(map, this); }); google.maps.event.addListener(marker25, "mouseout", function (e) { iw25.close(map, this); });google.maps.event.addListener(marker25, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos25);var markerPos26 = new google.maps.LatLng(51.572307,-0.175578); var marker26 = new google.maps.Marker({ position: markerPos26, map: map,icon: mapIconGreen,id: '85252'});var iw26 = new google.maps.InfoWindow({ content: "
Ingram Avenue, ,  Guide Price £8,500,000 
" });google.maps.event.addListener(marker26, "mouseover", function (e) { iw26.open(map, this); }); google.maps.event.addListener(marker26, "mouseout", function (e) { iw26.close(map, this); });google.maps.event.addListener(marker26, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos26);var markerPos27 = new google.maps.LatLng(51.573894,-0.165504); var marker27 = new google.maps.Marker({ position: markerPos27, map: map,icon: mapIconGreen,id: '82410'});var iw27 = new google.maps.InfoWindow({ content: "
Compton Avenue, Kenwood,  Guide Price £8,950,000 
" });google.maps.event.addListener(marker27, "mouseover", function (e) { iw27.open(map, this); }); google.maps.event.addListener(marker27, "mouseout", function (e) { iw27.close(map, this); });google.maps.event.addListener(marker27, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos27);var markerPos28 = new google.maps.LatLng(51.581787,-0.168456); var marker28 = new google.maps.Marker({ position: markerPos28, map: map,icon: mapIconGreen,id: '95250'});var iw28 = new google.maps.InfoWindow({ content: "
The Bishops Avenue, ,  Guide Price £8,950,000 
" });google.maps.event.addListener(marker28, "mouseover", function (e) { iw28.open(map, this); }); google.maps.event.addListener(marker28, "mouseout", function (e) { iw28.close(map, this); });google.maps.event.addListener(marker28, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos28);var markerPos29 = new google.maps.LatLng(51.584204,-0.1668); var marker29 = new google.maps.Marker({ position: markerPos29, map: map,icon: mapIconGreen,id: '72733'});var iw29 = new google.maps.InfoWindow({ content: "
The Bishops Avenue, ,  Asking price of £9,250,000 
" });google.maps.event.addListener(marker29, "mouseover", function (e) { iw29.open(map, this); }); google.maps.event.addListener(marker29, "mouseout", function (e) { iw29.close(map, this); });google.maps.event.addListener(marker29, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos29);var markerPos30 = new google.maps.LatLng(51.582588,-0.168214); var marker30 = new google.maps.Marker({ position: markerPos30, map: map,icon: mapIconGreen,id: '47507'});var iw30 = new google.maps.InfoWindow({ content: "
The Bishops Avenue, ,  Guide Price £10,500,000 
" });google.maps.event.addListener(marker30, "mouseover", function (e) { iw30.open(map, this); }); google.maps.event.addListener(marker30, "mouseout", function (e) { iw30.close(map, this); });google.maps.event.addListener(marker30, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos30);var markerPos31 = new google.maps.LatLng(51.575969,-0.171226); var marker31 = new google.maps.Marker({ position: markerPos31, map: map,icon: mapIconGreen,id: '95251'});var iw31 = new google.maps.InfoWindow({ content: "
The Bishops Avenue, ,  Guide Price £12,500,000 
" });google.maps.event.addListener(marker31, "mouseover", function (e) { iw31.open(map, this); }); google.maps.event.addListener(marker31, "mouseout", function (e) { iw31.close(map, this); });google.maps.event.addListener(marker31, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos31);var markerPos32 = new google.maps.LatLng(51.5722,-0.172612); var marker32 = new google.maps.Marker({ position: markerPos32, map: map,icon: mapIconGreen,id: '78712'});var iw32 = new google.maps.InfoWindow({ content: "
Hampstead Lane, ,  Guide Price £12,950,000 
" });google.maps.event.addListener(marker32, "mouseover", function (e) { iw32.open(map, this); }); google.maps.event.addListener(marker32, "mouseout", function (e) { iw32.close(map, this); });google.maps.event.addListener(marker32, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos32);var markerPos33 = new google.maps.LatLng(51.581687,-0.170942); var marker33 = new google.maps.Marker({ position: markerPos33, map: map,icon: mapIconGreen,id: '82708'});var iw33 = new google.maps.InfoWindow({ content: "
Winnington Road, ,  Asking price of £17,999,999 
" });google.maps.event.addListener(marker33, "mouseover", function (e) { iw33.open(map, this); }); google.maps.event.addListener(marker33, "mouseout", function (e) { iw33.close(map, this); });google.maps.event.addListener(marker33, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos33);var markerPos34 = new google.maps.LatLng(51.574245,-0.168186); var marker34 = new google.maps.Marker({ position: markerPos34, map: map,icon: mapIconGreen,id: '71567'});var iw34 = new google.maps.InfoWindow({ content: "
Courtenay Avenue, Kenwood,  Asking price of £19,500,000 
" });google.maps.event.addListener(marker34, "mouseover", function (e) { iw34.open(map, this); }); google.maps.event.addListener(marker34, "mouseout", function (e) { iw34.close(map, this); });google.maps.event.addListener(marker34, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos34);var markerPos35 = new google.maps.LatLng(51.573894,-0.165504); var marker35 = new google.maps.Marker({ position: markerPos35, map: map,icon: mapIconGreen,id: '87883'});var iw35 = new google.maps.InfoWindow({ content: "
Compton Avenue, Highgate,  Guide Price £20,000,000 
" });google.maps.event.addListener(marker35, "mouseover", function (e) { iw35.open(map, this); }); google.maps.event.addListener(marker35, "mouseout", function (e) { iw35.close(map, this); });google.maps.event.addListener(marker35, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos35);var markerPos36 = new google.maps.LatLng(51.575557,-0.175319); var marker36 = new google.maps.Marker({ position: markerPos36, map: map,icon: mapIconGreen,id: '95185'});var iw36 = new google.maps.InfoWindow({ content: "
Winnington Road, ,  Asking price of £24,950,000 
" });google.maps.event.addListener(marker36, "mouseover", function (e) { iw36.open(map, this); }); google.maps.event.addListener(marker36, "mouseout", function (e) { iw36.close(map, this); });google.maps.event.addListener(marker36, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos36);var markerPos37 = new google.maps.LatLng(51.537708,-0.167447); var marker37 = new google.maps.Marker({ position: markerPos37, map: map,icon: mapIconGreen,id: '95968'});var iw37 = new google.maps.InfoWindow({ content: "
8 Bedrooms, ,  Guide Price £30,000,000 
" });google.maps.event.addListener(marker37, "mouseover", function (e) { iw37.open(map, this); }); google.maps.event.addListener(marker37, "mouseout", function (e) { iw37.close(map, this); });google.maps.event.addListener(marker37, 'click', function() { if ($('#map_'+this.id).length > 0 ) { $('html, body').animate({ scrollTop: $('#map_'+this.id).offset().top}, 2000); }else{ //Make Ajax cal to get the DIV var i = new ajaxVars; i.incModule = "common"; i.vars["action"] = "runFunction"; i.vars["func"] = "getPropDiv"; i.vars["nosplit"] = 1; i.vars["type"] = 'all'; i.vars["from_price"] = '0'; i.vars["to_price"] = '10000001'; i.vars["orderBy"] = 'ASC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = '0'; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos37); map.setCenter(bounds.getCenter()); map.fitBounds(bounds); zoomChangeBoundsListener = google.maps.event.addListenerOnce(map, 'bounds_changed', function(event) { if (map.getZoom()){ map.setCenter(markerPosHardCoded); map.setZoom(14); } }); setTimeout(function(){google.maps.event.removeListener(zoomChangeBoundsListener)}, 2000); }