

 //<![CDATA[

 // If you don't want to put unstandard properties in your stylesheet, here's yet
 // another means of activating the script. This assumes that you have at least one
 // stylesheet included already. Remove the /* and */ lines to activate.

 /*
 if (document.all && document.styleSheets && document.styleSheets[0] &&
  document.styleSheets[0].addRule)
 {
  // Feel free to add rules for specific tags only, you just have to call it several times.
  document.styleSheets[0].addRule('*', 'behavior: url(lib/iepngfix/iepngfix.htc)');
 }
 */


function identification()
 {	
 
	xajax_identification(xajax.getFormValues('identification'));	
	
}

function deconnexion()
 {	
	xajax_deconnexion();		
}




function affichage_orange(type)
{

if(type=='precedent')document.getElementById('precedent').src="images/precedent_bis.png";
if(type=='suivant')document.getElementById('suivant').src="images/suivant_bis.png";
	
}

function affichage_vert(type)
{
if(type=='precedent')document.getElementById('precedent').src="images/precedent.png";

if(type=='suivant')document.getElementById('suivant').src="images/suivant.png";	
}





function redirection(URL)
{		
	document.location=URL;
}




function montre(id) {

	if (document.getElementById) {
			document.getElementById(id).style.display="block";
		} 
		else if (document.all) {
			document.all[id].style.display="block";
		} 
		else if (document.layers) {
			document.layers[id].display="block";
	}
}



function cache(id) {

	if (document.getElementById) {
			document.getElementById(id).style.display="none";
		} 
		else if (document.all) {
			document.all[id].style.display="none";
		} 
		else if (document.layers) {
			document.layers[id].display="none";
	}
}





function masqueSaisieDate(obj) {

 var ch;
 var ch_gauche, ch_droite;

 ch = obj.value;
 ch.toString();

 if ( ( (ch.slice(2,3)) != ("/") ) && (ch.length >= 3) ){
 ch_gauche = ch.slice(0,2);
 ch_droite = ch.slice(2);
 obj.value = ch_gauche + "/" + ch_droite;
 }
 if ( ( (ch.slice(5,6)) != ("/") ) && (ch.length >= 6) ){
 ch_gauche = ch.slice(0,5);
 ch_droite = ch.slice(5);
 obj.value = ch_gauche + "/" + ch_droite;
 }
 return;
 } 



function ouverture_boite_message(titre,message)
 {	
	xajax_ouverture_boite_message(titre,message);		
}






function fermeture_boite_message(titre)
{
xajax_fermeture_boite_message(titre);
}

