
function movein(which,html){
which.className='MenuActive'
}

function moveout(which){
which.className='SideMenu'
}

//The following function can be used to require fields in forms.  To make it work, create a hidden field call "Required" and list all the required fields separated by "|".  You can use "=Field Text" where Field Text is the description of the field the user will see.  For example "LastName=Last Name"  will result in the user seeing "Last Name is required".  If no = value  provided, the user will see the field name.  Call this function by including: onSubmit='return CheckRequired();'  in the form tag.
function CheckRequired(e){
//return true
var Message="";

if (window.event) e = window.event; 
var Form = e.srcElement? e.srcElement : e.target;

//alert(Form.Required.value);
//var Form=event.srcElement; Doesn't work with Firefox!
if (!Form.Required.value) return true;
var Fields=Form.Required.value.split("|");
var Count=0;
for (FieldNo in Fields)
	{
	TestFieldArray=Fields[FieldNo].split("=");
	TestFieldName=TestFieldArray[0];
	TestFieldText=TestFieldArray[1];
	if(!TestFieldText)TestFieldText=TestFieldName;

//alert(Form.elements[TestFieldName].name);
 var TestFieldValue=Form.elements[TestFieldName].value;

	if(!TestFieldValue)
		 {
		Message+=TestFieldText+"\r\n";
		}
	}
	if(Message)
		{
		alert ("The following fields are required:\r\n"+Message);
		return false
		}
		else
		{
		return true
		}
}