function residentscrip(tag) {
  var residentname = prompt("Please enter your first and last name:","");
  var pass = prompt("Password:","")+"resident";
  if (pass == "ipc"+tag){
  window.open("residents.htm")
  }else{
  alert ("Sorry "+residentname+", that name/pasword combination is not in the records.  Please e-mail the Webmaster to receive access to this section.")
  }
}