// JavaScript Document

function valid(frm)
  {    
			for ( i=0;   i<frm.length;  i++)  //will go through every form field
		{	  
			// if not blank
				if (frm.elements[i].value == "")
				{     
						alert("All fields must be entered")
						frm.elements[i].focus()
						return false
				}  // Close the Blank fields 

					//look for a valid password
				
				if (frm.elements[i].name == "password") 
					{						
						if (frm.elements[i].value != "bulletin456")
						{
									alert("This is not a valid password")
									frm.elements[i].focus()
									return false
						}
					}  // close  the password check


	    }  // close the for-loop
   } //close the function

