
function submit_verify()
 {
	 if (document.getElementsByName("title_original_language")[0].value =="") {
		alert("You must fill in the Title field.");
		document.getElementsByName("title_original_language")[0].focus();
		return false;
	} else if (document.getElementsByName("title_country_of_production")[0].value =="") {
		alert("You must fill in the Country of Origin field.");
		document.getElementsByName("title_country_of_production")[0].focus();
		return false;
	} else if (document.getElementsByName("title_run_time")[0].value =="") {
		alert("You must fill in the Running Time field.");
		document.getElementsByName("title_run_time")[0].focus();
		return false;
	} else if (document.getElementsByName("title_year_completed")[0].value =="") {
		alert("You must fill in the Year Completed.");
		document.getElementsByName("title_year_completed")[0].focus();
		return false;
	} else if (document.getElementsByName("title_colour")[0].value =="") {
		alert("You must select either Colour or Black and White.");
		document.getElementsByName("title_colour")[0].focus();
		return false;	
	} else if (document.getElementsByName("title_premiere")[0].value =="") {
		alert("You must select a Premiere type.");
		document.getElementsByName("title_premiere")[0].focus();
		return false;	
	} else if ((document.getElementsByName("title_genre1")[0].value =="")&&(document.getElementsByName("title_genre2")[0].value =="")&&(document.getElementsByName("title_genre3")[0].value =="")&&(document.getElementsByName("title_genre4")[0].value =="")&&(document.getElementsByName("title_genre5")[0].value =="")&&(document.getElementsByName("title_genre6")[0].value =="")&&(document.getElementsByName("title_genre7")[0].value =="")&&(document.getElementsByName("title_genre8")[0].value =="")&&(document.getElementsByName("title_genre9")[0].value =="")&&(document.getElementsByName("title_genre10")[0].value =="")&&(document.getElementsByName("title_genre11")[0].value =="")) {
		alert("You must select a Category.");
		document.getElementsByName("title_genre1")[0].focus();
		return false;
/*	} else if (document.getElementsByName("title_eligibility_role")[0].value =="") {
		alert("You must fill in the Indigenous Affiliation field.");
		document.getElementsByName("title_eligibility_role")[0].focus();
		return false;*/
	} else if (document.getElementsByName("director_contact_first_name")[0].value =="") {
		alert("You must fill in the Director's First Name field.");
		document.getElementsByName("director_contact_first_name")[0].focus();
		return false;
	} else if (document.getElementsByName("director_contact_last_name")[0].value =="") {
		alert("You must fill in the Director's Last Name field.");
		document.getElementsByName("director_contact_last_name")[0].focus();
		return false;

	} else if (document.getElementsByName("director_aboriginal")[0].value =="") {
		alert("You must fill in the Director's Aboriginal field.");
		document.getElementsByName("director_aboriginal")[0].focus();
		return false;
	} else if (document.getElementsByName("director_indigenous_affiliation")[0].value =="") {
		alert("You must fill in the Director's Indigenous Affiliation field.");
		document.getElementsByName("director_indigenous_affiliation")[0].focus();
		return false;
	} else if (document.getElementsByName("director_street")[0].value =="") {
		alert("You must fill in the Director's Address field.");
		document.getElementsByName("director_street")[0].focus();
		return false;
	} else if (document.getElementsByName("director_city")[0].value =="") {
		alert("You must fill in the Director's City field.");
		document.getElementsByName("director_city")[0].focus();
		return false;
	} else if (document.getElementsByName("director_province")[0].value =="") {
		alert("You must fill in the Director's Province field.");
		document.getElementsByName("director_province")[0].focus();
		return false;

	} else if (document.getElementsByName("director_postalcode")[0].value =="") {
		alert("You must fill in the Director's Postal Code field.");
		document.getElementsByName("director_postalcode")[0].focus();
		return false;
	} else if (document.getElementsByName("director_country")[0].value =="") {
		alert("You must fill in the Director's Country field.");
		document.getElementsByName("director_country")[0].focus();
		return false;

	} else if (document.getElementsByName("director_email")[0].value =="") {
		alert("You must fill in the Director's Email field.");
		document.getElementsByName("director_email")[0].focus();
		return false;



	} else if (document.getElementsByName("director_artist_bio")[0].value =="") {
		alert("You must fill in the Artist Biography field.");
		document.getElementsByName("director_artist_bio")[0].focus();
		return false;


	} else if (document.getElementsByName("distributor_contact_first_name")[0].value =="") {
		alert("You must fill in the Distributor's First Name field.");
		document.getElementsByName("distributor_contact_first_name")[0].focus();
		return false;
	} else if (document.getElementsByName("distributor_contact_last_name")[0].value =="") {
		alert("You must fill in the Distributor's Last Name field.");
		document.getElementsByName("distributor_contact_last_name")[0].focus();
		return false;

	} else if (document.getElementsByName("distributor_aboriginal")[0].value =="") {
		alert("You must fill in the Distributor's Aboriginal field.");
		document.getElementsByName("distributor_aboriginal")[0].focus();
		return false;
	} else if (document.getElementsByName("distributor_indigenous_affiliation")[0].value =="") {
		alert("You must fill in the Distributor's Indigenous Affiliation field.");
		document.getElementsByName("distributor_indigenous_affiliation")[0].focus();
		return false;
	} else if (document.getElementsByName("distributor_street")[0].value =="") {
		alert("You must fill in the Distributor's Address field.");
		document.getElementsByName("distributor_street")[0].focus();
		return false;
	} else if (document.getElementsByName("distributor_city")[0].value =="") {
		alert("You must fill in the Distributor's City field.");
		document.getElementsByName("distributor_city")[0].focus();
		return false;
	} else if (document.getElementsByName("distributor_province")[0].value =="") {
		alert("You must fill in the Distributor's Province field.");
		document.getElementsByName("distributor_province")[0].focus();
		return false;

	} else if (document.getElementsByName("distributor_postalcode")[0].value =="") {
		alert("You must fill in the Distributor's Postal Code field.");
		document.getElementsByName("distributor_postalcode")[0].focus();
		return false;
	} else if (document.getElementsByName("distributor_country")[0].value =="") {
		alert("You must fill in the Distributor's Country field.");
		document.getElementsByName("distributor_country")[0].focus();
		return false;

	} else if (document.getElementsByName("distributor_email")[0].value =="") {
		alert("You must fill in the Distributor's Email field.");
		document.getElementsByName("distributor_email")[0].focus();
		return false;

	} else if (document.getElementsByName("title_synopsis")[0].value =="") {
		alert("You must fill in the Synopsis field.");
		document.getElementsByName("title_synopsis")[0].focus();
		return false;

	} else if (document.getElementsByName("title_synopsis_long")[0].value =="") {
		alert("You must fill in the Long Synopsis field.");
		document.getElementsByName("title_synopsis_long")[0].focus();
		return false;

	} else if (document.getElementsByName("title_submission_format")[0].value =="") {
		alert("You must select a Submission Format.");
		document.getElementsByName("title_submission_format")[0].focus();
		return false;
	} else if (document.getElementsByName("title_final_preview_copy")[0].value =="") {
		alert("You must fill in the Final Preview Copy field.");
		document.getElementsByName("title_final_preview_copy")[0].focus();
		return false;		

	} else  if (document.getElementsByName("title_authorized")[0].checked == false ) {
		alert("You must confirm you have the authority to submit this information.");
		document.getElementsByName("title_authorized")[0].focus();
		return false;
	} else if (document.getElementsByName("title_in_mediatheque")[0].value =="") {
		alert("You must indicate whether or not you give permission to include your work in the imagineNATIVE mediatheque.");
		document.getElementsByName("title_in_mediatheque")[0].focus();
		return false;
	} else if (document.getElementsByName("title_accept")[0].checked == false ) {
		alert("You must agree to the conditions and regulations.");
		document.getElementsByName("title_accept")[0].focus();
		return false;

	} else if (document.getElementsByName("title_online_signed_by")[0].value =="") {
		alert("You must fill in the Signature field.");
		document.getElementsByName("title_online_signed_by")[0].focus();
		return false;
	} else if (document.getElementsByName("title_online_position")[0].value =="") {
		alert("You must fill in the Position field.");
		document.getElementsByName("title_online_position")[0].focus();
		return false;
	} else if (document.getElementsByName("title_online_phone")[0].value =="") {
		alert("You must fill in the Phone field.");
		document.getElementsByName("title_online_phone")[0].focus();
		return false;
	} else if (document.getElementsByName("title_online_email")[0].value =="") {
		alert("You must fill in the Email field.");
		document.getElementsByName("title_online_email")[0].focus();
		return false;
	} else if (document.getElementsByName("title_online_date")[0].value =="") {
		alert("You must fill in the Submission Date field.");
		document.getElementsByName("title_online_date")[0].focus();
		return false;	
	} 
	else
		return true;
}

