document.write(" <script language=\"javaScript\"> ");
document.write(" function getAddress(s) { ");
document.write(" var begin=s.indexOf('<address>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</address>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+9,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getListedBy(s) { ");
document.write(" var begin=s.indexOf('<listed_by>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</listed_by>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+11,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getCity(s) { ");
document.write(" var begin=s.indexOf('<city>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</city>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+6,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getState(s) { ");
document.write(" var begin=s.indexOf('<state>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</state>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+7,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getZip(s) { ");
document.write(" var begin=s.indexOf('<zip>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</zip>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+5,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getBeds(s) { ");
document.write(" var begin=s.indexOf('<beds>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</beds>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+6,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getBaths(s) {   ");
document.write("   var temp='';  ");
document.write("   var begin=s.indexOf('<fullbaths>');   ");
document.write("   if (begin>=0)   ");
document.write("   {   ");
document.write("     var end=s.indexOf('</fullbaths>');   ");
document.write("     if (end >=0){   ");
document.write("       temp = s.substring(begin+11,end);   ");
document.write("       begin=s.indexOf('<halfbaths>');   ");
document.write("       if (begin>=0) {  ");
document.write("         end=s.indexOf('</halfbaths>');   ");
document.write("         if (end >=0){   ");
document.write("           var halfbath = s.substring(begin+11,end);  ");
document.write("           if (halfbath.length > 0) {  ");
document.write("             temp += '.' + halfbath  ");
document.write("           }  ");
document.write("         }   ");
document.write("       }   ");
document.write("     }   ");
document.write("   }  ");
document.write("   return temp;  ");
document.write(" }   ");
document.write(" function getFullBaths(s) { ");
document.write(" var begin=s.indexOf('<fullbaths>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</fullbaths>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+11,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getHalfBaths(s) { ");
document.write(" var begin=s.indexOf('<halfbaths>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</halfbaths>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+11,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getMLS(s) { ");
document.write(" var begin=s.indexOf('<mls>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</mls>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+5,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getDescription(s) { ");
document.write(" var begin=s.indexOf('<description>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</description>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+13,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getType(s) { ");
document.write(" var begin=s.indexOf('<type>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</type>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+6,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getPrice(s) { ");
document.write(" var begin=s.indexOf('<price>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</price>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+7,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getPic(s) { ");
document.write(" var begin=s.indexOf('<pic>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</pic>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+5,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getGarage(s) { ");
document.write(" var begin=s.indexOf('<garage>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</garage>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+8,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getFirePlace(s) { ");
document.write(" var begin=s.indexOf('<fireplace>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</fireplace>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+11,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getSize(s) { ");
document.write(" var begin=s.indexOf('<size>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</size>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+6,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getYearBuilt(s) { ");
document.write(" var begin=s.indexOf('<year_built>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</year_built>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+12,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getStyle(s) { ");
document.write(" var begin=s.indexOf('<style>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</style>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+7,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getLevel(s) { ");
document.write(" var begin=s.indexOf('<level>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</level>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+7,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write(" function getReciprocity(s) {  ");
document.write("   var reciprocity= '';  ");
document.write("   var begin=s.indexOf('<reciprocity>');  ");
document.write("   if (begin>=0) {  ");
document.write("      var end=s.indexOf('</reciprocity>');  ");
document.write("      if (end >=0){  ");
document.write("        reciprocity = s.substring(begin+13,end);  ");
document.write("        reciprocity = reciprocity.toUpperCase(); ");
document.write("        if (reciprocity.length > 0) { ");
document.write("           reciprocity = reciprocity.substring(0,1); ");
document.write("        } ");
document.write("      }  ");
document.write("   }  ");
document.write("   return reciprocity; ");
document.write(" }  ");
document.write(" function getNewConstruction(s) {  ");
document.write("   var temp = '';  ");
document.write("   var begin=s.indexOf('<new_construction>');  ");
document.write("   if (begin>=0) {  ");
document.write("      var end=s.indexOf('</new_construction>');  ");
document.write("      if (end >=0){  ");
document.write("        temp = s.substring(begin+18,end);  ");
document.write("        temp = temp.toUpperCase(); ");
document.write("        if (temp.length > 0) { ");
document.write("           temp = temp.substring(0,1); ");
document.write("        } ");
document.write("      }  ");
document.write("   }  ");
document.write("   return temp; ");
document.write(" }  ");
document.write(" function getVTour(s) { ");
document.write(" var begin=s.indexOf('<vtour>'); ");
document.write(" if (begin>=0) ");
document.write(" { ");
document.write(" var end=s.indexOf('</vtour>'); ");
document.write(" if (end >=0){ ");
document.write(" return s.substring(begin+7,end); ");
document.write(" } ");
document.write(" } ");
document.write(" } ");
document.write("</script>");
document.write('<script language=JavaScript>');
document.write('var IE;');
document.write('var NN;');
document.write('if(navigator.appName=="Microsoft Internet Explorer")');
document.write('{');
document.write('IE=true;');
document.write('}');
document.write('if(navigator.appName=="Netscape")');
document.write('{');
document.write('NN=true;');
document.write('} ');
document.write('function right(click)');
document.write('{');
document.write('if(IE && (event.button==2 || event.button==3))');
document.write('{');
document.write('alert("The right click has been disabled here.");');
document.write('return false;');
document.write('}');
document.write('if(NN && (click.which==2 || click.which==3))');
document.write('{');
document.write('alert("The right click has been disabled here.");');
document.write('return false;');
document.write('}');
document.write('return false;');
document.write('}');
document.write('if (document.layers) window.captureEvents(Event.MOUSEDOWN);');
document.write('if (document.layers) window.captureEvents(Event.MOUSEUP);');
document.write('document.onmousedown=right;');
document.write('document.onmouseup=right;');
document.write('window.document.layers=right;');
document.write('</script>');
