var orderBy = "price"; var orderDir = "DESC"; var currentPage = 1; var listing_source = ""; var selected_home_features= ""; var selected_comm_features= ""; function Listing(property_id,agent_id){ this.property_id = property_id; this.agent_id = agent_id; this.city = ""; this.prop_type = ""; this.bedroom = ""; this.bathroom = ""; this.garage = ""; this.footage = ""; this.pool = ""; this.spa = ""; this.price = ""; this.brokerlogo_sm = ""; this.listing_photo = ""; this.keyword = ""; this.title = ""; this.all_photos = ""; this.clear_data = function() { this.property_id = ""; this.agent_id = ""; this.city = ""; this.prop_type = ""; this.bedroom = ""; this.bathroom = ""; this.garage = ""; this.footage = ""; this.pool = ""; this.spa = ""; this.price = ""; this.brokerlogo_sm = ""; this.listing_photo = ""; this.keyword = ""; } this.copy_data = function(obj) { this.property_id = obj.property_id; this.agent_id = obj.agent_id; this.city = obj.city; this.prop_type = obj.prop_type; this.bedroom = obj.bedroom; this.bathroom = obj.bathroom; this.garage = obj.garage; this.footage = obj.footage; this.pool = obj.pool; this.spa = obj.spa; this.price = obj.price; this.brokerlogo_sm = obj.brokerlogo_sm; this.listing_photo = obj.listing_photo; this.keyword = obj.keyword; } } var listingArrayIndex = 0; var listingArray = new Array(10); for(var i=0; i<11; i++) { listingArray[i] = new Listing("",""); } var seletedListingArrayIndex = 0; var selectedListingArray = new Array(20); for(var i=0; i<20; i++) { selectedListingArray[i] = new Listing("",""); } function ImageLoadFailed(obj) { obj.src = "http://www.househunt.org/images/no-photo-01.jpg"; //window.event.srcElement.style.display = "None"; } function resize_logo() { if(img_brokerlogo.height>80) img_brokerlogo.height = 80; } function getStyleObject(objectId) { // checkW3C DOM, then MSIE 4, then NN 4. // if(document.getElementById && document.getElementById(objectId)) { return document.getElementById(objectId).style; } else if (document.all && document.all(objectId)) { return document.all(objectId).style; } else if (document.layers && document.layers[objectId]) { return document.layers[objectId]; } else { return false; } } function genSearchOption(home_feature,comm_feature) { var sch_opt_content = ''; sch_opt_content += '
| Home Features | '; var arr_home_feature = home_feature.split(","); cnt_cell =0; for(var i = 0; i < arr_home_feature.length; i++){ if(home_feat[arr_home_feature[i]] == undefined) continue; if(cnt_cell==0) sch_opt_content += '||||
| =0) sch_opt_content += ' CHECKED '; sch_opt_content += '>' + home_feat[arr_home_feature[i]]+' | '; if(cnt_cell==5) cnt_cell=0 ; } sch_opt_content += '||||
| Community Features | '; var arr_comm_feature = comm_feature.split(","); cnt_cell =0; for(var i = 0; i < arr_comm_feature.length; i++){ if(comm_feat[arr_comm_feature[i]] == undefined) continue; if(cnt_cell==0) sch_opt_content += '||||
| =0) sch_opt_content += ' CHECKED '; sch_opt_content += '>' + comm_feat[arr_comm_feature[i]]+' | '; if(cnt_cell==5) cnt_cell=0 ; } sch_opt_content += '||||
| '+ ' | '+ ' | '+list_rec[4]+' | ' + ''+list_rec[5]+' | ' + ''+list_rec[6]+' | ' + ''+list_rec[7]+' | ' + ''+list_rec[8]+' | ' + ''+list_rec[9]+' | ' + ''+list_rec[10]+' | ' + ''+list_rec[11]+' | ' + ''+list_rec[12]+' | ' + ''+list_rec[13]+' | ' + '
| '+ '' + ' | ' + ''+
' | ' +
''+obj.city+' | ' + ''+obj.prop_type+' | ' + ''+obj.bedroom +' | ' + ''+obj.bathroom+' | ' + ''+obj.garage+' | ' + ''+obj.footage+' | ' + ''+obj.pool+' | ' + ''+obj.spa+' | ' + ''+obj.price+' | ' + ''+obj.brokerlogo_sm+' | ' + '
| '+selectedListingArray[i].city+' | ' + ''+selectedListingArray[i].price+' | ' + '
| '+selectedListingArray[i].bedroom+' bd, '+selectedListingArray[i].bathroom+' ba, '+selectedListingArray[i].footage+' sf | ' + 'remove | '+ '
| '+listingArray[n].city+' | ' + ''+listingArray[n].price+' | ' + '
| '+listingArray[n].bedroom+' beds, '+listingArray[n].bathroom+' baths, '+listingArray[n].footage+' sqft | ' + ''+ ' |
| Featured \'Bank Owned\' Property | '+ 'X |
| '+featureListing.city+' | ' + ''+featureListing.price+' | ' + '
| '+featureListing.bedroom+' beds, '+featureListing.bathroom+' baths, '+featureListing.footage+' sqft | ' + ''+ ' |
| '+ 'There are '+(totalListings-1)+' more "'+uniqueProperty+'" properties found in this area.' + ' |
| '+
'You can select more properties from the list. And then please enter information on this page below to access the full detail on this featured property and others ' + ' |
| '+
'Please enter information on this page below to access the full detail on this properties and others ' + ' |
| '+ 'close window' + ' |
| '+
' No properties found. Please change your criteria. '+ 'Even though no properties matched my criteria,'+ ' '+ 'please send listings on homes/condos in the surrounding areas.'+ ' '+ 'Yes, I am entering my information below. Thank you!'+ ' '+ ' |