<!--
var mlegal='';
var webm='';

window.onerror = ErrorSetting;
function ErrorSetting(){}

function cm_bwcheck(){
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent.toLowerCase()
	this.dom=document.getElementById?1:0
	this.op5=(this.agent.indexOf("opera 5")>-1 || this.agent.indexOf("opera/5")>-1) && window.opera 
	this.op6=(this.agent.indexOf("opera 6")>-1 || this.agent.indexOf("opera/6")>-1) && window.opera   
	this.ie5 = (this.agent.indexOf("msie 5")>-1 && !this.op5 && !this.op6)
	this.ie55 = (this.ie5 && this.agent.indexOf("msie 5.5")>-1)
	this.ie6 = (this.agent.indexOf("msie 6")>-1 && !this.op5 && !this.op6)
	this.ie4=(this.agent.indexOf("msie")>-1 && document.all &&!this.op5 &&!this.op6 &&!this.ie5&&!this.ie6)
	this.mac=(this.agent.indexOf("mac")>-1);
	this.ie = (this.ie4 || this.ie5 || this.ie6)
	this.ns4=(!this.dom && document.layers)?1:0;
	this.ns6=(this.agent.indexOf("gecko")>-1 || window.sidebar)
	return this

}
var bw=new cm_bwcheck()
var mp_pos;
if(bw.ns4){var eTypes = Event.MOUSEOVER | Event.MOUSEOUT | Event.CLICK;}

function gos(id) {
	if (document.getElementById || document.all) {
		return go(id).style;
	} else return go(id);
}

function go(a) {
	if (document.getElementById) {
		return document.getElementById(a);
	} else if (document.all) {
        	return document.all[a];
	} else if (document.layers) {
        	return document.layers[a];
	} else {
        	alert("Votre navigateur ne supporte pas le Dhtml!");
        	return false;
    	}
}

function fp(a){

try{
	if(bw.ns4){
		x = document.layers["l"+a].pageX;
		y = document.layers["l"+a].pageY+(mp1_h/2)+3;
  	}else{
    		x=0; y=0; var el,temp
    		el = bw.ie4?document.all["d"+a]:document.getElementById("d"+a);
    		if(el.offsetParent){
      			temp = el
      			while(temp.offsetParent){
        		temp=temp.offsetParent; 
        		x+=temp.offsetLeft
        		y+=temp.offsetTop;
      			}
    		}
    		x+=el.offsetLeft
    		y+=el.offsetTop
  	}
 }catch(e){}
  	//alert(x+'-'+y);
  	return [x,y]
}
function nsReload() { location.reload(); }

function resizeReload() {
	if (bw.op5||bw.op6||(bw.agent.indexOf("konqueror")!=-1)) {
		var pos = fp("mp"+1);
		var newtopmenu=pos[0];
		if(mp_pos&&(mp_pos!=newtopmenu)){
			window.location.reload();
		}
		else
		{
			setTimeout("resizeReload()",1000);
		}
	}
	else if (bw.ns4) {
		window.onresize=nsReload;
	}
}
function caltxt(lib,brk,sp) {

var l=1,n,k,p,m;
var tmp='',tmp2,libr='';
	r=/\s/;
	p=lib.split(r);
	for(n=0;n<p.length;n++){
		tmp2='';
		if(tmp.length>0){tmp2=tmp+' '+p[n]}else{tmp2=p[n]}
		k=p[n];
		if(tmp2.length>brk||n+1==p.length){
			if(tmp2!=tmp&&(tmp.length>brk||k.length>brk||tmp2.length>brk)){
				if(libr.length>0){
					libr+='<br>'+sp+tmp;
					l++;
				}else{
					libr=tmp
				}
				tmp=p[n];

			}else{
				if(libr.length>0){
					libr+='<br>'+sp+tmp2;
					l++;
				}else{
					libr=tmp2
				}
				tmp=''
			}
		}else{
			tmp=tmp2
		}
	}
	if (tmp.length>0){
		if(libr.length>0){
			libr+='<br>'+sp+tmp;
			l++;
		}else{
			libr=tmp
		}
	}
	return [l,libr]
}

function getMenus() {
	if(mp){setupMp()}
	if(mt){
		setupMt();
		if(bw.mac)window.mtblock.style.display = "block"
	}
	if(mp){
		if(bw.op5||bw.op6||(bw.agent.indexOf("konqueror")!=-1)){
			resizeReload()
		}
		else if (bw.ns4){resizeReload()}
		else{window.onresize=new Function("getMenus()")
		}
		AlignFooter()
	}

	if(typeof GepetoOnLoad == 'function')
		setTimeout('GepetoOnLoad()',1000);
}

