function CheckNull(obj){			
    strValue=eval(obj).value;
    if (strValue == "") {
		this.value = '';
		this.focus();
		return true;
    }
    else {
      Status = 0;
      for (i = 0; i < strValue.length; i++) {
        if (strValue.charAt(i) != " ") {
           Status = 1;
           break;                      
        }
      }         
      if (Status == 0) {          
	      return true;
      }
      else {
		this.value = '';
		this.focus();      
		return false;
      }
    }
}

function ValidFind(st){
	if (CheckNull(document.forms[0].txtFind)){
		document.forms[0].txtFind.focus();
		alert(st);
		return false;
	}else{
		return true;
	}
}