
	function file(fichier)
		 {
			 if(window.XMLHttpRequest)		xhr_object = new XMLHttpRequest(); // FIREFOX
			 else if(window.ActiveXObject)	xhr_object = new ActiveXObject("Microsoft.XMLHTTP"); // IE
			 else return(false);
			 xhr_object.open("GET", fichier, false);
			 xhr_object.send(null);
			 if(xhr_object.readyState == 4) return(xhr_object.responseText);
			 else return(false);
		 }

	function ckoi(indexItem){window.location.href=indexItem;}

	function divwrite(indiv,texte)
		 {
			 document.getElementById(indiv).innerHTML = texte;
		 }

	function div_toggle(id1,id2) //v2.1
		{ 
			var toggle1=document.getElementById(id1).style; toggle1.display = 'none';
			var toggle2=document.getElementById(id2).style; toggle2.display = 'block';
		}

	function hidder(id) //v2.1
		{ 
			var toggle=document.getElementById(id).style; toggle.display = 'none';
		}

	// mailtonospam
eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('1 2(a,b,0){3(0!=4)0=\'?5=\'+0;6.7(\'<a 8=\\"9:\'+a+\'@\'+b+0+\'\\">\'+a+\'@\'+b+\'</a>\')}',12,12,'c|function|mailtonospam|if|null|subject|document|write|href|mailto||'.split('|'),0,{}))

	function verifMailExist(mail)
		{
			message = file('CODE/CADRE/CLASSIC/existMail.php?mail='+escape(mail));
			var stybut = document.getElementById('subbut').style;
			var disbut = document.getElementById('subbut');
			if(message.charAt(14)!='o') { disbut.disabled = false; stybut.color='FFF'; } else { disbut.disabled = true; stybut.color='666'; }
			divwrite('pseudobox',message);
		}


