// JavaScript Document

function noenter() {
  if(window.event)
  	return !(window.event.keyCode == 13); 
  
  }

  
  function emailcheck(email) {
    if(window.event)
    {
		  var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
		  if(!filter.test(email.value)) email.style.backgroundColor="#FF0000"; else email.style.backgroundColor="#FFFFFF";	
	}
  	noenter();
  }  
  
  function display_uploadinfo_on(){
    document.getElementById('uploadinfo').style.visibility = 'visible'; 
  }
  
  function display_uploadinfo_off(){
    document.getElementById('uploadinfo').style.visibility = 'hidden'; 
  } 

