/*
CONTROLES DE DATES
*/
function checkDay(obj,event)
{	   
	 
	 
	
	 
}
function checkMonth(obj,event)
{
	 
}
function checkYear(obj,event)
{
	 
}
function getCharCode(evt)
{
	//Mozilla like
	if(evt.charCode)return parseInt(evt.charCode);
	//IE like
	if(evt.keyCode)return parseInt(evt.keyCode);
}

//Verifie si c'est un chiffre
function checkNumber(obj,event)
{	  
}
 
function failedAjaxReturn(AjaxResponse)
{
	alert("Une erreur est survenue : \n\n"+AjaxResponse.responseText);
}

function popup(url,w,h){
	var top = 400;
	var left= 400;
	try{
		popupLoad.focus();
	}
	catch(Exception)
	{
		popupLoad = null;
	}

	popupLoad = window.open(url,'popuLoad','width='+w+',height='+h+',top='+top+',left='+left+',resizable =yes,scrollbars=yes,status=yes');
	popupLoad.focus();
}