//JC 13/02/2003 : On centre la notice légale de manière différente sur les HomePages
function AlignFooter(){
		var slegal = gos("mlegal");
		var webm  = gos("webm");
		var pos = fp("mp99");
		var ph;
		var sUrl=document.location.toString();
		slegal.top=pos[1]+10;
		webm.top=pos[1]+10;
		if(bw.ns4 || bw.ns6){ 
			ph=window.innerHeight;
			/*if(sUrl.indexOf('home/index_home.asp')==-1)
				slegal.left=(window.innerWidth/2)-50
			else*/
				slegal.left=(window.innerWidth/2)-150
		}else{ 
			if (bw.ie4) {
				ph=document.body.offsetHeight;
				/*if(sUrl.indexOf('home/index_home.asp')==-1)
					slegal.left=(document.body.offsetWidth/2)-50
				else*/
					slegal.left=(document.body.offsetWidth/2)-150				
			}else{
				ph=window.document.body.clientHeight;
				/*if(sUrl.indexOf('home/index_home.asp')==-1)
					slegal.left=(window.document.body.clientWidth/2)-50
				else*/
					slegal.left=(window.document.body.clientWidth/2)-150	
			}
		}
		//if(pos[1]+2<ph){slegal.top=ph-30;webm.top=ph-30;}
		if(pos[1]+2<ph){slegal.top=ph-15;webm.top=ph-15;}
		webm.left=25;
		if(mt){webm.visibility='visible';}
		slegal.visibility='visible';
}

function GetFooter(){
	document.write(mlegal);
}
function jsOpenEspacepop(URLEspace)
{
	childWin=window.open(URLEspace,'secondwindows','location=yes,toolbar=yes,directories=yes,menubar=yes,resizable=yes,scrollbars=yes,status=yes,width='+window.screen.availWidth+',height='+window.screen.availHeight+',top=0,left=0');
}

function MM_openBrWindow(theURL,winName,features){ //v2.0
	if (winName.length==0)
		window.open(theURL,'_blank',features);
	else
		window.open(theURL,winName,features);
}


function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }

}


function jsSubmitMTFORM(p_URL,p_PageCible,p_IdFormCible)
	{
		document.frmsage.action=p_URL;
		document.frmsage.PageCible.value=p_PageCible;
		document.frmsage.FormCible.value=p_IdFormCible;
		document.frmsage.submit();			
	}


function showlayer(menuName) {
	if (bw.ns4) {
		document.layers[menuName].visibility = "show";
	} 
    else {
		if (bw.ie4) {
			document.all[menuName].style.visibility = "visible";
		}
		else {
			document.getElementById(menuName).style.visibility = "visible";
		}
	}	
}




<!--
xtdomain = ".actuel-dz.com";					//inscrivez votre nom de domaine cookie
dureeremanence = 20;      				//durée de vie du cookie pour la rémanence (en nombre de jours)
//=====================  XTO client (forcé)  : code libre au client pour définir son propre xtor
xto_force = null;

xtdr = 30;
var xw = window;
var xd = document;
xtnv = (xw.xtnv!=null) ? xw.xtnv : xd ;	      //remplacer xd par parent.document si la page est dans une frame
xtsd = (xw.xtsd!=null) ? xw.xtsd : "http://logi7" ;
xtdmc = ";domain=" + xtdomain;
xtsite = (xw.xtsite!=null) ? xw.xtsite : 0;
xtn2 = (xw.xtn2!=null) ? '&s2='+xw.xtn2 : '';
xtp = (xw.xtpage!=null) ? xw.xtpage : "";
xtrd = (xtsite=="redirect") ? true : false;
xtdi = ((xw.xtdi!=null)&&(xw.xtdi!="")) ? "&di=" + xw.xtdi : "";
xtrmt = ((xw.roimt!=null)&&(xw.roimt!="")) ? "&roimt=" + xw.roimt : "";
xtvc = (xw.visiteciblee!=null) ? xw.visiteciblee : false;
xter = ((xw.xterr!=null)&&(xw.xterr!="")) ? "&err=" + xw.xterr : "";
xtmc = ((xw.xtmc!=null)&&(xw.xtmc!="")) ? "&mc=" + xw.xtmc : "";
xtac = ((xw.xtac!=null)&&(xw.xtac!="")) ? "&ac=" + xw.xtac : "";
xtan = ((xw.xtan!=null)&&(xw.xtan!="")) ? "&an=" + xw.xtan : "";
xtnp = ((xw.xtnp!=null)&&(xw.xtnp!="")) ? "&np=" + xw.xtnp : "";
xtprm = (xw.xtprm!=null) ? xw.xtprm : "";
xts = screen;
var xtxp = new Date();
var xtdate = new Date();
if (!xtrd) {xtxp.setTime(xtxp.getTime()+(dureeremanence*24*3600*1000));}
else {xtxp.setTime(xtxp.getTime()+(xtdr*1000));}
var xtheureh = xtdate.getTime() / (1000*3600);

