/*  Date Functions */
function showDateErrorMsg(val,format,div,msgTxt){
	if(!isDate(val,format)){
		if(!isDate(val,'d/M/yyyy')){
			document.getElementById(div).focus(); 
			alert(msgTxt);
			return false; 
		}
	}
	
	return true;
}