/***************************************************************************
* # SC-CONCEPTION				                	                     # *
* # Boutique propulsée par 321Boutique.com         	                     # *
***************************************************************************/
	
	function AjsDvs(Pge){
		Dvs = document.getElementById('FrmDvs').value;
		if(Dvs != ''){
			window.location.replace('index.php?GetPge='+Pge+'&&GetDvs='+Dvs);
			return true;}}
	
	function AjsLng(Pge){
		Lng = document.getElementById('FrmLng').value;
		if(Lng != ''){
			window.location.replace('index.php?GetPge='+Pge+'&&GetLng='+Lng);
			return true;}}
	
	function AjsRedirect(Url){
		if(Url != ''){
			window.location.replace(Url);
			return true;}}
	
	function AjsConfirm(Txt,Url){
		if(Txt != '' && Url != ''){
			if(window.confirm(Txt)){
				window.location.replace(Url);
				return true;}}}
	
	function AjsPrompt(Txt1,Txt2,Url){
		var Rep = prompt(Txt1,Txt2)
		if(Rep != null){
			window.location.replace(Url+"GetRep="+Rep);
			return true;}}

	function AjsFilOpen(Url){
		var xhr_object = null;
		if(window.XMLHttpRequest) xhr_object = new XMLHttpRequest();
		else if(window.ActiveXObject) xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
		else { alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest...");return;	}
		xhr_object.open("GET",Url,true);
		xhr_object.onreadystatechange = function(){
			if(xhr_object.readyState == 4){
				scrollTo(0,0);
				document.body.style.overflow="hidden";
				document.getElementById('DivFil').style.display="block";
				document.getElementById('DivBox').style.display="block";
				document.getElementById('DivBox').innerHTML = xhr_object.responseText;
				return true;}}
		xhr_object.send(null);}

	function AjsFilClose(){
		document.getElementById('DivFil').style.display="none";
		document.getElementById('DivBox').style.display="none";
		document.getElementById('DivBox').innerHTML = '';
		document.body.style.overflow="visible";
		return false;}

/***************************************************************************
* # FIN DE LA PROGRAMMATION AJS/Javascripts        	                     # *
***************************************************************************/
