if (document.location.href.indexOf('/ut/')==-1) { mn=['+']; document.write('<script src="men'+'us.js"></script>'); } else mn=['-']; document.write('<script src="/scripts/stats.js"></script>'); lg='fr'; dc=[ "Accueil","Home", "Accueil de Descartes","Descartes Home Page", "Formations","Seminars", "Informations légales","Legal information", "Produits","Products", "Société","Company", "Tapez le mt à retrouver dans le site Descartes et appuyez sur [Entrée]","Type the word to search in Descartes and press [Enter]", "Trouver","Srch", "","dc!"]; function local() { return document.location.href.toLowerCase().indexOf('http:')==-1; } function Pc(mt) { return mt.substring(0,1).toUpperCase()+mt.substring(1,999).toLowerCase(); } function trd(mt) { if (lg=='fr') return mt; var dl=dc.length-2; for (var i = 0; (i<dl)&&((dc[i]!=mt)); i=i+2); if (i<dl) return dc[i+1]; else return mt; } function netie(net, ie) { if ((navigator.appVersion.substring(0,3) >= net && navigator.appName == 'Netscape' && net != -1) || (navigator.appVersion.substring(0,3) >= ie && navigator.appName.substring(0,9) == 'Microsoft' && ie != -1)) return true; else return false; } var tn=3; function lim(iE) { if (netie(-1,4)) { iE.style.visibility = "hidden"; iE.style.filter = "revealTrans(Duration=4, Transition="+tn+")"; iE.filters.item(0).Apply(); iE.style.visibility = "visible"; iE.filters.item(0).Play(); } } function iO(s,w,h,m,c) { m!=null?null:m=4; c!=null?null:c='Trans0.gif'; s='<table border="0" cellpadding="0" cellspacing="0"><tr><td><img src="../ut/'+s+'" border="0" width="'+w+'" height="'+h+'" alt="" /></td>'; s+='<td valign="bottom"><img src="../ut/'+c+'" border="0" width="'+m+'" height="'+(h-2*m)+'"></td>'; s+='</tr>'; s+='<tr>'; s+=' <td align="right"><img src="../ut/'+c+'" border="0" width="'+(w-2*m)+'" height="'+m+'"></td>'; s+=' <td><img src="../ut/'+c+'" border="0" width="'+m+'" height="'+m+'"></td>'; s+='</tr>'; s+='</table>'; document.write(s); } function Image(s,src,h) { document.write('<img name="'+s+'" id="'+s+'" src="../ut/'+src+'.jpg" border="0" width="435px" height="'+h+'px" alt="'+s+'" usemap="#map'+s+'" onmouseover="if(document.getElementById)getElementById(\'Fond'+s+'\').style.visibility=\'visible\'" onmouseout="if(document.getElementById)getElementById(\'Fond'+s+'\').style.visibility=\'hidden\'"/>'); document.write('<map name="map'+s+'"><area shape="rect" coords="0,0,435,'+h+'" href="acc'+s+'.htm" title=""+trd("'+s+'")+"" hidefocus="hidefocus" unselectable="off"></map>'); } function Fond(s,h) { with (gAP(s)) var s='<span name="Fond'+s+'" id="Fond'+s+'" style="position: absolute; left: '+(x+2)+'px; top: '+(y+2)+'px; z-index: -2; visibility: hidden">'; s+='<img src="../ut/Trans0.gif" border="0" width="'+435+'px" height="'+h+'px" alt="-" />'; s+='</span>'; document.write(s); } pU=""; function pUC () { if(pU=='') { if (confirm('Fermer la fenêtre ?')) window.close(); } else { if (pU.substring(0,3)=='img') pU=pU.substring(3,999); else { if (document.getElementById) document.getElementById('img'+pU).style.visibility='hidden'; pU=''; } } } function pUk (Nm) { if ((pU!='')&&(pU.substring(0,3)!='img')) { if (document.getElementById) document.getElementById('img'+pU).style.visibility='hidden'; if (Nm==pU) { pU='img'; return false; } } pU="img"+Nm; if (document.getElementById) document.getElementById(pU).style.visibility='visible'; } function Snt(title, msg, cB, bkg, tC, tF, sF, align, width, height, src, dT) { src!=null?null:src=''; dT!=null?null:dT=0; var wN=window.open('', '','titlebar=no,toolbar=0,location=0,directories=0,status=no,menuBar=0,scrollbars=0,resizable=0,copyhistory=no,width='+width+',height='+eval(height+dT)+',left=0,top=0'); for (i=0;i<90;i++) title+="&nbsp"; if (src.indexOf('.htm') > 0) { wN.location.href=src; } else { text = '<' + 'HTML' + '><' + 'HEAD' + '><' + 'TITLE' + '>' + title + '</' + 'TITLE' + '>'; text+='<link rel="StyleSheet" type="text/css" href="../ut/style.css" />'; var s=""; text+='<' + '/HEAD' + '><' + 'BODY BACKGROUND=' + '"' + bkg + '"' + ' BGCOLOR=' + '"' + cB + '" onclick="window.close()" '+s+'>'; if (src!="") text+='<img src="'+src+'" border="0" style="position:absolute;top='+dT+'px" width="'+width+'" height="'+height+'" alt="" />'; text+='</' + 'BODY' + '><' + '/HTML' + '>'; wN.document.write(text); wN.focus(); wN.document.close(); } return false; } function Simg(Ns,zm) { zm!=null?null:zm=1; if (document.getElementById) { do { var p=Ns.indexOf(','); if (p==-1) { var Nm=Ns; Ns=''; } else { var Nm=Ns.substring(0,p); Ns=Ns.substring(p+1,999); } p=Nm.indexOf('.htm'); var htm=(p>0); if (htm) Nm=Nm.substring(0,p); var dI=document.getElementById(Nm); var src=dI.src; if (htm) src=src.substring(0,src.lastIndexOf('.'))+'.htm'; p=src.lastIndexOf('-'); if (p>0) { zm=src.substring(p+1,p+2); src=src.substring(0,p)+src.substring(p+2,999); var dM=document.getElementById('mrq'+Nm.substring(3,999)); dM!=null?dM.style.visibility='hidden':null; } Snt(dI.title,'msg','#FFFFFF','','#000000','Times New Roman',3,'LEFT', dI.width*zm,dI.height*zm,src,dI.top); } while (Ns!='') } return false; } function rt(Nm,Lt, Tp, Rt, Bt, Cl, Wg) { if (document.getElementById) { Bt!=null?null:Bt=-1; Cl!=null?null:Cl="black"; Cl==""?Cl="White":null; Wg!=null?null:Wg=1; var s=""; if (Rt!=Lt) s+="<img id=\""+Nm+"0\" name=\""+Nm+"0\" src=\"../ut/Trans.gif\" style=\"position:absolute;left:"+Lt+";top:"+Tp+";height:"+Wg+";width:"+(Rt-Lt)+";z-index:3;visibility:hidden;background-color:"+Cl+"\" />"; if (Bt!=Tp) s+="<img id=\""+Nm+"1\" name=\""+Nm+"1\" src=\"../ut/Trans.gif\" style=\"position:absolute;left:"+(Rt-Wg)+";top:"+Tp+";height:"+(Bt-Tp)+";width:"+Wg+";z-index:3;visibility:hidden;background-color:"+Cl+"\" />"; if ((Rt!=Lt)&&(Bt!=Tp)&&(Bt!=-1)) { s+="<img id=\""+Nm+"2\" name=\""+Nm+"2\" src=\"../ut/Trans.gif\" style=\"position:absolute;left:"+Lt+";top:"+Bt+";height:"+Wg+";width:"+(Rt-Lt)+";z-index:3;visibility:hidden;background-color:"+Cl+"\" />"; s+="<img id=\""+Nm+"n3\" name=\""+Nm+"3\" src=\"../ut/Trans.gif\" style=\"position:absolute;left:"+Lt+";top:"+Tp+";height:"+(Bt-Tp)+";width:"+Wg+";z-index:3;visibility:hidden;background-color:"+Cl+"\" />"; } document.write(s); } } function Srt(Nm,Lt,Tp,Rt,Bt, Wg) { return; if (document.getElementById) { Rt>lI()?Rt=lI():null; Bt!=null?null:Bt=-1; Bt>hI()?Bt=hI():null; Wg!=null?null:Wg=1; for (i=0;i<=3;i++) { var dm=document.getElementById(Nm+i); if (dm) { dm.style.visibility="Visible"; switch (i) { case 0:if (Rt!=Lt) {dm.style.left=Lt;dm.style.top=Tp;dm.style.height=Wg;dm.style.width=Rt-Lt;break;} case 1:if (Bt!=Tp) {dm.style.left=Rt-Wg;dm.style.top=Tp;dm.style.height=Bt-Tp;dm.style.width=Wg;break;} case 2:if ((Rt!=Lt)&&(Bt!=Tp)&&(Bt!=-1)) {dm.style.left=Lt;dm.style.top=Bt;dm.style.height=Wg;dm.style.width=Rt-Lt;break;} case 3:if ((Rt!=Lt)&&(Bt!=Tp)&&(Bt!=-1)) {dm.style.left=Lt;dm.style.top=Tp;dm.style.height=Bt-Tp;dm.style.width=Wg;break;} } } } } } function Hrt(Nm) { if (document.getElementById) { for (i=0;i<=3;i++) { var dm=document.getElementById(Nm+i); if (dm) dm.style.visibility="hidden"; } } } function lI () { if (self.innerWidth) return self.innerWidth; else if (document.documentElement && document.documentElement.clientWidth) return document.documentElement.clientWidth; else if (document.body) return frameWidth = document.body.clientWidth; else return -1; } function hI () { if (self.innerHeight) return self.innerHeight; else if (document.documentElement && document.documentElement.clientHeight) return document.documentElement.clientHeight; else if (document.body) return frameHeight = document.body.clientHeight; else return -1; } function fv(Adr,cpt) { window.external.AddFavorite(Adr,cpt); } function gAP(anm) { var uW=false; var crd=new Object(); var x=0,y=0; var ugb=false, ucs=false, uly=false; if (document.getElementById) { ugb=true; } else if (document.all) { ucs=true; } else if (document.layers) { uly=true; } if (ugb && document.all) { x=APL(document.all[anm]); y=APT(document.all[anm]); } else if (ugb) { var o=document.getElementById(anm); x=o.offsetLeft; y=o.offsetTop; } else if (ucs) { x=APL(document.all[anm]); y=APT(document.all[anm]); } else if (uly) { var found=0; for (var i=0; i<document.anchors.length; i++) { if (document.anchors[i].name==anm) { found=1; break; } } if (found==0) { crd.x=0; crd.y=0; return crd; } x=document.anchors[i].x; y=document.anchors[i].y; } else { crd.x=0; crd.y=0; return crd; } crd.x=x; crd.y=y; return crd; } function gAPW(anm) { var crd=gAP(anm); var x=0; var y=0; if (document.getElementById) { if (isNaN(window.screenX)) { x=crd.x-document.body.scrollLeft+window.screenLeft; y=crd.y-document.body.scrollTop+window.screenTop; } else { x=crd.x+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset; y=crd.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset; } } else if (document.all) { x=crd.x-document.body.scrollLeft+window.screenLeft; y=crd.y-document.body.scrollTop+window.screenTop; } else if (document.layers) { x=crd.x+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset; y=crd.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset; } crd.x=x; crd.y=y; return crd; } function APL (el) { var ol=el.offsetLeft; while ((el=el.offsetParent) != null) { ol += el.offsetLeft; } return ol; } function APWL (el) { return APL(el)-document.body.scrollLeft; } function APT (el) { var ot=el.offsetTop; while((el=el.offsetParent) != null) { ot += el.offsetTop; } return ot; } function APWT (el) { return APT(el)-document.body.scrollTop; } if (document.layers) { document.captureEvents(Event.MOUSEMOVE); document.onmousemove = cMP; } else if (document.all) { document.onmousemove = cMP; } else if (document.getElementById) { document.onmousemove = cMP; } xMP = 0; yMP = 0; xMPM = 0; yMPM = 0; function cMP(e) { if (document.layers) { xMP = e.pageX; yMP = e.pageY; xMPM = window.innerWidth+window.pageXOffset; yMPM = window.innerHeight+window.pageYOffset; } else if (document.all) { xMP = window.event.x+document.body.scrollLeft; yMP = window.event.y+document.body.scrollTop; xMPM = document.body.clientWidth+document.body.scrollLeft; yMPM = document.body.clientHeight+document.body.scrollTop; } else if (document.getElementById) { xMP = e.pageX; yMP = e.pageY; xMPM = window.innerWidth+window.pageXOffset; yMPM = window.innerHeight+window.pageYOffset; } } function cHA(n) { this.length = n; for (var i = 1; i <= n; i++) this[i] = i - 1; this[11] = "A"; this[12] = "B"; this[13] = "C"; this[14] = "D"; this[15] = "E"; this[16] = "F"; return this; } hx = new cHA(16); function cTH(x) { if (x < 17) x = 16; var high = x / 16; var s = high+""; s = s.substring(0, 2); high = parseInt(s, 10); var left = hx[high + 1]; var low = x - high * 16; if (low < 1) low = 1; s = low + ""; s = s.substring(0, 2); low = parseInt(s, 10); var right = hx[low + 1]; var string = left + "" + right; return string; } function mRb(text) { text = text.substring(0, text.length); color_d1 = 255; mul = color_d1 / text.length; for(var i = 0; i < text.length; i++) { color_d1 = 255*Math.sin(i / (text.length / 3)); color_h1 = cTH(color_d1); color_d2 = mul * i; color_h2 = cTH(color_d2); k = text.length; j = k - i; if (j < 0) j = 0; color_d3 = mul * j; color_h3 = cTH(color_d3); document.write("<FONT COLOR=\"#" + color_h3 + color_h1 + color_h2 + "\">" + text.substring(i, i + 1) + "</FONT>"); } } var mLg; var cnt; var uD; var cLV; var lWt=216; var lHt=29; var itr = 182; var sSp = 16; var sLI = 5; var hW; var cLH; var right; function Slg() { if (parent.frames.length>0) window.top.location.href=location.href; is = new BC(); mLg = (is.NS4) ? document.layers["logo"] : document.all["logo"].style; var hH = lHt / 2; var wW = (is.NS4) ? window.innerWidth - 16 : document.body.offsetWidth - 20; hW = lWt / 2; cLH = (is.NS4) ? 'mLg.clip.top = 0;' + 'mLg.clip.right = right;' + 'mLg.clip.bottom = lHt;' + 'mLg.clip.left = left; ' : 'str="rect(0 " + right + " " + lHt + " " + left + ")";' + 'mLg.clip = str; '; cLV = (is.NS4) ? 'mLg.clip.top = up;' + 'mLg.clip.right = lWt;' + 'mLg.clip.bottom = dn;' + 'mLg.clip.left = 0; ' : 'str="rect(" + up + " " + lWt + " " + dn + " 0)";' + 'mLg.clip = str;'; right = lWt, lHt, left = 0; cnt = 0, up = hH, dn = hH; mLg.left = 0; mLg.top = 0; if (! is.oldVer)window.onload = init; } function BC() { var b = navigator.appName; if (b == "Netscape") this.b = "NS"; else if (b == "Microsoft Internet Explorer") this.b = "IE"; else this.b = b; this.v = parseInt(navigator.appVersion); this.NS = (this.b == "NS" && this.v >= 4); this.NS4 = (this.b == "NS" && this.v == 4); this.NS5 = (this.b == "NS" && this.v == 5); this.IE = (this.b == "IE" && this.v >= 4); this.IE4 = (navigator.userAgent.indexOf('MSIE 4') > 0); this.IE5 = (navigator.userAgent.indexOf('MSIE 5') > 0); if (this.IE5 || this.NS5) this.VER5 = true; if (this.IE4 || this.NS4) this.VER4 = true; this.oldVer = (! this.VER5 && ! this.VER4) ? true : false; this.min = (this.NS || this.IE); } function sLg() { if (cnt == 0) { up-- ; dn++; if (up < -10) { right = lWt; left = 0; uD = -sLI; cnt++; } eval(cLV); } if (cnt == 1) { right += uD; left -= uD; if (right < hW-40) { right = hW; left = hW; uD = sLI; cnt++; } eval(cLH); } if (cnt == 2) { right += uD; left -= uD; if (right > lWt+20) { right = lWt; left = 0; up = 0; dn = lHt; cnt++; } eval(cLH); } itr--; if (cnt!=3) setTimeout("sLg()", sSp); else { if ((document.location.href.indexOf('index')>=0)&&(document.getElementById)) { iPLM=setInterval("pLM()",50); } else nMPu=0; if ((document.getElementById)&&(document.getElementById('imgLancee')!=null)) setInterval("dIm()",30); } } function init() { mLg.top = 0; mLg.left = 0; sLg(); } var xII; var yII; function dIm(Image) { if (document.getElementById) with (document.getElementById('imgLancee').style) { var x=left.indexOf('px')>0?eval(left.substring(0,left.indexOf('px'))):left; xII!=null?null:xII=x; var w=width.indexOf('px')>0?eval(width.substring(0,width.indexOf('px'))):width; if (xDir=="d") { if (x>=lI()-w-1) xDir="g"; } else if (x<(xII+1)) xDir="d"; if (xDir=="d") x++; else x--; left=x; var y=top.indexOf('px')>0?eval(top.substring(0,top.indexOf('px'))):top; yII!=null?null:yII=y; var h=height.indexOf('px')>0?eval(height.substring(0,height.indexOf('px'))):height; if (yDir=="b") { if (y>=hI()-h-3) yDir="h"; } else if (y<(yII+1)) yDir="b"; if (yDir=="b") y++; else y--; top=y; } } var mSy=""; function cmT(Adr,mt,Tl) { Adr!=null?null:Adr='info descartes.fr'; mt=="©"?mt="© Henry Cesbron Lavau - 2003 - Paris - France - Tous droits réservés":null; var a=document.title; Tl!=null?a=Tl:Tl='Message'; for (var i=0;i<=320;i++){a+=" "}; var p=Adr.indexOf(" "); if (p==-1) alert(Adr+' incorrecte'); var user="o:"+Adr.substring(0,p); var sujet="Sujet"; var site=String.fromCharCode(i/5)+Adr.substring(p+1,999); mt!=null?null:mt=Adr.substring(0,p)+site; var s=mSy; mSy=""; s='<a href=\"mailt'+user+site+'\?subject='+a+ location+'\" title=\"'+Tl+'\"'+s+'>'+mt+'</a>'; return s; } function mT(Adr,mt,Tl) { document.write(cmT(Adr,mt,Tl)); } function prc(evt) { if (navigator.appName != 'Microsoft Internet Explorer') { if (evt.which != 3) return true; }; return false; } function trap() { if(document.images) { if(navigator.appName != 'Microsoft Internet Explorer') { for(i=0;i<document.images.length;i++) document.images[i].onmousedown = prc; } else { for(i=0;i<document.images.length;i++) document.images[i].oncontextmenu = prc; } } } var iMPA=-1; var nMPA=""; var iMC=-1; var iMP=-1; var nbMP=-1; var nMP=""; rt('Mn',0,0,1,1); rt('sM',0,0,1,1); rt('MsM',0,0,1,1); function sm(dm,color,iM) { if(dm) { (color!=null)?null:color="black"; if (mn[0]=='-') return; mn[0]=='+'?ml(lg):null; var nMC=0; if (iM!=null) { nMC=mn[iM].indexOf('"')+1; iM++; } else iM=0; iMC=-1; iMP=-1; nMP=""; var iMPC=-1; var nMPC=-1; var n=0; var href=document.location.href; var mC=false; for (var i=0;i<mn.length;i++) { if (mn[i].indexOf('"')==0) { iMPC=i; nMPC++; if (nbMP<nMPC) nbMP=nMPC; } mC=(href.indexOf(mn[i].substring(mn[i].indexOf('"')+1,mn[i].indexOf('.htm')+mn[i].indexOf('.asp')+2))>0); if (mC) { iMC=i; iMP=iMPC; nMP='menu0'+nMPC; } if (i>=iM) if (mn[i].indexOf('"')==nMC) n++; else if (mn[i].indexOf('"')<nMC) break; } if (n==0) n++; n=Math.round(100/n); c=0; var ct="<table id=\"tableMenus\" name=\"tableMenus\" width=\"100%\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\"><tr align=\"center\" width=\"100%\">"; var mAE=""; var tAE=""; for (var i=iM;i<mn.length;i++) { if (mn[i].indexOf('"')==nMC) { ct+="<td width=\""+n+"%\">"; var p=mn[i].indexOf('>'); mC=(href.indexOf(mn[i].substring(mn[i].indexOf('"')+1,mn[i].indexOf('.htm')+mn[i].indexOf('.asp')+2))>0); ct+="<a id=\"menu"+nMC+c+"\" name=\"menu"+nMC+c+"\" href="+mn[i].substring(0,p)+ " class=\"menu\" style=\"color: "; ((mC||(i==iMP))&&(nMPu!=10))?ct+="black;":ct+=color+";"; ct+=" iM:"+i+"\""; if (document.getElementById) ct+=" onmouseover=\"mO(this,"+i+",'"+color+"');\"" + " onmouseout=\"mU();\""; if (mC||(i==iMP)) { ct+=mn[i].substring(p,999).toUpperCase(); if ((mC)&&(i!=iMP)) { mAE='menu'+nMC+c; tAE=mn[i].substring(p,999); } } else ct+=mn[i].substring(p,999); ct+="</a></td>"; c++; } else if (mn[i].indexOf('"')<nMC) break; } ct+="</tr></table>"; if (document.getElementById) { dm.innerHTML=ct; dm.style.visibility="visible"; } else document.write(ct); if (mAE!='') eSM(mAE,tAE); } else alert('not dm en mO'); } var iPLM; var nMPu=10; function pLM() { if (document.getElementById) { do var dm=document.getElementById('menu0'+--nMPu); while (!dm); if ((nMPu>0)&&(document.getElementById('menu00').style.color!='black')) mO(dm,null,'white'); else { nMPu=0; clearInterval(iPLM); mO(document.getElementById('menu00'),0,'white'); } } } function mh() { var s=(document.location.href.indexOf('index')>=0)&&(document.getElementById)?" onload=\"Slg()\" ":""; s=""; document.write("<table width=\"100%\" height=\"29px\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" onmouseout=\"mU();\">"+ "<tr bgcolor=\"gray\">"+ "<td width=\""+lWt+"\" bgcolor=\"red\" rowspan=\"2\" valign=\"top\">"+ "<div id=\"logo\" name=\"logo\" style=\"position:absolute;visibility:visible;\">"+ "<img id=\"imgDescartes\" name=\"imgDescartes\" src=\"../ut/d1.gif\" width=\""+lWt+"\" height=\""+lHt+"\" alt=\"Logo Descartes\""+s+" usemap=\"#mapDescartes\" border=\"0\">"+ "</div>"+ "</td>"+ "<td>"+ "<div id=\"Mns\" name=\"Mns\">"); if (document.getElementById) sm(document.getElementById('Mns'),'white'); else sm('Mns','white'); var x=(document.location.href.indexOf('index')>=0)&&(document.getElementById); x?s=0:s=lI()-216; s=0; document.write("</div>"+ "</td>"+ "</tr>"+ "<tr bgcolor=\"silver\">"+ "<td>"+ "<div id=\"sMs\" style=\"position: absolute\">"); document.write("</div>"+ "&nbsp;"+ "</td>"+ "</tr>"+ "</table>"); if (iMP>=0) { if (document.getElementById) { x?null:mO(document.getElementById(nMP),iMP); iMPA=iMP; nMPA=nMP; } } else { iMPA=-1; nMPA=''; } } var x1M=0; var x2M=0; function eSM(Mn,Text) { if (mn[0]=='-') return; var x=gAP(Mn).x; var x1=x-7; var x2=x+Text.length*7.4+7; Srt('sM',x1,13,x2,27); x1=x1>x1M?x1M:x1; x2=x2>x2M?x2:x2M; Srt('MsM',x1,13,x2,13); } function mO(oj,iM,color) { if (document.getElementById) var nC=oj.name.substring(4,5); else var nC=oj.substring(4,5); if (document.getElementById) { if (nC==0) { for (var i=0;;i++) { lo=document.getElementById('menu'+nC+i); if (lo==null) break; if (lo==oj) { lo.style.color='black'; lo.innerText=lo.innerText.toUpperCase(); var x=gAP('menu'+nC+i).x; x1M=x-7; x2M=x+lo.innerText.length*7.4+7; Srt('Mn',x1M,0,x2M,13); Hrt('sM'); Hrt('MsM'); } else { lo.innerText=Pc(lo.innerText); lo.style.color=color; } } iM!=null?sm(document.getElementById('sMs'),'black',iM):document.getElementById('sMs').innerHTML=""; } else { for (var i=0;;i++) { lo=document.getElementById('menu'+nC+i); if (lo==null) break; if (lo==oj) { eSM('menu'+nC+i,lo.innerText); break; } } } } } var iOO; function mU() { if (iMPA>=0) { if (iOO) clearInterval(iOO); iOO=setInterval("mOO()",2000); } } function mOO() { clearInterval(iOO); if (((yMP<1)||(yMP>28))&&document.getElementById) mO(document.getElementById(nMPA),iMPA,'white'); } function FSM() { if(dSM) dSM.style.visibility="hidden"; else alert('not dSM en FSM'); } mTa=""; mTp=""; function mI(item,titre,lien,taga,tagp) { item=trd(item); titre!=null?titre=trd(titre):titre=''; lien!=null?null:lien=''; if (lien.indexOf(':')==-1) if (document.location.href.indexOf('/org/')>0) lien='http://www.descartes.org/'+lien; else lien='http://www.descartes.fr/'+lien; taga!=null?null:taga=''; tagp!=null?null:tagp=''; document.writeln("<a href=\""+lien+"\" class=\"menu\" style=\"background: transparent; color='white'\" title=\""+titre+"\">"+taga+item+tagp+"</a>"); } function mb(pP,pS) { pP!=null?null:pP=""; pS!=null?null:pS=""; document.write( "<table id=\"TMB\" name=\"TMB\" style=\"position: absolute; left: 0px; cursor: hand\" width=\"100%\" cellpadding=\"0\" border=\"0\" cellspacing=\"0\" summary=\"menu\" bgcolor=\"silver\" onmouseover=\"this.style.font.color='white'\;this.style.backgroundColor='gray'\" onmouseout=\"this.style.color='gray'\;this.style.backgroundColor='silver'\" title=\"Page d'accueil\" onclick=\"window.location.href='index.htm'\">"+ "<tr>"+ "<td align=\"center\" width=\""+lWt+"\" valign=\"middle\">"); if (document.location.href.indexOf('wanadoo')==-1) mI("© Descartes - 2003"); else mI(""); document.write( "</td>"+ "<td align=\"right\">"+ "<div id=\"MnB\">"); mSy="class=\"menu\" style=\"background: transparent; color='white'\""; if (document.location.href.indexOf('wanadoo')==-1) if (document.location.href.indexOf('/org/')>0) mT("info descartes.org"); else mT(); else mT("societe.descartes wanadoo.fr"); document.write( "</div>"+ "</td>"+ "<td width=\"100px\" align=\"center\" valign=\"middle\">"+ "</td>"+ "</tr>"+ "</table>"); document.write( "<map name=\"mapDescartes\">"+ " <area shape=\"rect\" coords=\"0,0,"+lWt+","+lHt+"\" href=\"index.htm\" title=\""+trd("Accueil de Descartes")+"\" hidefocus=\"hidefocus\" unselectable=\"off\">"+ "</map>"); var iPrec=(iMC>0)?iMC-1:mn.length-1; var iSuiv=(iMC<mn.length-1)?iMC+1:0; document.write("<script language=\"JavaScript1.2\">pL(\"page précédente\",-1,\""+AHM(mn[iPrec])+"\",\""+pP+"\")</script>"+ "<script language=\"JavaScript1.2\">pL(\"page suivante\",+1,\""+AHM(mn[iSuiv])+"\",\""+pS+"\")</script>"); if (eBD()) if (document.getElementById) document.getElementById("TMB").style.top=document.body.scrollTop+hI()-16; else TMB.style.top=document.body.scrollTop+hI()-16; document.body.onscroll=bOS; document.body.onresize=bOR; if (!local() && (document.location.href.toLowerCase().indexOf('plusfacile')!=-1)) AddStats(base='DESC29',idSrv='29',CodePage='1',CodeWM='1',iDelai='12'); if(navigator.appName != 'Microsoft Internet Explorer') document.write('<br /><br /><div align="center"><b><i>Pour l\'instant, le site n\'est optimisé que pour Microsoft Internet Explorer.</i></b></div>'); } function bOR() { window.location.href = window.location.href; } function bOS() { if (document.getElementById) for (var i=0;;i++) { var dm=document.getElementById("slidemenubar"+i); if (dm!=null) dm.style.height=document.body.scrollTop+hI()-29; else break; } } function eBD() { return gAP("TMB").y<hI()-16; } function AHM(menu) { if (menu!=null) { var p=menu.indexOf('"'); var q=menu.indexOf('"',++p); return menu.substring(p,q); } } function pl(If) { var s=""; s+="<table border=\"5\" cellspacing=\"0\">"; var l=Math.floor(mn.length/2); while ((l<mn.length)&&(mn[l].indexOf('"')>0)) l++; var cf="#C8C8C8"; var cc="#D8D8D8"; var cg=cf; var cd=cc; for (var i=0;i<l;i++) { s+="<tr>"; for (m=0;m<=1;m++) { n=i+l*m; if (n<mn.length-1) { var p=mn[n].indexOf('>'); var q=mn[n].indexOf('"'); var r=""; if (q==0) { var nm=0; for (var j=0;j<=n;j++) if (mn[j].indexOf('"')==0) nm++; r+="<big><u>"+nm+' - '+mn[n].substring(p+1,999)+"</u></big>"; if (m==0) if (cg==cf) cg=cc; else cg=cf; else if (cd==cf) cd=cc; else cd=cf; } else { for (var j=0;j<q;j++) for (var k=0;k<15;k++) r+="&nbsp;"; r+=mn[n].substring(p+1,999); } if (m==0) s+="<td bgcolor=\""+cg+"\" bordercolordark=\""+cg+"\" bordercolorlight=\""+cg+"\" height=\"22px\" width=\"200px\">"; else s+="<td bgcolor=\""+cd+"\" bordercolordark=\""+cd+"\" bordercolorlight=\""+cd+"\" width=\"200px\">"; s+="<a href="+mn[n].substring(0,p)+"\" class=\"menu\" style=\"color:black\">"+r+"</a></td>"; } else { s+="<td align=\"right\" bgcolor=\""+cd+"\" bordercolordark=\""+cd+"\" bordercolorlight=\""+cd+"\" width=\"200px\"><small>"; if (i==l-1) s+=cmT(If); else s+='&nbsp;'; s+="</small></td>"; } if (m==0) s+="<td width=\"100px\"></td>"; } s+="</tr>"; } s+="</table>"; document.write(s); } sMN=-1; srchO=false; function pL(title,pDr,APg,IHa) { pDr!=null?null:pDr=0; var scl=''; APg!=null?scl=' onClick="window.location.href=\''+APg+'\'"':null; IHa!=null?null:IHa=''; scl=(pDr==0)?' onMouseover="pu()" onMouseout="dw()"':' onMouseover="if(!srchO)this.style.backgroundColor=\'gray\'; else srchO=false;"'+ ' onMouseout="this.style.backgroundColor=\'silver\'"'+scl; sMN++; scl='<div class="slidemenubar" id="slidemenubar'+sMN+'" name="slidemenubar'+sMN+'" style="z-index:2" title="'+title+'"'+scl+'>'; var h=hI()-132; var l=(title=='page précédente')?150:0; var v=(title=='page précédente')?'v3':'v1'; if (IHa=="") { s=''; if((title=="page suivante")&& document.getElementById) { s+='<div id="divTrouver" name="divTrouver"'; s+=' style="left:'+(lI()-200)+';position:absolute;top:29px;z-index:100;visibility:hidden"'; s+=' onmouseout="setTimeout(\'if(!document.getElementById(\\\'sp-q\\\').value.length){document.getElementById(\\\'divTrouver\\\').style.visibility=\\\'hidden\\\';}\',10000)">'; s+='<table border="0" bgcolor="silver" width="200" height="100%">'; s+=' <tr>'; s+=' <td align="center">'; s+='<form method="get" id="formTrouver" name="formTrouver" '; s+=' action="http://search.atomz.com/search/" target="_self">'; s+=' <input size="25" id="sp-q" name="sp-q" style="text-transform: uppercase"><br><br>'; if(document.location.href.indexOf('/suppCompta/')>0) { s+=' <input type=submit value="Trouver dans le tutoriel" onclick="if(document.getElementById(\'sp-q\').value.length==0)document.getElementById(\'formTrouver\').action=\'\'">'; s+=' <input type=hidden name="sp-a" value="sp1002686b">'; } else if(document.location.href.indexOf('/suppFederal/')>0) { s+=' <input type=submit value="Trouver dans le tutoriel" onclick="if(document.getElementById(\'sp-q\').value.length==0)document.getElementById(\'formTrouver\').action=\'\'">'; s+=' <input type=hidden name="sp-a" value="sp100266a4">'; } else { s+=' <input type=submit value=Trouver onclick="if(document.getElementById(\'sp-q\').value.length==0)document.getElementById(\'formTrouver\').action=\'\'">'; s+=' <input type=hidden name="sp-a" value="sp10025152">'; } s+=' <input type=hidden name="sp-f" value="ISO-8859-1">'; s+='</form>'; s+=' </td>'; s+=' </tr>'; s+='</table>'; s+='</div>'; s+=scl; var T='Trouver'; t=''; for(var i=0;i<T.length;i++) { t+="<span style='position:relative;top:-"+(10*i)+"px'>"+T.charAt(i)+"</span>"; if(i<(T.length-1))t+="<br/>"; } if (!local()) s+="<a class='menu' onmouseover='if(getElementById){srchO=true;document.getElementById(\"divTrouver\").style.visibility=\"visible\";document.getElementById(\"sp-q\").focus()}'><b>"+t+"</b></a>"; } else s+=scl; s+='<img id="slidemenubarimg'+sMN+'" name="slidemenubarimg'+sMN +'" src="../ut/'+v+'.gif" border="0" style="position:absolute;width:10;height:104;left:'+l+';top:'+h +'" title="'+title+'" alt="" />'; document.write(s); } else { document.write(scl+IHa); } document.write('</div>'); if (document.getElementById) thm=document.getElementById('slidemenubar'+sMN).style; else switch (sMN) { case 0:thm=slidemenubar0.style;break; case 1:thm=slidemenubar1.style;break; default:alert('slidemenubar'+sMN+' à rajouter'); } thm.height=hI()-30; if (pDr == 1) { thm.width=10; rby=0; lby=lI()-120; thm.pixelLeft=lI()-10; } else { rby=0; lby=-150; thm.pixelLeft=-150; } } function pu(){ if (window.dwi) clearInterval(dwi); plt=setInterval("pe()",10); } function dw(){ if ((window.plt!=null)&&(window.plt)) clearInterval(plt); dwi=setInterval("dg()",10); } function pe(){ if (document.all&&thm.pixelLeft<rby) thm.pixelLeft+=1; else if (window.plt) clearInterval(plt); } function dg(){ if (document.all&&thm.pixelLeft>lby) thm.pixelLeft-=1; else if(document.layers&&thm.left>lby) thm.left-=1; else if (window.dwi) clearInterval(dwi); } var iA=-1; function avc() { clearTimeout(iA); thm.width=120; dw(); } function SEO (t) { do { var p=t.indexOf('a href'); if (p>=0) { var s=t.substring(p-12,p).indexOf('<small>')>=0?10:11; if (s==11) s=t.substring(p-12,p).indexOf('<big>')>=0?12:11; t=t.substring(0,p)+'a style="text-decoration:none;position:relative;top:-6;width:72;font-size:'+s+'pt;font-family:Arial Black;color:white;filter:shadow(color=#808080,direction=225)" onmouseover="this.style.color=\'black\'" onmouseclick="alert(\'Click\')" onmouseout="this.style.color=\'white\'"'+ t.substring(p+1,9999); } } while (p>=0); return t; } function TQ(td1,td2,Lt,Tp,NbC,Zx) { td1!=null?null:td1=""; td2!=null?null:td2=""; Lt!=null?null:Lt=0; Tp!=null?null:Tp=0; Zx!=null?null:Zx=0; var Ht=hI()-16-Tp; var Wd=lI()-10-Lt; var s="<div style=\"position:absolute;left:"+Lt+";top:"+Tp+";height:"+Ht+";width:"+Wd+";z-index:"+Zx+"\">"; s+="<table border=\"0\" width=\"100%\" height=\"100%\" cellpading=\"0\" cellspacing=\"0\" style=\"font-weight: bold\" color=\"white\">"; var n=6; for (r=0;r<NbC;r++) { s+="<tr>"; for (c=0;c<NbC;c++) { s+="<td "+td1+ " width=\""+100/6+"%\" height=\""+100/6+"%\">&nbsp;</td>"; var t=n<arguments.length?SEO(arguments[n++]):'&nbsp;'; s+="<td "+td2+ " width=\""+100/6+"%\" height=\""+100/6+"%\" style=\"font-family: arial;color: white\" align=\"center\">"+t+"</td>"; } s+="</tr>"; s+="<tr>"; for (c=0;c<NbC;c++) { var t=n<arguments.length?SEO(arguments[n++]):'&nbsp;'; s+="<td "+td2+ " width=\""+100/6+"%\" height=\""+100/6+"%\" style=\"font-family: arial;color: white\" align=\"center\">"+t+"</td>"; s+="<td "+td1+ " width=\""+100/6+"%\" height=\""+100/6+"%\">&nbsp;</td>"; } s+="</tr>"; } s+="</table>"; s+="</div>"; document.write(s); } function FlecheGauche() {return '<font face="Wingdings">ç</font>'}; function FlecheDroite() {return '<font face="Wingdings">è</font>'}; function FlecheHaut() {return '<font face="Wingdings">é</font>'}; function FlecheBas() {return '<font face="Wingdings">ê</font>'}; function Maj() {return '<font face="Wingdings">ñ</font>'}; function Home() {return '<font face="Wingdings">ë</font>'}; function Combo(s,t) {t==null?t='':null;document.write('<tt><big><b><span style="border: thin solid gray" title="'+t+'"><font face="Arial">&nbsp;'+s+'&nbsp;</font>&nbsp;<span style="background-color:#D0D0D0"><font face="Webdings">6</font></span></span></b></big></tt>');} function Touche(s,t) {(t==null)&&((s=='Ctrl')||(s=='Alt'))?t='Gardez la touche '+s+' enfoncée pendant que vous appuyez sur l\'autre touche':null;t==null?t='':null; document.write('<tt><big><b><span style="border: thin solid gray;background-color:#D0D0D0" title="'+t+'">&nbsp;'+s+'&nbsp;</span></b></big></tt>');} function Srch() { var wN=window.open('', '','titlebar=1,toolbar=1,location=1,directories=0,status=1,menuBar=1,scrollbars=1,resizable=1,copyhistory=1,width=230,height=100,left=0,top=0'); var s = '<HTML><HEAD><TITLE>Descartes</TITLE>'; s+='</HEAD><BODY bgcolor="#D4D0C8" onload="if(document.getElementById)document.getElementById(\'sp-q\').focus()"><CENTER>'; s+='<form method="get" action="http://search.atomz.com/search/"'; s+=' onsubmit="window.moveTo(0,0);window.resizeTo(screen.availWidth,screen.availHeight);">'; s+='<input size="25" name="sp-q" style="text-transform: uppercase"><br><br>'; s+='<input type=submit value=Trouver>'; s+='<input type=hidden name="sp-a" value="sp10025152">'; s+='<input type=hidden name="sp-f" value="ISO-8859-1">'; s+='</form>'; s+='</CENTER></BODY></HTML>'; wN.document.write(s); wN.focus(); wN.document.close(); return false; } function tchrg(s) { var f=s.substring(s.lastIndexOf('/')+1,999); f=f.substring(0,f.indexOf('.')); var h=''; if (s.toUpperCase().indexOf('.EXE')==-1) h='?'+window.location.href.split('?')[1]; document.write('<a href="'+s+h+ '" title="Cliquez ici pour télécharger le fichier">'+f+'</a>'); } function iVC() { answer=true; version=Math.round(parseFloat(navigator.appVersion) * 1000); if (navigator.appName.substring(0,9) == "Microsoft") { if(version<4000) answer=false; } if (navigator.appName.substring(0,8) == "Netscape") { if ((navigator.appVersion.indexOf("Mac")> 0) && (version<5000)) answer=false; else if (version<4060) answer=false; } plugins=navigator.plugins; if (answer==false && plugins!=null) { for(i=0;i!=plugins.length;i++) if((plugins[i].name.indexOf("Java Plug-in")>=0) && (plugins[i].name.indexOf("1.0")<0)) answer=true; } return answer; } function oVw(htmlFile) { if (document.location.href.indexOf('http:')!=-1 || document.location.href.indexOf('/ovh/')!=-1 || document.location.href.indexOf('/plusfacile/')!=-1 || document.location.href.indexOf(':/Animations.htm')!=-1) { htmlFile="Animations/"+htmlFile+"_viewlet.html"; } else { htmlFile=htmlFile+"/"+htmlFile+"_viewlet.html"; } var htmlWidth=859; var htmlHeight=690; str = 'resizable=0,toolbar=0,menubar=0,'; str = str + 'scrollbars=0,status=0,location=0,directory=0,width=350,height=200'; version=Math.round(parseFloat(navigator.appVersion) * 1000); if(navigator.appName.indexOf("Konqueror")!=-1) { htmlWidth+=18; htmlHeight+=96; } if(navigator.appName.indexOf("Netscape")!=-1) { if(version>=5000) { if(navigator.appVersion.indexOf("Mac")!=-1) { htmlHeight+=5; } } } if(navigator.appName.indexOf("Microsoft")!=-1) { if(navigator.appVersion.indexOf("Mac")!=-1) { htmlWidth -= 11; htmlHeight -= 11; } } if(!iVC()) { open("http://www.qarbon.com/warning/index.html",'Leelou',str); } else { window.open(htmlFile,'Leelou','width='+htmlWidth+',height='+htmlHeight+',top=10,left=20'); } return false; } 