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.5857875,-0.2079232); var marker0 = new google.maps.Marker({ position: markerPos0, map: map,icon: mapIconGreen,id: '627'});var iw0 = new google.maps.InfoWindow({ content: "
Carmel Gate, 119 Bridge Lane, London, NW11 9JT,  Asking price of £1,000,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.57902819819486,-0.1827916423278566); var marker1 = new google.maps.Marker({ position: markerPos1, map: map,icon: mapIconGreen,id: '660'});var iw1 = new google.maps.InfoWindow({ content: "
Wildwood Road, Hampstead Garden Suburb,  Offers in excess of £1,000,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker2 = new google.maps.Marker({ position: markerPos2, map: map,icon: mapIconGreen,id: '65'});var iw2 = new google.maps.InfoWindow({ content: "
Corringham Road, Hampstead Garden Suburb ,  Asking price of £995,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker3 = new google.maps.Marker({ position: markerPos3, map: map,icon: mapIconGreen,id: '66'});var iw3 = new google.maps.InfoWindow({ content: "
Brim Hill, Hampstead Garden Suburb ,  Asking price of £995,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5821516,-0.1797749); var marker4 = new google.maps.Marker({ position: markerPos4, map: map,icon: mapIconGreen,id: '121'});var iw4 = new google.maps.InfoWindow({ content: "
One Kingsley Way, Kingsley Way, Hampstead Garden Suburb,  Asking price of £995,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5821516,-0.1797749); var marker5 = new google.maps.Marker({ position: markerPos5, map: map,icon: mapIconGreen,id: '123'});var iw5 = new google.maps.InfoWindow({ content: "
One Kingsley Way, Kingsley Way, Hampstead Garden Suburb ,  Asking price of £995,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5611785,-0.197129); var marker6 = new google.maps.Marker({ position: markerPos6, map: map,icon: mapIconGreen,id: '137'});var iw6 = new google.maps.InfoWindow({ content: "
Grafton Court, Finchley Road ,  Asking price of £995,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.580123,-0.19493); var marker7 = new google.maps.Marker({ position: markerPos7, map: map,icon: mapIconGreen,id: '57567'});var iw7 = new google.maps.InfoWindow({ content: "
Temple Fortune Lane, ,  Asking price of £995,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.58793126596412,-0.18205343558202003); var marker8 = new google.maps.Marker({ position: markerPos8, map: map,icon: mapIconGreen,id: '409'});var iw8 = new google.maps.InfoWindow({ content: "
Hill Top, Hampstead Garden Suburb,  Asking price of £975,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker9 = new google.maps.Marker({ position: markerPos9, map: map,icon: mapIconGreen,id: '63'});var iw9 = new google.maps.InfoWindow({ content: "
Asmuns Hill, Hampstead Garden Suburb ,  Asking price of £965,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker10 = new google.maps.Marker({ position: markerPos10, map: map,icon: mapIconGreen,id: '339'});var iw10 = new google.maps.InfoWindow({ content: "
Blandford Close, Hampstead Garden Suburb ,  Asking price of £950,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.586241333447134,-0.17526511104506426); var marker11 = new google.maps.Marker({ position: markerPos11, map: map,icon: mapIconGreen,id: '443'});var iw11 = new google.maps.InfoWindow({ content: "
Gurney Drive, Hampstead Garden Suburb,  Guide Price £950,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5832162,-0.1944106); var marker12 = new google.maps.Marker({ position: markerPos12, map: map,icon: mapIconGreen,id: '498'});var iw12 = new google.maps.InfoWindow({ content: "
West Heath Place, London, NW11,  Asking price of £940,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker13 = new google.maps.Marker({ position: markerPos13, map: map,icon: mapIconGreen,id: '170'});var iw13 = new google.maps.InfoWindow({ content: "
Corringham Road, Hampstead Garden Suburb,  Asking price of £925,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker14 = new google.maps.Marker({ position: markerPos14, map: map,icon: mapIconGreen,id: '171'});var iw14 = new google.maps.InfoWindow({ content: "
Deansway, Hampstead Garden Suburb,  Asking price of £895,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker15 = new google.maps.Marker({ position: markerPos15, map: map,icon: mapIconGreen,id: '124'});var iw15 = new google.maps.InfoWindow({ content: "
One Kingsley Way, Hampstead Garden Suburb ,  Asking price of £895,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker16 = new google.maps.Marker({ position: markerPos16, map: map,icon: mapIconGreen,id: '182'});var iw16 = new google.maps.InfoWindow({ content: "
Addison Way, Hampstead Garden Suburb,  Asking price of £895,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5762145142065,-0.19699365529481838); var marker17 = new google.maps.Marker({ position: markerPos17, map: map,icon: mapIconGreen,id: '421'});var iw17 = new google.maps.InfoWindow({ content: "
Grafton Court, NW11,  Prices from £870,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5651447,-0.1970047); var marker18 = new google.maps.Marker({ position: markerPos18, map: map,icon: mapIconGreen,id: '723'});var iw18 = new google.maps.InfoWindow({ content: "
The Lexington, London,  Asking price of £870,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5651447,-0.1970047); var marker19 = new google.maps.Marker({ position: markerPos19, map: map,icon: mapIconGreen,id: '722'});var iw19 = new google.maps.InfoWindow({ content: "
The Lexington, London,  Asking price of £860,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5651447,-0.1970047); var marker20 = new google.maps.Marker({ position: markerPos20, map: map,icon: mapIconGreen,id: '707'});var iw20 = new google.maps.InfoWindow({ content: "
The Lexington, London,  Asking price of £840,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5651447,-0.1970047); var marker21 = new google.maps.Marker({ position: markerPos21, map: map,icon: mapIconGreen,id: '709'});var iw21 = new google.maps.InfoWindow({ content: "
The Lexington, London,  Asking price of £830,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.589304,-0.1799089); var marker22 = new google.maps.Marker({ position: markerPos22, map: map,icon: mapIconGreen,id: '287'});var iw22 = new google.maps.InfoWindow({ content: "
Ossulton Way, Hampstead Garden Suburb ,  Asking price of £825,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5857875,-0.2079232); var marker23 = new google.maps.Marker({ position: markerPos23, map: map,icon: mapIconGreen,id: '617'});var iw23 = new google.maps.InfoWindow({ content: "
Carmel Gate, 119 Bridge Lane, London, NW11 9JT,  Asking price of £800,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker24 = new google.maps.Marker({ position: markerPos24, map: map,icon: mapIconGreen,id: '60'});var iw24 = new google.maps.InfoWindow({ content: "
Brunner Close, Hampstead Garden Suburb ,  Asking price of £795,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5781461,-0.1975238); var marker25 = new google.maps.Marker({ position: markerPos25, map: map,icon: mapIconGreen,id: '662'});var iw25 = new google.maps.InfoWindow({ content: "
Regal Court, Finchley Road, London, NW11,  Asking price of £795,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos25);var markerPos27 = new google.maps.LatLng(51.5611785,-0.197129); var marker27 = new google.maps.Marker({ position: markerPos27, map: map,icon: mapIconGreen,id: '136'});var iw27 = new google.maps.InfoWindow({ content: "
Grafton Court, Finchley Road ,  Asking price of £775,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.58363578907901,-0.1925342262728691); var marker28 = new google.maps.Marker({ position: markerPos28, map: map,icon: mapIconGreen,id: '464'});var iw28 = new google.maps.InfoWindow({ content: "
Erskine Hill, Hampstead Garden Suburb,  Asking price of £775,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5651447,-0.1970047); var marker29 = new google.maps.Marker({ position: markerPos29, map: map,icon: mapIconGreen,id: '714'});var iw29 = new google.maps.InfoWindow({ content: "
The Lexington, London,  Asking price of £755,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5556715,-0.1762025); var marker30 = new google.maps.Marker({ position: markerPos30, map: map,icon: mapIconGreen,id: '56'});var iw30 = new google.maps.InfoWindow({ content: "
Hogarth Hill, Hampstead Garden Suuburb ,  Asking price of £699,995 
" });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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker31 = new google.maps.Marker({ position: markerPos31, map: map,icon: mapIconGreen,id: '278'});var iw31 = new google.maps.InfoWindow({ content: "
Oakwood Road, Hampstead Garden Suburb ,  Asking price of £699,950 
" });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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5556715,-0.1762025); var marker32 = new google.maps.Marker({ position: markerPos32, map: map,icon: mapIconGreen,id: '55'});var iw32 = new google.maps.InfoWindow({ content: "
Erskine Hill, Hampstead Graden Suburb ,  Asking price of £699,950 
" });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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker33 = new google.maps.Marker({ position: markerPos33, map: map,icon: mapIconGreen,id: '195'});var iw33 = new google.maps.InfoWindow({ content: "
Erskine Hill, Hampstead Garden Suburb ,  Asking price of £699,950 
" });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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.585454215330024,-0.18094487011410365); var marker34 = new google.maps.Marker({ position: markerPos34, map: map,icon: mapIconGreen,id: '437'});var iw34 = new google.maps.InfoWindow({ content: "
One Kingsley Way, Hampstead Garden Suburb,  Asking price of £695,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5857875,-0.2079232); var marker35 = new google.maps.Marker({ position: markerPos35, map: map,icon: mapIconGreen,id: '625'});var iw35 = new google.maps.InfoWindow({ content: "
Carmel Gate, 119 Bridge Lane, London, NW11 9JT,  Asking price of £695,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.5857875,-0.2079232); var marker36 = new google.maps.Marker({ position: markerPos36, map: map,icon: mapIconGreen,id: '621'});var iw36 = new google.maps.InfoWindow({ content: "
Carmel Gate, 119 Bridge Lane, London, NW11 9JT,  Asking price of £665,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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; 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.583194,-0.175271); var marker37 = new google.maps.Marker({ position: markerPos37, map: map,icon: mapIconGreen,id: '53'});var iw37 = new google.maps.InfoWindow({ content: "
Asmuns Hill, Hampstead Garden Suburb ,  Asking price of £629,950 
" });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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos37);var markerPos38 = new google.maps.LatLng(51.583194,-0.175271); var marker38 = new google.maps.Marker({ position: markerPos38, map: map,icon: mapIconGreen,id: '125'});var iw38 = new google.maps.InfoWindow({ content: "
Brookland Rise, Hampstead Garden Suburb,  Asking price of £625,000 
" });google.maps.event.addListener(marker38, "mouseover", function (e) { iw38.open(map, this); }); google.maps.event.addListener(marker38, "mouseout", function (e) { iw38.close(map, this); });google.maps.event.addListener(marker38, '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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos38);var markerPos39 = new google.maps.LatLng(51.5857875,-0.2079232); var marker39 = new google.maps.Marker({ position: markerPos39, map: map,icon: mapIconGreen,id: '618'});var iw39 = new google.maps.InfoWindow({ content: "
Carmel Gate, 119 Bridge Lane, London, NW11 9JT,  Asking price of £625,000 
" });google.maps.event.addListener(marker39, "mouseover", function (e) { iw39.open(map, this); }); google.maps.event.addListener(marker39, "mouseout", function (e) { iw39.close(map, this); });google.maps.event.addListener(marker39, '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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos39);var markerPos41 = new google.maps.LatLng(51.583194,-0.175271); var marker41 = new google.maps.Marker({ position: markerPos41, map: map,icon: mapIconGreen,id: '51'});var iw41 = new google.maps.InfoWindow({ content: "
Brookland Rise, Hampstead Garden Suburb ,  Asking price of £575,000 
" });google.maps.event.addListener(marker41, "mouseover", function (e) { iw41.open(map, this); }); google.maps.event.addListener(marker41, "mouseout", function (e) { iw41.close(map, this); });google.maps.event.addListener(marker41, '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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos41);var markerPos42 = new google.maps.LatLng(51.583194,-0.175271); var marker42 = new google.maps.Marker({ position: markerPos42, map: map,icon: mapIconGreen,id: '168'});var iw42 = new google.maps.InfoWindow({ content: "
Willifield Way, Hampstead Garden Suburb,  Asking price of £565,000 
" });google.maps.event.addListener(marker42, "mouseover", function (e) { iw42.open(map, this); }); google.maps.event.addListener(marker42, "mouseout", function (e) { iw42.close(map, this); });google.maps.event.addListener(marker42, '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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos42);var markerPos43 = new google.maps.LatLng(51.583194,-0.175271); var marker43 = new google.maps.Marker({ position: markerPos43, map: map,icon: mapIconGreen,id: '50'});var iw43 = new google.maps.InfoWindow({ content: "
Denman Drive North, Hampstead Garden Suburb,  Asking price of £559,995 
" });google.maps.event.addListener(marker43, "mouseover", function (e) { iw43.open(map, this); }); google.maps.event.addListener(marker43, "mouseout", function (e) { iw43.close(map, this); });google.maps.event.addListener(marker43, '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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos43);var markerPos44 = new google.maps.LatLng(51.5783161,-0.1964062); var marker44 = new google.maps.Marker({ position: markerPos44, map: map,icon: mapIconGreen,id: '2607'});var iw44 = new google.maps.InfoWindow({ content: "
Britten Close, Hampstead Garden Suburb,  Asking price of £550,000 
" });google.maps.event.addListener(marker44, "mouseover", function (e) { iw44.open(map, this); }); google.maps.event.addListener(marker44, "mouseout", function (e) { iw44.close(map, this); });google.maps.event.addListener(marker44, '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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos44);var markerPos45 = new google.maps.LatLng(51.5781461,-0.1975238); var marker45 = new google.maps.Marker({ position: markerPos45, map: map,icon: mapIconGreen,id: '664'});var iw45 = new google.maps.InfoWindow({ content: "
Regal Court, Finchley Road, London, NW11,  Asking price of £535,000 
" });google.maps.event.addListener(marker45, "mouseover", function (e) { iw45.open(map, this); }); google.maps.event.addListener(marker45, "mouseout", function (e) { iw45.close(map, this); });google.maps.event.addListener(marker45, '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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos45);var markerPos46 = new google.maps.LatLng(51.5651447,-0.1970047); var marker46 = new google.maps.Marker({ position: markerPos46, map: map,icon: mapIconGreen,id: '705'});var iw46 = new google.maps.InfoWindow({ content: "
The Lexington, London,  Asking price of £470,000 
" });google.maps.event.addListener(marker46, "mouseover", function (e) { iw46.open(map, this); }); google.maps.event.addListener(marker46, "mouseout", function (e) { iw46.close(map, this); });google.maps.event.addListener(marker46, '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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos46);var markerPos47 = new google.maps.LatLng(51.583194,-0.175271); var marker47 = new google.maps.Marker({ position: markerPos47, map: map,icon: mapIconGreen,id: '49'});var iw47 = new google.maps.InfoWindow({ content: "
Asmuns Place, Hampstead Garden Suburb,  Asking price of £325,000 
" });google.maps.event.addListener(marker47, "mouseover", function (e) { iw47.open(map, this); }); google.maps.event.addListener(marker47, "mouseout", function (e) { iw47.close(map, this); });google.maps.event.addListener(marker47, '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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos47);var markerPos48 = new google.maps.LatLng(51.57937389344075,-0.18782199999998284); var marker48 = new google.maps.Marker({ position: markerPos48, map: map,icon: mapIconGreen,id: '3171'});var iw48 = new google.maps.InfoWindow({ content: "
Ruskin Close, Hampstead Garden Suburb,  Asking price of £0 
" });google.maps.event.addListener(marker48, "mouseover", function (e) { iw48.open(map, this); }); google.maps.event.addListener(marker48, "mouseout", function (e) { iw48.close(map, this); });google.maps.event.addListener(marker48, '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"] = '1000000'; i.vars["orderBy"] = 'DESC'; i.vars["page"] = selPage; i.vars["rental"] = ''; i.vars["location"] = ''; i.vars["latest"] = ''; i.vars["latestFlag"] = ''; i.vars["showFav"] = '0'; i.vars["sold"] = ''; i.vars["id"] = this.id; i.fnVars["id"] = this.id; i.gotoFunction = "propDivAdd"; i.AjaxPostSQL() }});bounds.extend(markerPos48); 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); }