function Getxtorcookie(nom)
{
		var arg = nom + "=";
		var i = 0 ;
		while (i<xd.cookie.length)
		{
			var j = i + arg.length;
			if (xd.cookie.substring(i,j) == arg) {return valeurxtorcook(j);}
			i = xd.cookie.indexOf(" ",i) + 1;
			if (i==0) {break;}
		}
		return null;
}

function valeurxtorcook(index)
{
		var fin = xd.cookie.indexOf(";",index);
		if (fin==-1) {fin=xd.cookie.length;};
		return unescape(xd.cookie.substring(index,fin));
}

function wcookie(p1,p2,p3,p4,fmt)
{
	p2 = (fmt==0) ? p2 : escape(p2);
	xd.cookie = p1 + "=" + p2 + ";expires=" + p3.toGMTString() + " ;path=/;domain=" + p4;
}

function recupxtor(param)
{
		var xturl = xtnv.location.search.toLowerCase().replace(/%3d/g,'=');
		xtpos = xturl.indexOf(param+"=");
		if (xtpos > 0)
		{
			chq = xturl.substring(1, xturl.length);
			mq = chq.substring(chq.indexOf(param+"="), chq.length);
			pos3 = mq.indexOf("&");
			if (pos3 == -1) pos3 = mq.indexOf("%26")
			if (pos3 == -1) pos3 = mq.length;
			return mq.substring(mq.indexOf("=")+1, pos3);
		}
		else
		{  return null; }
}

function xt_med(type,section,page,x1,x2,x3,x4,x5)
{
	xt_img = new Image();
	xt_ajout = (type=='F') ? '' : (type=='M') ? '&a='+x1+'&m1='+x2+'&m2='+x3+'&m3='+x4+'&m4='+x5 : '&clic='+x1;
	Xt_im = xtsd+'.xiti.com/hit.xiti?s='+xtsite+'&s2='+section;
	Xt_im += '&p='+page+xt_ajout+'&hl=' + xtdate.getHours() + 'x' + xtdate.getMinutes() + 'x' + xtdate.getSeconds();
	if(parseFloat(navigator.appVersion)>=4)
	{Xt_im += '&r=' + xts.width + 'x' + xts.height + 'x' + xts.pixelDepth + 'x' + xts.colorDepth;}
	xt_img.src = Xt_im;
	if ((x2 != null)&&(x2!=undefined)&&(type=='C'))
	{ if ((x3=='')||(x3==null)) { document.location = x2} else {xfen = window.open(x2,'xfen',''); xfen.focus();}}
	else
	{return;}
}


