Benefits of Registering for your FREE Property Watch Account
* Some MLS rules require registration to view all listings
View area properties listed for sale.
Save your searches -- as many as you like.
Found a property you like? Add it to your favorites.
View new listings as they come on the market for each of your saved searches.
Have new listings automatically mailed to you when they hit the market.
Keep notes on your favorite properties and saved searches.
Rate your favorites to keep track of which properties you like best.
* Some Multiple Listings Services restrict access to properties listed for sale. In order to view these properties, certain consumer information must be registered and verified. By completing the registration form, you will immediately have complete access.
// SITE WIDE NAVIGATION SCRIPT
var navMenu, navMenuButton, agentPhoto , agentInfo, hasDropdown;
navMenuButton = $('#rnSiteHeaderNavButton');
navMenu = $('#rnSiteHeaderNavMenu');
agentPhoto = $('.rn-site-header-agent-mobile-contact img');
agentInfo = $('.rn-site-header-agent-mobile-contact-list');
hasDropdown = $('.has-dropdown > a');
navMenuButton.on('click', function(e) {
navMenuButton.toggleClass('is-active');
navMenu.slideToggle();
hasDropdown.on('click', function() {
$(this).next('.dropdown').slideToggle();
});
e.preventDefault();
});
agentPhoto.on('click', function(e) {
agentPhoto.toggleClass('is-active');
agentInfo.slideToggle();
e.preventDefault();
});
// SET ACCOUT VARIABLES
$(document).ready(function () {
var accountID = '307750';
var siteDir = 'huff';
var viewSelected = 'Live';
var regRequresPass = 'false';
var websessionId = '22342418212982232';
var contentId = '352';
var colorHex = '8E908F';
});
// This appears to deal with contact function and login
$(window).bind('contactmeclick', contactMe);
$(window).bind('contactformclose', closeContactMe);
$(window).bind('forgotpasswordclick', forgotPassword);
$(window).bind('openpageclick', openPage);
$(window).bind('openformclick', openForm);
function openPage(evnt, url, name, newWindow) {
var accountID = '307750';
if (newWindow) {
window.open('/huff/' + url + '?AccountID=' + accountID, name, 'width=715px,height=555px,resizable=1,scrollbars=1,');
} else {
document.location = '/huff/' + url;
}
}
function openForm(evnt, url, name, newWindow) {
var accountID = '307750';
if (newWindow) {
window.open('/huff/modules/global/forms/' + url + '?AccountID=' + accountID, name, 'width=450px,height=600px,resizable=1,scrollbars=1,');
} else {
document.location = '?' + url;
}
}
function testForm() {
addMask();
var account = '307750';
$.ajax({url:'http://devweb.summitnetworks.com/huff/modules/global/forms/sellerrequest.asp?AccountID=' + account + '&acc=' + account, success:testformCallback, dataType:'html'});
}
function testformCallback(response) {
response = response.replace(/<\/?(html|head|body)[^>]*>/g,'');
response = response.substring(response.indexOf('/script>')+8).replace(/script/g, '')
console.log(response)
$('').attr('id', 'form').css({position:'absolute', top:'10px', backgroundColor:'#fff', zIndex:1001}).append(response).appendTo($('body'));
}
function forgotPassword() {
addMask();
}
function closeContactMe() {
$('#contact-mask').remove();
$('#contact-form').remove();
}
function addMask() {
var body = $('body');
$('').attr('id', 'contact-mask').css({width:body.outerWidth() + 'px', height:body.outerHeight() + 'px'}).appendTo(body);
}
function contactMe() {
addMask();
$.ajax({url:'/huff/modules/internet/contactMeForm.aspx?webSessionID=22342418212982232&contentID=352&accountid=307750', success:contactMeCallback});
}
function contactMeCallback(response) {
var body = $('body');
var dummy = $('').attr('id', 'contact-form').append(response).appendTo(body);
var width = dummy.width();
var outerWidth = dummy.outerWidth();
var height = dummy.height();
var outerHeight = dummy.outerHeight();
dummy.remove();
var win = $(window);
var left = Math.floor((win.width() - outerWidth) / 2);
var top = Math.floor((win.height() - outerHeight) / 2);
$('').attr('id', 'contact-form').css({width:width + 'px', height:height + 'px', top:top + 'px', left:left+'px'}).append(response).appendTo(body);
var infoColumn = $('#-cf-column-info');
var infoColumnWidth = infoColumn.width();
var infoObjs = infoColumn.children('div');
for(var i=0; i < infoObjs.length; i++) {
if($(infoObjs[i]).width() > infoColumnWidth)
infoColumnWidth = $(infoObjs[i]).width();
}
var defaultInfoColumnWidth = 200;
var infoColumnMargin = 2 * parseInt(infoColumn.css("margin-left"), 10);
//var infoColumnOverflowWidth = ((infoColumn.width() - defaultInfoColumnWidth)/2) - infoColumnMargin;
if (infoColumnWidth > defaultInfoColumnWidth) {
$('#contact-form').width(width + 5);
} else {
infoColumn.width(200);
$('#contact-form').width(width + 40);
}
var delta = $('#contact-form').height() - $('#-cf-column-form').height();
if (delta > 0) {
var message = $('#-cf-form-field-message');
message.css('height', (delta + message.height()) + 'px');
}
infoColumn.css({backgroundColor:'#8E908F', backgroundImage:'-moz-radial-gradient(50% 50% 90deg, circle cover, rgba(0, 0, 0, 0), rgba(0, 0, 0, .4))'});
// jquery doesn't appear to recognize the -webkit-gradient using rgba, assign the background image the non-jquery way
try {
infoColumn[0].style.backgroundImage = '-webkit-gradient(radial, 50% 50%, ' + infoColumn.outerHeight() + ', 50% 50%, ' + (infoColumn.outerWidth() / 2) + ', from(rgba(0, 0, 0, .7)), to(rgba(0, 0, 0, 0)))';
} catch(err){}
}
function focused(node) {
node = $(node);
var parent = node.parent();
var child = $(parent.children('div')[0]);
child.attr('oc',child.css('color')).css({visibility:'hidden'});
node.css({color:'#000', backgroundColor:'#fff'})
}
function blured(node) {
node = $(node);
var parent = node.parent();
var child = $(parent.children('div')[0]);
child.css({visibility:($.trim(node.val()).length > 0 ? 'hidden' : 'visible')});
node.css({color:child.attr('oc'), backgroundColor:'transparent'})
}
function submitlostpasswordrequest() {
var x;
var username = $.trim($('input[name=username]').val());
x = window.open('/huff/modules/internet/search/lostpassword.asp?email=' + username,'lostpassword','width=313,height=245');
x.focus();
return true;
}