function Validate(theForm) {
    for( var i=0; i<theForm.length; i++ ) {
     with(theForm.elements[i]) {
      if( type=="text") {
            if( value.length==0) {
                alert('Nevyplnil jste všechny údaje');
                focus();
                return false;       
            }
        }
      }
      
     }
    
    return true;
} 

