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 ,
mapId: "mapsp_MAP_ID",
// 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.583721,-0.19947);
var marker0 = new google.maps.Marker({ position: markerPos0, map: map,icon: mapIconGreen,id: '105672'});var iw0 = new google.maps.InfoWindow({
content: "
Finchley Road, , Asking price of £500,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.565773,-0.196691);
var marker1 = new google.maps.Marker({ position: markerPos1, map: map,icon: mapIconGreen,id: '111209'});var iw1 = new google.maps.InfoWindow({
content: "2 Bedrooms, London, Asking price of £830,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.561084,-0.197088);
var marker2 = new google.maps.Marker({ position: markerPos2, map: map,icon: mapIconGreen,id: '111204'});var iw2 = new google.maps.InfoWindow({
content: "3 Bedrooms, London, Asking price of £1,150,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.619319,-0.235674);
var marker3 = new google.maps.Marker({ position: markerPos3, map: map,icon: mapIconGreen,id: '111214'});var iw3 = new google.maps.InfoWindow({
content: "3 Bedrooms, , Asking price of £1,195,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.579593,-0.190191);
var marker4 = new google.maps.Marker({ position: markerPos4, map: map,icon: mapIconGreen,id: '110777'});var iw4 = new google.maps.InfoWindow({
content: "South Square, , Asking price of £1,200,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.575382,-0.171543);
var marker5 = new google.maps.Marker({ position: markerPos5, map: map,icon: mapIconGreen,id: '111215'});var iw5 = new google.maps.InfoWindow({
content: "1 Bedroom, , Asking price of £1,430,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.572528,-0.200521);
var marker6 = new google.maps.Marker({ position: markerPos6, map: map,icon: mapIconGreen,id: '111211'});var iw6 = new google.maps.InfoWindow({
content: "2 Bedrooms, 47-49 Woodstock Road, Asking price of £1,500,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.594581,-0.201847);
var marker7 = new google.maps.Marker({ position: markerPos7, map: map,icon: mapIconGreen,id: '109701'});var iw7 = new google.maps.InfoWindow({
content: "Arden Road, , Asking price of £1,750,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.587135,-0.170759);
var marker8 = new google.maps.Marker({ position: markerPos8, map: map,icon: mapIconGreen,id: '110977'});var iw8 = new google.maps.InfoWindow({
content: "Brim Hill, , Guide Price £1,825,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.573757,-0.187833);
var marker9 = new google.maps.Marker({ position: markerPos9, map: map,icon: mapIconGreen,id: '104533'});var iw9 = new google.maps.InfoWindow({
content: "Heath Close, , Asking price of £2,195,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.572502,-0.187256);
var marker10 = new google.maps.Marker({ position: markerPos10, map: map,icon: mapIconGreen,id: '110307'});var iw10 = new google.maps.InfoWindow({
content: "Reynolds Close, , Asking price of £2,295,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.565685,-0.196251);
var marker11 = new google.maps.Marker({ position: markerPos11, map: map,icon: mapIconGreen,id: '111216'});var iw11 = new google.maps.InfoWindow({
content: "3 Bedrooms, 1B Hodford Road, Asking price of £2,395,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.579891,-0.178152);
var marker12 = new google.maps.Marker({ position: markerPos12, map: map,icon: mapIconGreen,id: '108228'});var iw12 = new google.maps.InfoWindow({
content: "Carlyle Close, Hampstead Garden Suburb, Asking price of £2,495,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.577377,-0.182124);
var marker13 = new google.maps.Marker({ position: markerPos13, map: map,icon: mapIconGreen,id: '106129'});var iw13 = new google.maps.InfoWindow({
content: "Wildwood Road, , Asking price of £2,995,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.573375,-0.187933);
var marker14 = new google.maps.Marker({ position: markerPos14, map: map,icon: mapIconGreen,id: '108617'});var iw14 = new google.maps.InfoWindow({
content: "Heath Close, , Guide Price £3,000,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.568347,-0.183555);
var marker15 = new google.maps.Marker({ position: markerPos15, map: map,icon: mapIconGreen,id: '111213'});var iw15 = new google.maps.InfoWindow({
content: "3 Bedrooms, London, Asking price of £3,100,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.580276,-0.176855);
var marker16 = new google.maps.Marker({ position: markerPos16, map: map,icon: mapIconGreen,id: '108245'});var iw16 = new google.maps.InfoWindow({
content: "Holne Chase, , Asking price of £3,750,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.579463,-0.169782);
var marker17 = new google.maps.Marker({ position: markerPos17, map: map,icon: mapIconGreen,id: '111217'});var iw17 = new google.maps.InfoWindow({
content: "3 Bedrooms, , Asking price of £4,250,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.58258,-0.172602);
var marker18 = new google.maps.Marker({ position: markerPos18, map: map,icon: mapIconGreen,id: '103408'});var iw18 = new google.maps.InfoWindow({
content: "Church Mount, , Asking price of £4,495,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.579235,-0.158229);
var marker19 = new google.maps.Marker({ position: markerPos19, map: map,icon: mapIconGreen,id: '107549'});var iw19 = new google.maps.InfoWindow({
content: "Sheldon Avenue, Kenwood, Guide Price £4,999,500
"
});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.585037,-0.16606);
var marker20 = new google.maps.Marker({ position: markerPos20, map: map,icon: mapIconGreen,id: '96232'});var iw20 = new google.maps.InfoWindow({
content: "The Bishops Avenue, , Guide Price £5,000,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.570686,-0.185425);
var marker21 = new google.maps.Marker({ position: markerPos21, map: map,icon: mapIconGreen,id: '108924'});var iw21 = new google.maps.InfoWindow({
content: "Wellgarth Road, , Guide Price £5,000,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.578319,-0.177595);
var marker22 = new google.maps.Marker({ position: markerPos22, map: map,icon: mapIconGreen,id: '110186'});var iw22 = new google.maps.InfoWindow({
content: "Neville Drive, , Asking price of £5,250,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.581687,-0.170939);
var marker23 = new google.maps.Marker({ position: markerPos23, map: map,icon: mapIconGreen,id: '91486'});var iw23 = new google.maps.InfoWindow({
content: "Winnington Road, , Guide Price £5,450,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.571842,-0.174111);
var marker24 = new google.maps.Marker({ position: markerPos24, map: map,icon: mapIconGreen,id: '109463'});var iw24 = new google.maps.InfoWindow({
content: "Winnington Road, , Asking price of £6,250,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.58255,-0.173432);
var marker25 = new google.maps.Marker({ position: markerPos25, map: map,icon: mapIconGreen,id: '109268'});var iw25 = new google.maps.InfoWindow({
content: "Norrice Lea, , Asking price of £6,250,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.576652,-0.189935);
var marker26 = new google.maps.Marker({ position: markerPos26, map: map,icon: mapIconGreen,id: '111202'});var iw26 = new google.maps.InfoWindow({
content: "Hampstead Way, Hampstead Garden Suburb, Asking price of £6,250,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.567863,-0.174722);
var marker27 = new google.maps.Marker({ position: markerPos27, map: map,icon: mapIconGreen,id: '111218'});var iw27 = new google.maps.InfoWindow({
content: "5 Bedrooms, , Asking price of £6,500,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.582359,-0.17075099999999999);
var marker28 = new google.maps.Marker({ position: markerPos28, map: map,icon: mapIconGreen,id: '110730'});var iw28 = new google.maps.InfoWindow({
content: "Winnington Road, , Asking price of £6,600,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.575668,-0.170458);
var marker29 = new google.maps.Marker({ position: markerPos29, map: map,icon: mapIconGreen,id: '79864'});var iw29 = new google.maps.InfoWindow({
content: "Canons Close, , Asking price of £7,000,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.57233,-0.17557);
var marker30 = new google.maps.Marker({ position: markerPos30, map: map,icon: mapIconGreen,id: '108195'});var iw30 = new google.maps.InfoWindow({
content: "Ingram Avenue, , Guide Price £7,750,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.572956,-0.174344);
var marker31 = new google.maps.Marker({ position: markerPos31, map: map,icon: mapIconGreen,id: '110731'});var iw31 = new google.maps.InfoWindow({
content: "Winnington Road, , Asking price of £8,000,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.584204,-0.1668);
var marker32 = new google.maps.Marker({ position: markerPos32, map: map,icon: mapIconGreen,id: '72733'});var iw32 = new google.maps.InfoWindow({
content: "The Bishops Avenue, , Asking price of £8,750,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.573894,-0.165504);
var marker33 = new google.maps.Marker({ position: markerPos33, map: map,icon: mapIconGreen,id: '82410'});var iw33 = new google.maps.InfoWindow({
content: "Compton Avenue, Kenwood, Guide Price £8,950,000
"
});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.574722,-0.16338);
var marker34 = new google.maps.Marker({ position: markerPos34, map: map,icon: mapIconGreen,id: '107582'});var iw34 = new google.maps.InfoWindow({
content: "Sheldon Avenue, , Guide Price £8,950,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.574687,-0.182792);
var marker35 = new google.maps.Marker({ position: markerPos35, map: map,icon: mapIconGreen,id: '109037'});var iw35 = new google.maps.InfoWindow({
content: "Wildwood Road, , Asking price of £9,250,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.578357,-0.171235);
var marker36 = new google.maps.Marker({ position: markerPos36, map: map,icon: mapIconGreen,id: '109297'});var iw36 = new google.maps.InfoWindow({
content: "Byron Drive, , Asking price of £9,495,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.582588,-0.168214);
var marker37 = new google.maps.Marker({ position: markerPos37, map: map,icon: mapIconGreen,id: '47507'});var iw37 = new google.maps.InfoWindow({
content: "The Bishops Avenue, , Guide Price £10,500,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);var markerPos38 = new google.maps.LatLng(51.579048,-0.173946);
var marker38 = new google.maps.Marker({ position: markerPos38, map: map,icon: mapIconGreen,id: '98151'});var iw38 = new google.maps.InfoWindow({
content: "Winnington Road, , Guide Price £12,500,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"] = '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(markerPos38);var markerPos39 = new google.maps.LatLng(51.577049,-0.175177);
var marker39 = new google.maps.Marker({ position: markerPos39, map: map,icon: mapIconGreen,id: '110714'});var iw39 = new google.maps.InfoWindow({
content: "Winnington Road, , Asking price of £12,500,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"] = '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(markerPos39);var markerPos40 = new google.maps.LatLng(51.581687,-0.170939);
var marker40 = new google.maps.Marker({ position: markerPos40, map: map,icon: mapIconGreen,id: '82708'});var iw40 = new google.maps.InfoWindow({
content: "Winnington Road, , Asking price of £15,500,000
"
});google.maps.event.addListener(marker40, "mouseover", function (e) { iw40.open(map, this); }); google.maps.event.addListener(marker40, "mouseout", function (e) { iw40.close(map, this); });google.maps.event.addListener(marker40, '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(markerPos40);var markerPos41 = new google.maps.LatLng(51.559497,-0.18944);
var marker41 = new google.maps.Marker({ position: markerPos41, map: map,icon: mapIconGreen,id: '110080'});var iw41 = new google.maps.InfoWindow({
content: "Redington Road, , Guide Price £16,500,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"] = '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(markerPos41);var markerPos42 = new google.maps.LatLng(51.575386,-0.168282);
var marker42 = new google.maps.Marker({ position: markerPos42, map: map,icon: mapIconGreen,id: '71567'});var iw42 = new google.maps.InfoWindow({
content: "Courtenay Avenue, Kenwood, Asking price of £19,500,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"] = '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(markerPos42);var markerPos43 = new google.maps.LatLng(51.573894,-0.165504);
var marker43 = new google.maps.Marker({ position: markerPos43, map: map,icon: mapIconGreen,id: '87883'});var iw43 = new google.maps.InfoWindow({
content: "Compton Avenue, Highgate, Guide Price £20,000,000
"
});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"] = '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(markerPos43);var markerPos44 = new google.maps.LatLng(51.575557,-0.175319);
var marker44 = new google.maps.Marker({ position: markerPos44, map: map,icon: mapIconGreen,id: '95185'});var iw44 = new google.maps.InfoWindow({
content: "Winnington Road, , Asking price of £24,950,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"] = '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(markerPos44);var markerPos45 = new google.maps.LatLng(51.537708,-0.167447);
var marker45 = new google.maps.Marker({ position: markerPos45, map: map,icon: mapIconGreen,id: '111206'});var iw45 = new google.maps.InfoWindow({
content: "8 Bedrooms, , Guide Price £30,000,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"] = '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(markerPos45);
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);
}