<!--

function tellFriend(listnum) {
  var bcc = "jean@bellaworksweb.com,pm@mytownhome.com";
  var subject = "Take a look at this rental property";
  var body =
      "Click below to view a rental property that I found " +
      "on the My Home Leasing website:\n\n " +
      "  http://www.myhomeleasing.com/cgi-bin/rentaldetail.pl?listnum=" + listnum + "\n\n" +
      "(if you can't click on the above link, just copy and paste it " +
      "into the Address field of your web browser)";

  // BUILD MAIL MESSAGE COMPONENTS
  var doc = "mailto:" +
      "?bcc=" + bcc +
      "&subject=" + escape(subject) +
      "&body=" + escape(body);

  // POP UP EMAIL MESSAGE WINDOW
  window.location = doc;
  return false;
}

function reqSimilar(listnum) {
  var to = "pm@mytownhome.com";
  var bcc = "jean@bellaworksweb.com";
  var subject = "Request for rental properties similar to " + listnum;
  var body = "Please send me information on rental properties similar to MLS listing " + listnum + ".\n\n";
  body = body+" Price: $"+price+"\n";
  body = body+" Location: "+project+"\n";
  body = body+" Address: "+addr+", "+city+" "+zip+"\n\n";

  // BUILD MAIL MESSAGE COMPONENTS
  var doc = "mailto:" + to +
      "?bcc=" + bcc +
      "&subject=" + escape(subject) +
      "&body=" + escape(body);

  // POP UP EMAIL MESSAGE WINDOW
  window.location = doc;
}

function reqAppt(listnum) {
  var to = "pm@mytownhome.com";
  var bcc = "jean@bellaworksweb.com";
  var subject = "Request for Appointment";
  var body = "I'd like to schedule an appointment to see MLS listing " + listnum + ".\n";
  body = body+" Price: $"+price+"\n";
  body = body+" Location: "+project+"\n";
  body = body+" Address: "+addr+", "+city+" "+zip+"\n\n";
  body = body+" Agent: "+agent+" ("+office+")\n\n";

  // BUILD MAIL MESSAGE COMPONENTS
  var doc = "mailto:" + to +
      "?bcc=" + bcc +
      "&subject=" + escape(subject) +
      "&body=" + escape(body);

  // POP UP EMAIL MESSAGE WINDOW
  window.location = doc;
  return false;
}

function reqAppt2() {
    var form = document.details
//  alert('in reqAppt2:  form='+form)
//   form.action = "http://www.mytownhome.com/requestappointment.php"
     form.action = "http://www.myhomeleasing.com/requestappointment.php"
     form.target = "_blank"
     form.submit()
     return false
}
//-->

