function submitPhoto() 
{
	//document.submissionForm.submit();
	
	document.photoUploadForm.formSubmit.disabled="true";
	//document.getElementById('pleasewaitScreen').style.display="block";
	document.photoUploadForm.submit();

	return true;
}
function submitVideo() 
{
	document.videoUploadForm.formSubmit.disabled="true";
	document.getElementById('pleasewaitScreen').style.display="block";
	document.videoUploadForm.submit();
	return true;
}

function submitPost() 
{
	document.emailPost.submit();
	return true;
}

function submitForm() 
{
	document.emailForm.submit();
	return true;
}
/*function submitCommentForm() 
{
	document.commentForm.submit();
	return true;
}*/
function sendPost()
{
	document.emailForm.submit();
	return true;
}
function sendValidate()
{
	if(validate($(this.parentNode), 'email_form'))
		sendPost();
}
/*function commentValidate()
{
	if(validate($(this.parentNode), 'comment'))
		submitCommentForm();
}*/
function ContactValidate()
{
	if(validate($(this.parentNode), 'contactus'))
		submitContact();
}
function submitContact() 
{
	document.contactform.submit();
	return true;
}
function photoValidate()
{
     if(validate($('#submission_form'), 'submission'))
                 submitPhoto();
}
function videoValidate()
{

	 if(validate($('#submission_form'), 'submission'))
     submitVideo();
}


