\
// Signup to receive automatic listing alerts click here to get started \
//
");
document.write(" \
\
\
");
function openCloseFyeoOverlay() {
el = document.getElementById("fyeo_overlay");
el.style.visibility = (el.style.visibility == "visible") ? "hidden" : "visible";
}
function fyeoSubmitForm() {
var thank_you_message = "
\
Thank you for signing up to our automatic listing alerts. You will shortly receive a confirmation email. Please click the link inside this email to confirm your alert subscription. \
\
Thank you for signing up to our automatic listing alerts. You will shortly receive a confirmation email. Please click the link inside this email to confirm your alert subscription. \
\
";
document.getElementById("fyeo_form_body").innerHTML = thank_you_message;
},
error: function (xhr, status) {
alert("error");
}
});
});
});
});
}
jQuery(document).ready(function(){
activateMultiSelect();
jQuery('.fyeo_form_body ul.tabs li').click(function(){
var tab_id = jQuery(this).attr('data-tab');
jQuery('ul.tabs li').removeClass('current');
jQuery('.tab-content').removeClass('current');
jQuery(this).addClass('current');
jQuery("#"+tab_id).addClass('current');
switchInputs(jQuery(this));
console.log(jQuery(this));
var listingTypeVal = jQuery("#"+tab_id).attr("data-listingtype");
jQuery("input[name='listing_type']").val(listingTypeVal);
});
setupForm("#form_4yio_sales");
setupForm("#form_4yio_rentals");
});
function closeFyeoOverlay() {
el = document.getElementById("fyeo_overlay");
el.style.visibility = 'hidden';
}
function validatePhone(inputtxt)
{
var phoneno = /^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;
if(inputtxt.value.match(phoneno))
{
return true;
}
else
{
alert("Not a valid Phone Number");
return false;
}
}
var popup_html = "
\
\
×
\
\
\
\
Signup below to get up to the minute property alerts.
\
Gain valuable market insight by being among the first to know when your perfect home comes onto the market or prices change.