reem = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/
function vForm(MF) {
  if (MF.mname.value=="") {
    alert("You have to tell us who you are!")
    return false
  }
  if ((MF.maddress.value=="" || MF.mcity.value=="") &&
      MF.mdphone.value=="" &&
      MF.mephone.value=="" && MF.memail.value=="") {
    alert("How can we contact you?")
    return false
  }
  if (MF.memail.value!="" && !reem.test(MF.memail.value)) {
    alert("Invalid email address")
    return false
  }
  if (!(MF.mavail[0].checked || MF.mavail[1].checked
     || MF.mavail[2].checked || MF.mavail[3].checked)
     && !MF.audlist.checked) {
    alert("When are you available?")
    return false
  }
  active=false
  for (var i=0; i<MF.activ.length; i++) { 
    active = active | MF.activ[i].checked
  }
  active = active | MF.audlist.checked
  if (!active) {
     alert("You didn't select an activity.")
     return false
  }
  if (MF.activ[2].checked && MF.activmusins.value == "") {
     alert("Well, what's the instrument?")
     return false
  }
  if (MF.activ[MF.activ.length-1].checked && MF.activother.value == "") {
     alert("OK then, what's the other?")
     return false
  }
//  alert("PASSED")
  return true
}
var nn4 = (document.layers) ? true : false 
var ie = (document.all) ? true : false 
var dom = (document.getElementById && !document.all) ? true : false 
var obj =  5
var msgs = new Array ("Has rehearsal duties that include taking notes, recording blocking, prompting the actors, and helping the director as necessary.&nbsp Performance duties include calling cues, choreographing and supervising scene changes and doing whatever is necessary to make performances run smoothly.", "Carry out all backstage functions, including helping with costume changes and setting and striking scene changes.&nbsp No experience is required.", "Willing to research the period (if we're doing a period play), work with the director on the design, and buy or make the required costumes.", "Determines the lighting effects of the play with the director, then chooses the lighting instruments and their placement for effective operation.", "Runs the dimmer board on cues during performances.&nbsp No experience required.", "Designer chooses (with the director) and finds the music and effects, and prepares the cues on tape or CD.&nbsp Operator runs the cues during performances.&nbsp No experience required, but familiarity with sound equipment preferred.", "Includes building flats and platforms, hanging doors and windows, and making set dressing pieces, usually on Saturdays during the rehearsal period.", "Includes flats and platforms floors, finishing details, and texturing/special effects.", "Greets and seats ticketed patrons and hands out programs.&nbsp During intermission will sell snacks and drinks at the snack bar.&nbsp After performance, will tidy up after patrons as needed.")
function layerOn(msg) {
  if(nn4) { 
        return true
// document.layers["lay1"].document.open()
// document.layers["lay1"].document.write(msgs[msg])
// document.layers["lay1"].document.close()
// document.layers["lay1"].visibility="visible" 
 }
 else {  
 document.getElementById("lay1").innerHTML = msgs[msg]  
 document.getElementById("lay1").style.visibility="visible" 
        } 
}
//  var obj = document.layers ? document.layers["lay1"] :
//   document.getElementById ? document.getElementById("lay1").style :
//   document.all["lay1"].style;
//  obj.visibility = document.layers ? (1 ? "show" : "hide") :
//   (1 ? "visible" : "hidden");
function layerOff() {
  if(!nn4) {
   document.getElementById("lay1").style.visibility="hidden" 
  }
  else {
   return true
// document.layers["lay1"].visibility="hidden"
  }
}
if (!nn4) {
//  document.write("<style>\r #exp {background-color:silver}\r</style>")
//  document.write("<style>\r #exp {border: 1px ridge gray}\r</style>")
  document.write("<style>\r #exp {font-style: italic}\r</style>")
}