function addEvent(b,d,c){if(b.addEventListener){b.addEventListener(d,c,false)}else{if(!c.$$guid){c.$$guid=addEvent.guid++}if(!b.events){b.events={}}var a=b.events[d];if(!a){a=b.events[d]={};if(b["on"+d]){a[0]=b["on"+d]}b["on"+d]=handleEvent}a[c.$$guid]=c}}addEvent.guid=1;function removeEvent(a,c,b){if(a.removeEventListener){a.removeEventListener(c,b,false)}else{if(a.events&&a.events[c]&&b.$$guid){delete a.events[c][b.$$guid]}}}function handleEvent(d){d=d||fixEvent(window.event);var c=true;var a=this.events[d.type];for(var b in a){if(!Object.prototype[b]){this.$$handler=a[b];if(this.$$handler(d)===false){c=false}}}if(this.$$handler){this.$$handler=null}return c}function fixEvent(a){a.preventDefault=fixEvent.preventDefault;a.stopPropagation=fixEvent.stopPropagation;return a}fixEvent.preventDefault=function(){this.returnValue=false};fixEvent.stopPropagation=function(){this.cancelBubble=true};if(!window.addEventListener){document.onreadystatechange=function(){if(window.onload&&window.onload!=handleEvent){addEvent(window,"load",window.onload);window.onload=handleEvent}}}Array.prototype.indexOf=function(d,e,a){e=e||0;for(var b=e;b<this.length;b++){var c=this[b];if(a?c===d:isRegexp(d)?d.test(c):isFunction(d)?d(c):c==d){return b}}return -1};Array.prototype.contains=function(b,a){return this.indexOf(b,0,a)!==-1};Array.prototype.include=Array.prototype.contains;Array.prototype.count=function(c,a){var e,d=0,b=0;while((e=this.indexOf(c,d,a))!==-1){d=e+1;b++}return b};Array.prototype.remove=function(c,b,a){while(this.contains(c,a)){this.splice(this.indexOf(c,0,a),1);if(!b){break}}return this};Array.prototype.merge=function(){var b=[];for(var d=0;d<arguments.length;d++){for(var c=0;c<arguments[d].length;c++){b.push(arguments[d][c])}}for(var d=0;d<b.length;d++){this.push(b[d])}return this};function __strfn(args,fn){function quote(s){return'"'+s.replace(/"/g,'\\"')+'"'}if(!/\breturn\b/.test(fn)){fn=fn.replace(/;\s*$/,"");fn=fn.insert(fn.lastIndexOf(";")+1," return ")}return eval("new Function("+map(args.split(/\s*,\s*/),quote).join()+","+quote(fn)+")")}function map(d,c){if(typeof(c)=="string"){return map(d,__strfn("item,idx,list",c))}var a=[];c=c||function(e){return e};for(var b=0;b<d.length;b++){a.push(c(d[b],b,d))}return a}function filter(c,b){if(typeof(b)=="string"){return filter(c,__strfn("item,idx,list",b))}var a=[];b=b||function(d){return d};map(c,function(e,d,f){if(b(e,d,f)){a.push(e)}});return a}function reduce(e,b,d){if(undef(d)){d=b;b=window.undefined}if(typeof(d)=="string"){return reduce(e,b,__strfn("a,b",d))}if(isdef(b)){e.splice(0,0,b)}if(e.length===0){return false}if(e.length===1){return e[0]}var a=e[0];var c=1;while(c<e.length){a=d(a,e[c++])}return a}function isArray(b){return isObject(b)&&b.constructor==Array}function isFunction(b){return typeof b=="function"}function isNumber(b){return typeof b=="number"&&isFinite(b)}function isObject(b){return(b&&typeof b=="object")||isFunction(b)}function isRegexp(b){return b&&b.constructor==RegExp}function isString(b){return typeof b=="string"}function isUndefined(b){return typeof b=="undefined"}if(!Array.prototype.push){Array.prototype.push=function(){for(var a=0;a<arguments.length;a++){this[this.length]=arguments[a]}return this.length}}if(!Array.prototype.splice){Array.prototype.splice=function(u,o){var p=Math.max,g=Math.min,r=[],m,h=p(arguments.length-2,0),f=0,c=this.length,b,t,q;u=u||0;if(u<0){u+=c}u=p(g(u,c),0);o=p(g(isNumber(o)?o:c,c-u),0);t=h-o;b=c+t;while(f<o){m=this[u+f];if(!isUndefined(m)){r[f]=m}f+=1}q=c-u-o;if(t<0){f=u+h;while(q){this[f]=this[f-t];f+=1;q-=1}this.length=b}else{if(t>0){f=1;while(q){this[b-f]=this[c-f];f+=1;q-=1}}}for(f=0;f<h;++f){this[u+f]=arguments[f+2]}return r}}String.prototype.insert=function(a,b){return this.slice(0,a)+b+this.slice(a)};function undef(a){return isUndefined(a)}function isdef(a){return !isUndefined(a)}function list(b,a){if(!isString(a)&&!isRegexp(a)){a=a?",":/\s*,\s*/}return b.split(a)}function isList(a){return a&&isObject(a)&&(isArray(a)||a.item)}function isElement(b,a){return b&&isObject(b)&&((!a&&(b==window||b==document))||b.nodeType==1)}function getElem(b){var a=(document.getElementById&&function(c){return document.getElementById(c)})||(document.all&&function(c){return document.all[c]})||function(){return null};return isElement(b)?b:isString(b)?a(b):null}function getElemList(a){if(isElement(a)){return[a]}else{if(isString(a)){return getElemList(a.split(/\s+/g))}else{if(isList(a)){var b=map(a,getElem);return filter(b,isElement).length==b.length?b:null}else{return null}}}}function filterElementNodes(a,b){return filter(a,function(c){return c.nodeType==1&&c.nodeName!="!"&&(undef(b)||b=="*"||c.nodeName.toUpperCase()==b.toUpperCase())})}function getAll(a,b){b=isdef(b)?getElem(b):document;if(undef(a)){a="*"}var c=b.getElementsByTagName(a);return c.length||a!="*"?map(c):reduce(filterElementNodes(b.childNodes),[],function(d,e){return d.merge([e],getAll(a,e))})}function getElementsByClass(d,c,f){var e=new Array();if(f==null){f=document}f=getElem(f);if(c==null){c="*"}var b=f.getElementsByTagName(c);var a=b.length;var g=new RegExp("(^|\\s)"+d+"(\\s|$)");for(i=0,j=0;i<a;i++){if(g.test(b[i].className)){e[j]=b[i];j++}}return e}getElementsByClassName=getElementsByClass;function hasClass(b,a){return getElem(b).className.split(" ").count(a)}function remClass(c,b,a){c=getElem(c);c.className=c.className.split(" ").remove(b,a).join(" ")}function addClass(b,a,c){b=getElem(b);if(!c&&b.className.split(" ").contains(a)){return}b.className+=(b.className.length?" ":"")+a}function swapClass(a,b){if(hasClass(a,b)){remClass(a,b)}else{addClass(a,b)}return !!hasClass(a,b)}var ALLOW_LEGACY_EVENTS=true;function getEventModel(){var a=document;return a.addEventListener?"DOM":a.attachEvent?"IE":"legacy"}function remEvent(b,d,c,a){if(!ALLOW_LEGACY_EVENTS&&getEventModel()=="legacy"){return false}if(undef(a)){a=true}map(getElemList(b),function(e){if(getEventModel()=="DOM"){e.removeEventListener(d,c,a)}else{e["on"+d].handlers.remove(c)}})}Hashtable.prototype.hash=null;Hashtable.prototype.keys=null;Hashtable.prototype.location=null;function Hashtable(){this.hash=new Array();this.keys=new Array();this.location=0}Hashtable.prototype.put=function(a,b){if(b==null){return}if(this.hash[a]==null){this.keys[this.keys.length]=a}this.hash[a]=b};Hashtable.prototype.get=function(a){return this.hash[a]};Hashtable.prototype.remove=function(b){for(var a=0;a<this.keys.length;a++){if(b==this.keys[a]){this.hash[this.keys[a]]=null;this.keys.splice(a,1);return}}};Hashtable.prototype.size=function(){return this.keys.length};Hashtable.prototype.populateItems=function(){};Hashtable.prototype.next=function(){if(++this.location<this.keys.length){return true}else{return false}};Hashtable.prototype.moveFirst=function(){try{this.location=-1}catch(a){}};Hashtable.prototype.moveLast=function(){try{this.location=this.keys.length-1}catch(a){}};Hashtable.prototype.getKey=function(){try{return this.keys[this.location]}catch(a){return null}};Hashtable.prototype.getValue=function(){try{return this.hash[this.keys[this.location]]}catch(a){return null}};Hashtable.prototype.getKeyOfValue=function(b){for(var a=0;a<this.keys.length;a++){if(this.hash[this.keys[a]]==b){return this.keys[a]}}return null};Hashtable.prototype.toString=function(){try{var c=new Array(this.keys.length);c[c.length]="{";for(var b=0;b<this.keys.length;b++){c[c.length]=this.keys[b];c[c.length]="=";var a=this.hash[this.keys[b]];if(a){c[c.length]=a.toString()}else{c[c.length]="null"}if(b!=this.keys.length-1){c[c.length]=", "}}}catch(d){}finally{c[c.length]="}"}return c.join("")};Hashtable.prototype.add=function(a){try{a.moveFirst();while(a.next()){var b=a.getKey();this.hash[b]=a.getValue();if(this.get(b)!=null){this.keys[this.keys.length]=b}}}catch(c){}finally{return this}};function createCookie(c,d,e){if(e){var b=new Date();b.setTime(b.getTime()+(e*24*60*60*1000));var a="; expires="+b.toGMTString()}else{a=""}document.cookie=c+"="+d+a+"; path=/"}function readCookie(b){var e=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var f=a[d];while(f.charAt(0)==" "){f=f.substring(1,f.length)}if(f.indexOf(e)==0){return f.substring(e.length,f.length)}}return null}function testSessionCookie(){document.cookie="testSessionCookie=enabled";if(readCookie("testSessionCookie")=="enabled"){return true}else{return false}}function setSessionCookie(){if(testSessionCookie()){var a=readCookie("session-cookie");if(!a){createCookie("session-cookie",Math.random())}return true}else{return false}}addEvent(window,"load",setSessionCookie);function setPersistentCookie(){if(testSessionCookie()){var a=readCookie("persistent-cookie");if(!a){createCookie("persistent-cookie",Math.random(),365*10)}return true}else{return false}}addEvent(window,"load",setPersistentCookie);function BrowserDetect(){var a=navigator.userAgent.toLowerCase();this.isGecko=(a.indexOf("gecko")!=-1&&a.indexOf("safari")==-1);this.isAppleWebKit=(a.indexOf("applewebkit")!=-1);this.isKonqueror=(a.indexOf("konqueror")!=-1);this.isSafari=(a.indexOf("safari")!=-1);this.isOmniweb=(a.indexOf("omniweb")!=-1);this.isOpera=(a.indexOf("opera")!=-1);this.isIcab=(a.indexOf("icab")!=-1);this.isAol=(a.indexOf("aol")!=-1);this.isIE=(a.indexOf("msie")!=-1&&!this.isOpera&&(a.indexOf("webtv")==-1));this.isMozilla=(this.isGecko&&a.indexOf("gecko/")+14==a.length);this.isFirefox=(a.indexOf("firefox/")!=-1||a.indexOf("firebird/")!=-1);this.isNS=((this.isGecko)?(a.indexOf("netscape")!=-1):((a.indexOf("mozilla")!=-1)&&!this.isOpera&&!this.isSafari&&(a.indexOf("spoofer")==-1)&&(a.indexOf("compatible")==-1)&&(a.indexOf("webtv")==-1)&&(a.indexOf("hotjava")==-1)));this.isIECompatible=((a.indexOf("msie")!=-1)&&!this.isIE);this.isNSCompatible=((a.indexOf("mozilla")!=-1)&&!this.isNS&&!this.isMozilla);this.geckoVersion=((this.isGecko)?a.substring((a.lastIndexOf("gecko/")+6),(a.lastIndexOf("gecko/")+14)):-1);this.equivalentMozilla=((this.isGecko)?parseFloat(a.substring(a.indexOf("rv:")+3)):-1);this.appleWebKitVersion=((this.isAppleWebKit)?parseFloat(a.substring(a.indexOf("applewebkit/")+12)):-1);this.versionMinor=parseFloat(navigator.appVersion);if(this.isGecko&&!this.isMozilla){this.versionMinor=parseFloat(a.substring(a.indexOf("/",a.indexOf("gecko/")+6)+1))}else{if(this.isMozilla){this.versionMinor=parseFloat(a.substring(a.indexOf("rv:")+3))}else{if(this.isIE&&this.versionMinor>=4){this.versionMinor=parseFloat(a.substring(a.indexOf("msie ")+5))}else{if(this.isKonqueror){this.versionMinor=parseFloat(a.substring(a.indexOf("konqueror/")+10))}else{if(this.isSafari){this.versionMinor=parseFloat(a.substring(a.lastIndexOf("safari/")+7))}else{if(this.isOmniweb){this.versionMinor=parseFloat(a.substring(a.lastIndexOf("omniweb/")+8))}else{if(this.isOpera){this.versionMinor=parseFloat(a.substring(a.indexOf("opera")+6))}else{if(this.isIcab){this.versionMinor=parseFloat(a.substring(a.indexOf("icab")+5))}}}}}}}}this.versionMajor=parseInt(this.versionMinor);this.isDOM1=(document.getElementById);this.isDOM2Event=(document.addEventListener&&document.removeEventListener);this.mode=document.compatMode?document.compatMode:"BackCompat";this.isWin=(a.indexOf("win")!=-1);this.isWin32=(this.isWin&&(a.indexOf("95")!=-1||a.indexOf("98")!=-1||a.indexOf("nt")!=-1||a.indexOf("win32")!=-1||a.indexOf("32bit")!=-1||a.indexOf("xp")!=-1));this.isMac=(a.indexOf("mac")!=-1);this.isUnix=(a.indexOf("unix")!=-1||a.indexOf("sunos")!=-1||a.indexOf("bsd")!=-1||a.indexOf("x11")!=-1);this.isLinux=(a.indexOf("linux")!=-1);this.isNS4x=(this.isNS&&this.versionMajor==4);this.isNS40x=(this.isNS4x&&this.versionMinor<4.5);this.isNS47x=(this.isNS4x&&this.versionMinor>=4.7);this.isNS4up=(this.isNS&&this.versionMinor>=4);this.isNS6x=(this.isNS&&this.versionMajor==6);this.isNS6up=(this.isNS&&this.versionMajor>=6);this.isNS7x=(this.isNS&&this.versionMajor==7);this.isNS7up=(this.isNS&&this.versionMajor>=7);this.isIE4x=(this.isIE&&this.versionMajor==4);this.isIE4up=(this.isIE&&this.versionMajor>=4);this.isIE5x=(this.isIE&&this.versionMajor==5);this.isIE55=(this.isIE&&this.versionMinor==5.5);this.isIE5up=(this.isIE&&this.versionMajor>=5);this.isIE6x=(this.isIE&&this.versionMajor==6);this.isIE6up=(this.isIE&&this.versionMajor>=6);this.isIE4xMac=(this.isIE4x&&this.isMac)}var browser=new BrowserDetect();function stripe(l){var m=arguments[1]?arguments[1]:"mmhide_rang-pair";var a=arguments[2]?arguments[2]:"mmhide_rang-impair";var n=getElementsByClass(l,"table");for(var f=0;f<n.length;f++){var b=false;var o=n[f];if(!o){return}var p=o.getElementsByTagName("tbody");for(var e=0;e<p.length;e++){var k=p[e].getElementsByTagName("tr");var d=false;for(var c=0;c<k.length;c++){var d=function(){var g=0;while(g<k[c].childNodes.length){if(k[c].childNodes[g].nodeType==1&&k[c].childNodes[g].tagName=="td"){return true}g++}return false};if(d){if(filterElementNodes(k[c].childNodes,"td").length!=0){addClass(k[c],b?m:a,true);b=!b}}}}}}addEvent(window,"load",function(a){stripe("table-alterne-bleu")});function tdm(d,h,r,p,c,m,f,b){d=document.getElementById(d);if(!d){return}var c=(c==null)?false:c;var m=(m==null)?true:m;var h=(h==null)?2:(h<0||h>6)?2:h;if(!r||r<1||r>p){var r=2}if(!p||p>6||p<r){var p=6}var b=(b==null)?"retour":b;var f=(f==null)?"Table des matières":f;var g=document.createElement("span");g.className="section-no";var e=document.createElement("span");e.className="tdm-item-no";var o=document.createElement("div");o.setAttribute("id","tdm");if(h!=0){var l=document.createElement("h"+h);l.setAttribute("id","tdm-titre");l.appendChild(document.createTextNode(f));o.appendChild(l)}var a=document.createElement("div");a.setAttribute("id","tdm-corps");o.appendChild(a);var q=[0,0,0,0,0,0];n(document.body,a,q);d.parentNode.replaceChild(o,d);function n(u,A,D){for(var v=u.firstChild;v!=null;v=v.nextSibling){if((v.nodeType==1)&&(v.tagName.length==2)&&(v.tagName.charAt(0)=="H")){var s=parseInt(v.tagName.charAt(1));if(!isNaN(s)&&(s>=r)&&(s<=p)){var t="";D[s-2]++;for(var x=s-1;x<6;x++){D[x]=0}var C="";for(var x=0;x<s-1;x++){C+=D[x];if(x<s-1){C+="."}}if(v.getAttribute("id")){t=v.getAttribute("id")}else{if(v.firstChild&&v.firstChild.nodeType==1&&v.firstChild.tagName=="A"&&v.firstChild.getAttribute("name")){t=v.firstChild.getAttribute("name")}else{t="SECT"+C;v.setAttribute("id",t)}}if(c){var w=document.createElement("span");w.className="tdm-retour";var z=document.createElement("a");z.setAttribute("href","#tdm");z.appendChild(document.createTextNode(b));w.appendChild(z);u.insertBefore(w,v)}var B=document.createElement("a");B.setAttribute("href","#"+t);B.setAttribute("id","tdm-"+t);var F=k(v);B.appendChild(document.createTextNode(F));var y=document.createElement("div");y.className="tdm-item tdm-niveau-"+x;var E=document.createElement("span");E.className="tdm-item-texte";if(m){tdmItemNoNode=e.cloneNode(false);tdmItemNoNode.appendChild(document.createTextNode(C+" "));y.appendChild(tdmItemNoNode)}E.appendChild(B);y.appendChild(E);A.appendChild(y);if(m){sectionNumberNode=g.cloneNode(false);sectionNumberNode.appendChild(document.createTextNode(C+" "));v.insertBefore(sectionNumberNode,v.firstChild)}}}else{n(v,A,D)}}}function k(x){var v="";var u=x.childNodes;for(var t=0;t<u.length;t++){var w=u[t];if(w.nodeType==3){v+=w.data}else{v+=k(w)}}return v}}addEvent(window,"load",function(a){tdm("tdm")});var remoteWin=null;function WinExec(c,b,e,d,a){remoteWin=window.open(c,"fenetre","width="+b+",height="+e+",resizable=yes");if(!remoteWin.opener){remoteWin.opener=self}remoteWin.opener.parent.name=a};