function xt_clic2(typecl,section,page,url,nvlle)
{
	Xt_r = document.referrer;
	Xt_h = new Date();
	xt_img = new Image();
	Xt_i = 'http://logi7.xiti.com/hit.xiti?s=145441&s2='+section;
	Xt_i += '&p='+page+'&clic='+typecl+'&hl=' + Xt_h.getHours() + 'x' + Xt_h.getMinutes() + 'x' + Xt_h.getSeconds();if(parseFloat(navigator.appVersion)>=4)
	{Xiti_s=screen;Xt_i += '&r=' + Xiti_s.width + 'x' + Xiti_s.height + 'x' + Xiti_s.pixelDepth + 'x' + Xiti_s.colorDepth;}
	Xt_i += '&ref=' + Xt_r.replace(/[<>"]/g, '').replace(/&/g, '$');
	xt_img.src = Xt_i;
	if ((url != null)&&(url!=undefined))
	{ if ((nvlle=='')||(nvlle==null)) { document.location = url;} else {xfen = window.open(url,'xfen',''); xfen.focus();}}
	else
	{return;}

}


if((xtsite!=0)||(xtrd))
{
		xplus = (!xtvc) ? "" : "&roivc=1";
		xtpm = "xtor" + xtsite ;
		xtpmd = "xtdate" + xtsite ;
		xtpmr = "xtorrf" + xtsite;
		xtourl = recupxtor("xtor");
		xto = (xto_force!=null) ? xto_force : (xtourl!=null) ? xtourl : (!xtrd) ? Getxtorcookie("xtord") : null;
		xplus += (xto==null) ? "" : "&xto="+xto;
		xtor = Getxtorcookie(xtpm);
		xtor_duree = Getxtorcookie(xtpmd);
		xtor_ref = Getxtorcookie(xtpmr);
		xtdate2 = (xtor_duree!=null) ? new Date(xtor_duree) : new Date();
		xtheureavant = xtdate2.getTime() / (1000*3600);
		xtecart = (Math.floor(xtheureh - xtheureavant)>=0) ? Math.floor(xtheureh - xtheureavant) : 0;
		xplus += (xtor==null) ? "" : "&xtor="+xtor+"&roinbh="+xtecart;
		xplus2 = (xtor==null) ? "" : (xtor_ref!=null) ? "&xtorrf="+xtor_ref.replace(/[<>]/g, '').replace(/&/g, '$') : "&xtorrf=direct";
		xtourl_rf = recupxtor("xtref");

		if (!xtrd)
		{
			var xtnav = navigator.appName+" "+navigator.appVersion;
			var xtIE = (xtnav.indexOf('MSIE'));
			if (xtIE>=0) {xtvers = parseInt(xtnav.substr(xtIE+5));xtIE=true;}
			else {xtvers = parseFloat(navigator.appVersion);xtIE=false;}
			var xtnet=(xtnav.indexOf('Netscape') >=0);
			var xtmac=(xtnav.indexOf('Mac') >=0);
			var xtOP=(navigator.userAgent.indexOf('Opera') >=0);
			if((xtIE)&&(xtvers >=5)&&(!xtmac)&&(!xtOP)&&(!xtrd))
	 		{
	   	 	xd.body.addBehavior("#default#clientCaps");
	    		xtconn = '&cn=' + xd.body.connectionType;
	    		xd.body.addBehavior("#default#homePage");
	    		xthome = (xd.body.isHomePage(location.href))? '&hm=1': '&hm=0';
	    		xtresr = '&re='+xd.body.offsetWidth+'x'+xd.body.offsetHeight;
	 		}
			else
	 		{xtconn = ''; xthome='';if(xtvers >=5){xtresr = '&re='+xw.innerWidth+'x'+xw.innerHeight;}else{xtresr =''};}
			if((xtnet)&&(xtvers >=4)||(xtOP)){var xtlang = '&lng=' + navigator.language;}
			else {if((xtIE)&&(xtvers >=4)&&(!xtOP)){var xtlang = '&lng=' +navigator.userLanguage;} else {xtlang = '';}}

			Xt_r = (xtourl_rf!=null) ? xtourl_rf.replace(/[<>]/g, '') : Getxtorcookie('xtref') ;
			if(Xt_r==null)	{Xt_r = xtnv.referrer.replace(/[<>]/g, '');}
			wcookie("xtord","",xtdate,xtdomain,1);
			if ((xtor==null)&&(xto!=null))
			{	
				wcookie(xtpm,xto,xtxp,xtdomain,1);wcookie(xtpmd,xtdate,xtxp,xtdomain,0);
				if (Xt_r!="") {wcookie(xtpmr,Xt_r.replace(/&/g, '$'),xtxp,xtdomain,0);} else {wcookie(xtpmr,"direct",xtxp,xtdomain,0);}
			}
			Xt_param = 's='+xtsite+xtn2+'&p='+xtp+'&hl='+xtdate.getHours()+'x'+xtdate.getMinutes()+'x'+xtdate.getSeconds();
			Xt_param += xter+xtrmt+xtdi+xplus+xtmc+xtnp+xtconn+xthome+xtlang+xtprm+xtan+xtac;
			Xt_i = '<img width="1" height="1" src="'+xtsd+'.xiti.com/hit.xiti?'+Xt_param;
			if(xtvers >=4)
			{Xt_i += '&r=' + xts.width + 'x' + xts.height + 'x' + xts.pixelDepth + 'x' + xts.colorDepth;}
			Xt_i += xplus2;
			xd.write(Xt_i+xtresr+'&ref='+Xt_r.replace(/&/g, '$') + '">');
		}
		else
		{
			if (xto!=null) {wcookie("xtord",xto,xtxp,xtdomain,1);}
			if(xtourl_rf==null)
			{	xtref = xtnv.referrer.replace(/[<>]/g, '').replace(/&/g, '$');	}
			else	
			{	xtref = xtourl_rf.replace(/[<>]/g, '').replace(/&/g, '$');	}
			xd.cookie = "xtref=" + xtref + " ;expires=" + xtxp.toGMTString() + " ;path=/;" + xtdmc;
		}
}
//-->

