anchor.diff:  {
   	var errorNb = 0;
   	var errorMsg = "";
  -	if(document.getElementById("evenement").value == 0){
  +	var startDate = document.getElementById("startDate").value;
  +	var startHour = document.getElementById("startHour").value;
  +	var endDate = document.getElementById("endDate").value;
  +	var endHour = document.getElementById("endHour").value;
  +		
  +	if(isWhitespace(document.getElementById("evenement").value)){
   		errorNb++;
   		errorMsg+="  - '<%=resource.getString("resourcesManager.evenement")%>' <%=resource.getString("GML.MustBeFilled")%>\n";
   	}
  -	if(document.getElementById("startDate").value == 0 || (verificationDate(document.getElementById("startDate").value) == 0)){
  +	if (isWhitespace(startDate)) {
   		errorNb++;
   		errorMsg+="  - '<%=resource.getString("GML.dateBegin")%>' <%=resource.getString("GML.MustBeFilled")%>\n";
  -	}
  -	if((document.getElementById("startHour").value == 0) || (verificationHour(document.getElementById("startHour").value) == 0)){
  +	} else {
  +		if (!isDateOK(startDate, '<%=resource.getLanguage()%>')) {
  +			errorNb++;
  +			errorMsg+="  - '<%=resource.getString("GML.dateBegin")%>' <%=resource.getString("GML.MustContainsCorrectDate")%>\n";
  +		}
  +	}
  +	if (isWhitespace(startHour)) {
   		errorNb++;
   		errorMsg+="  - '<%=resource.getString("resourcesManager.beginHour")%>' <%=resource.getString("GML.MustBeFilled")%>\n";
  -	}
  -	if(document.getElementById("endDate").value == 0 ||(verificationDate(document.getElementById("endDate").value) == 0)){
  +	} else {
  +		if (!checkHour(startHour)) {
  +			errorNb++;
  +			errorMsg+="  - '<%=resource.getString("resourcesManager.beginHour")%>' <%=resource.getString("GML.MustContainsCorrectHour")%>\n";
  +		}
  +	}
  +	if (isWhitespace(endDate)) {
   		errorNb++;
   		errorMsg+="  - '<%=resource.getString("GML.dateEnd")%>' <%=resource.getString("GML.MustBeFilled")%>\n";
  -	}
  -	if(document.getElementById("endHour").value == 0 ||(verificationHour(document.getElementById("endHour").value) == 0)){
  +	} else {
  +		if (!isDateOK(endDate, '<%=resource.getLanguage()%>')) {
  +			errorNb++;
  +			errorMsg+="  - '<%=resource.getString("GML.dateEnd")%>' <%=resource.getString("GML.MustContainsCorrectDate")%>\n";
  +		}
  +	}
  +	if (isWhitespace(endHour)) {
   		errorNb++;
   		errorMsg+="  - '<%=resource.getString("resourcesManager.endHour")%>' <%=resource.getString("GML.MustBeFilled")%>\n";
  -	}
  -	var dayStartDate = extractDay(document.getElementById("startDate").value, '<%=resourcesManagerSC.getLanguage()%>');
  -	var monthStartDate = extractMonth(document.getElementById("startDate").value, '<%=resourcesManagerSC.getLanguage()%>');
  -	var yearStartDate = extractYear(document.getElementById("startDate").value, '<%=resourcesManagerSC.getLanguage()%>');
  -	if (!isCorrectDate(yearStartDate, monthStartDate, dayStartDate)) {
  -		errorNb++;
  -		errorMsg+="  - '<%=resource.getString("GML.dateBegin")%>' <%=resource.getString("GML.MustContainsCorrectDate")%>\n";
  -	}
  -
  -	var dayEndDate = extractDay(document.getElementById("endDate").value, '<%=resourcesManagerSC.getLanguage()%>');
  -	var monthEndDate = extractMonth(document.getElementById("endDate").value, '<%=resourcesManagerSC.getLanguage()%>');
  -	var yearEndDate = extractYear(document.getElementById("endDate").value, '<%=resourcesManagerSC.getLanguage()%>');
  -	if (!isCorrectDate(yearEndDate, monthEndDate, dayEndDate )) {
  -		errorNb++;
  -		errorMsg+="  - '<%=resource.getString("GML.dateEnd")%>' <%=resource.getString("GML.MustContainsCorrectDate")%>\n";
  +	} else {
  +		if (!checkHour(endHour)) {
  +			errorNb++;
  +			errorMsg+="  - '<%=resource.getString("resourcesManager.endHour")%>' <%=resource.getString("GML.MustContainsCorrectHour")%>\n";
  +		}
   	}
   
   	switch(errorNb)
  
positive.code: </TABLE>
  </form>
  
  <div id="listResourceProblem"></div>
  
  <SCRIPT>document.createForm.evenement.focus();</SCRIPT>
  <%
  out.println(board.printAfter());
  
negative.code: <%
  	out.println(gef.getLookStyleSheet());
  %>
  <script type="text/javascript" src="<%=m_context%>/util/javaScript/checkForm.js"></script>
  <script type="text/javascript" src="<%=m_context%>/util/javaScript/dateUtils.js"></script>
  <script type="text/javascript">
  function validerNom(){
  	if(document.getElementById("evenement").value == 0){
  		document.getElementById('validationNom').innerHTML="Evenement obligatoire";
  