// JavaScript Document
function requestForm_onsubmit()
{
	var returnValue = false;
	//Lead Support Contact
	if (document.requestForm.leadName.value == "")
	{
		alert("Please enter the name of the Project Support Lead.");
		document.requestForm.leadName.focus();
	}
	else if (document.requestForm.leadEmail.value == "")
	{
		alert("Please enter the email address of the Project Support Lead.");
		document.requestForm.leadEmail.focus();
	}
	else if (document.requestForm.leadPhone.value == "")
	{
		alert("Please enter the phone number of the Project Support Lead.");
		document.requestForm.leadPhone.focus();
	}
	else if (document.requestForm.leadDept.value == "")
	{
		alert("Please enter the department name of the Project Support Lead.");
		document.requestForm.leadDept.focus();
	}
	else if (document.requestForm.leadCampus.value == "")
	{
		alert("Please enter the campus of the Project Support Lead.");
		document.requestForm.leadCampus.focus();
	}
	//End user contact information
	else if (document.requestForm.userName.value == "")
	{
		alert("Please enter the name of the End User.");
		document.requestForm.userName.focus();
	}
	else if (document.requestForm.userEmail.value == "")
	{
		alert("Please enter the email address of the End User.");
		document.requestForm.userEmail.focus();
	}
	else if (document.requestForm.userPhone.value == "")
	{
		alert("Please enter the phone number of the End User.");
		document.requestForm.userPhone.focus();
	}
	else if (document.requestForm.userDept.value == "")
	{
		alert("Please enter the department name of the End User.");
		document.requestForm.userDept.focus();
	}
	else if (document.requestForm.userCampus.value == "")
	{
		alert("Please enter the campus of the End User.");
		document.requestForm.userCampus.focus();
	}
	else if (document.requestForm.userCourse.value == "")
	{
		alert("Please enter the course number or program name of the End User.");
		document.requestForm.userCourse.focus();
	}
	//Video Encoder information
	else if (document.requestForm.encoderName.value == "")
	{
		alert("Please enter the name of the Video Encoder.");
		document.requestForm.encoderName.focus();
	}
	else if (document.requestForm.encoderEmail.value == "")
	{
		alert("Please enter the email address of the Video Encoder.");
		document.requestForm.encoderEmail.focus();
	}
	else if (document.requestForm.encoderPhone.value == "")
	{
		alert("Please enter the phone number of the Video Encoder.");
		document.requestForm.encoderPhone.focus();
	}
	else if (document.requestForm.encoderDept.value == "")
	{
		alert("Please enter the department name of the Video Encoder.");
		document.requestForm.encoderDept.focus();
	}
	else if (document.requestForm.encoderCampus.value == "")
	{
		alert("Please enter the campus of the Video Encoder.");
		document.requestForm.encoderCampus.focus();
	}
	//Streaming Media Usage
	else if (document.requestForm.usage.value == "")
	{
		alert("Please select where the files will be used.");
		document.requestForm.usage.focus();
	}
	else if (document.requestForm.shareFiles.value == "")
	{
		alert("Please indicate if these files can be shared with others.");
		document.requestForm.shareFiles.focus();
	}
	//Video File Information
	else if (document.requestForm.format.value == "")
	{
		alert("Please indicate the format type of the files.");
		document.requestForm.format.focus();
	}
	else if (document.requestForm.audience.value == "")
	{
		alert("Please indicate the target audience of the files.");
		document.requestForm.audience.focus();
	}
	else if (document.requestForm.crOwner.value == "")
	{
		alert("Please indicate the copyright owner of the files.");
		document.requestForm.crOwner.focus();
	}
	else if (document.requestForm.uploadDirectory.value == "")
	{
		alert("Please indicate the upload directory name.");
		document.requestForm.uploadDirectory.focus();
	}
	else if (document.requestForm.filesUploaded.value == "")
	{
		alert("Please indicate the file names that where uploaded.");
		document.requestForm.filesUploaded.focus();
	}
	else
	{
		returnValue = true;
	}
	return returnValue;
}