// JavaScript Document
function showContent(content1)
{
	 if (document.getElementById(content1).style.display == "none") 
	 {
		 
          document.getElementById(content1).style.display = "block"
     }
     else 
	 {
          document.getElementById(content1).style.display = "none";
     }
	 
}


//from http://www.elated.com/articles/form-validation-with-javascript/
function validateForm()
{
	valid = true;

    if (document.accessareas1.accessname.value == "")
    {
        alert ("Please select an access area from the menu.");
        valid = false;
    }

    return valid;
}