function validateInputNotNull (theForm, theInput, theErrDiv)
{
	theErrDiv = document.getElementById(theErrDiv)
	if(theForm != '')
	{
		theInput =  eval('document.forms["'+theForm+'"].'+theInput)
	}else{
		theInput = eval("document.getElementById('"+theInput+"')")
	}
	if (theInput.value == "")
	{
		try{theErrDiv.style.display = ""}catch(er){}
		try{theInput.focus()}catch(er){}
		return false;
	}
	return true;
}