// JavaScript Document
function moveOnMax(field,nextFieldID){
  if(field.value.length >= field.maxLength){
    document.getElementById(nextFieldID).focus();
  }
}  

function IsEmpty(aTextField) {
   //alert(aTextField);	
   if ((aTextField.length==0) ||  (aTextField==null)) {
      return true;
   }
   else { return false; }
}
