
	function formSubmit() {
	
      var iChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ !#$%&'()*+,-./0123456789:;<=>?@[]^_{|}~";
      for (var i = 0; i < document.videosubmission.title.value.length; i++) {
      	if (iChars.indexOf(document.videosubmission.title.value.charAt(i)) == -1) {
      	alert ("Your Title has special characters. \nThese are not allowed.\n Please remove them and try again.");
      	return false;
        }
      }
	  
      for (var i = 0; i < document.videosubmission.description.value.length; i++) {
      	if (iChars.indexOf(document.videosubmission.description.value.charAt(i)) == -1) {
      	alert ("Your Description has special characters. \nThese are not allowed.\n Please remove them and try again.");
      	return false;
        }
      }

      for (var i = 0; i < document.videosubmission.artist.value.length; i++) {
      	if (iChars.indexOf(document.videosubmission.artist.value.charAt(i)) == -1) {
      	alert ("Your Artist has special characters. \nThese are not allowed.\n Please remove them and try again.");
      	return false;
        }
      }

      for (var i = 0; i < document.videosubmission.song.value.length; i++) {
      	if (iChars.indexOf(document.videosubmission.song.value.charAt(i)) == -1) {
      	alert ("Your Song has special characters. \nThese are not allowed.\n Please remove them and try again.");
      	return false;
        }
      }
	  
      
      for (var i = 0; i < document.videosubmission.program.value.length; i++) {
      	if (iChars.indexOf(document.videosubmission.program.value.charAt(i)) == -1) {
      	alert ("Your Program has special characters. \nThese are not allowed.\n Please remove them and try again.");
      	return false;
        }
      }
	  
      for (var i = 0; i < document.videosubmission.length.value.length; i++) {
      	if (iChars.indexOf(document.videosubmission.length.value.charAt(i)) == -1) {
      	alert ("Your Length has special characters. \nThese are not allowed.\n Please remove them and try again.");
      	return false;
        }
      }


      for (var i = 0; i < document.videosubmission.size.value.length; i++) {
      	if (iChars.indexOf(document.videosubmission.size.value.charAt(i)) == -1) {
      	alert ("Your Size has special characters. \nThese are not allowed.\n Please remove them and try again.");
      	return false;
        }
      }

      for (var i = 0; i < document.videosubmission.format.value.length; i++) {
      	if (iChars.indexOf(document.videosubmission.format.value.charAt(i)) == -1) {
      	alert ("Your Format has special characters. \nThese are not allowed.\n Please remove them and try again.");
      	return false;
        }
      }

      for (var i = 0; i < document.videosubmission.vid_link.value.length; i++) {
      	if (iChars.indexOf(document.videosubmission.vid_link.value.charAt(i)) == -1) {
      	alert ("Your Video URL has special characters. \nThese are not allowed.\n Please remove them and try again.");
      	return false;
        }
      }

      for (var i = 0; i < document.videosubmission.alt_link.value.length; i++) {
      	if (iChars.indexOf(document.videosubmission.alt_link.value.charAt(i)) == -1) {
      	alert ("Your Alternate Video URL has special characters. \nThese are not allowed.\n Please remove them and try again.");
      	return false;
        }
      }


	  var iChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!$&()+,-.0123456789:<=>@[]^_{|}~ :\\-.0123456789_";
	  var cutoff = document.videosubmission.userfile.value.lastIndexOf("\\");
	  var cutoff2 = document.videosubmission.userfile.value.lastIndexOf("/");
	  var filename = document.videosubmission.userfile.value.substr(cutoff);
	  var filename2 = document.videosubmission.userfile.value.substr(cutoff2);
	  
	  for (var i = 0; i < filename.length; i++) {
      	if (iChars.indexOf(filename.charAt(i)) == -1) {
      	alert ("Your Image Upload has special characters. \nThese are not allowed.\n Please change your file name and try again.");
      	return false;
        }
      }
	  
	  for (var i = 0; j < filename2.length; i++) {
		if (iChars.indexOf(filename2.charAt(i)) == -1) {
      	alert ("Your Image Upload has special characters. \nThese are not allowed.\n Please change your file name and try again.");
      	return false;
		}
	}
	  
    }
	
	
