prlctrl = "&ctr=1393265657"; refererurl=""; if (refererurl=="") { refererurl=document.URL; } if (refererurl!="") { tagstring = ""; pageid = ""; purldim = ""; function GCpurl_125544966039(t) { var dc=document.cookie,i,i2,co="-"; t+="="; i=dc.indexOf(t); if (i > -1) { i2=dc.indexOf(";",i); if (i2 < 0) i2=dc.length; co=unescape(dc.substring( (i+(t.length)),i2)); } return ""+co; } if (typeof(adpurl_dim) != "undefined") { purldim = '&dim=' + adpurl_dim; } purldim = '&dim=1000.100.4.1'; var mycookie = this.GCpurl_125544966039("__adpurl_125544966039"); //alert(mycookie); var track_visit_ipua = 0; var track_visitorunic = 0; var track_pvm_ipua = 1; if(mycookie=="") { track_visit_ipua=1; track_visitorunic=1; } else { var cook_array = mycookie.split("|"); if (cook_array[0]=="2014-02-24") { if ((1393265657 - cook_array[1])>1800) { track_visit_ipua = 1; } } else { track_visit_ipua = 1; track_visitorunic = 1; } } var mytrack = track_pvm_ipua + track_visit_ipua + track_visitorunic; var d=document.domain; if(d.substring(0,4)=='www.') d=d.substring(4,d.length); ut=' expires=Sun, 18 Jan 2038 00:00:00 GMT;'; document.cookie='__adpurl_125544966039=2014-02-24|1393265657; path=/;'+ut+' domain='+d+';'; skipclic_1255449660391355 = ''; document.write(''); purlfirst=0; function SqueereHTTP1255449660391355(url, instance) { this.loaded = false; this.url=url; this.script; this.firstparam=true; this.serverResponse; this.instance=instance; that=this; this.AddParam = function(p, v) { if (that.firstparam) { that.url+='?'+p+'='+v; that.firstparam=false; } else { that.url+='&'+p+'='+v; } } this.Request1255449660391355 = function(force) { document.write(""); } this.onComplete125544966039100010041 = function(css, serverResponse) { } this.onLoad = function() { if (that.loaded) { return; } that.loaded=true; }; return this; } function set_opacity(id, opacity) { el = document.getElementById(id); if (el) { el.style["filter"] = "alpha(opacity="+opacity+")"; el.style["-moz-opacity"] = opacity/100; el.style["-khtml-opacity"] = opacity/100; el.style["opacity"] = opacity/100; } return true; } var purlduration = 50; /* 1000 millisecond fade = 1 sec */ var steps = 5; /* number of opacity intervals */ function fadeIn_125544966039(id){ el = document.getElementById(id); if (el) { actual=el.style.opacity * 100; if (actual < 100) { set_opacity(id, actual + 5); setTimeout("fadeIn_125544966039('"+id+"')", 20); } } } function fadeOut_125544966039(id){ el = document.getElementById(id); if (el) { actual=el.style.opacity * 100; if (actual > 0) { set_opacity(id, actual - steps); setTimeout("fadeOut_125544966039('"+id+"')", purlduration); } } } function DisplayOnComplete125544966039100010041(css, serverResponse, skip) { if (css!='null') { document.write(""); } document.write('
'); document.write(serverResponse); document.write('
'); set_opacity('move125544966039100010041', 0); if (document.getElementById('adpurl_1255449660391355')) document.getElementById('adpurl_1255449660391355').style.display=''; fadeIn_125544966039('move125544966039100010041'); purlfirst=1; urlrefresh1255449660391355=urlbase1255449660391355 + '?skip=' + skip + '&' + urlquery01255449660391355; myReq_1255449660391355 = SqueereHTTP1255449660391355(urlrefresh1255449660391355, 'myReq_1255449660391355'); } function DisplayOneMoreManual125544966039100010041() { topelement=document.getElementById('125544966039100010041_1').innerHTML; purlindice=1; while (document.getElementById("125544966039100010041_" + (parseInt(purlindice)+1))) { temp = document.getElementById('125544966039100010041_' + (parseInt(purlindice)+1)).innerHTML; document.getElementById('125544966039100010041_' + purlindice).innerHTML=temp; purlindice++; } document.getElementById('125544966039100010041_' + purlindice).innerHTML=topelement; } function DisplayOneMoreOnStart125544966039100010041(n) { for (ii=0; ii=firstshow && (purlindice)<(firstshow + numbershow)) { temp.style.display=''; purlindice_on++; } else temp.style.display='none'; purlindice++; } if (purlindice_on < numbershow) { newpurlindice = 1; while (purlindice_on < numbershow) { temp = document.getElementById('125544966039100010041_' + (parseInt(newpurlindice))); temp.style.display=''; newpurlindice++; purlindice_on++; } } purlindice--; nextfirstshow = firstshow + step; if (nextfirstshow > purlindice) nextfirstshow = nextfirstshow - purlindice; if (purl_fixed_125544966039100010041 != '' && document.getElementById("125544966039100010041_" + (parseInt(purl_fixed_125544966039100010041)))) { temp2 = document.getElementById("125544966039100010041_" + (parseInt(purl_fixed_125544966039100010041))); if (temp2.style.display=='none' && document.getElementById("125544966039100010041_" + (parseInt(firstshow))).style.display == '') { document.getElementById("125544966039100010041_" + (parseInt(firstshow))).style.display = 'none'; temp2.style.display=''; } } fadeIn_125544966039('move125544966039100010041'); setTimeout('DisplayOneMoreDisplay125544966039100010041(' + nextfirstshow + ', '+ numbershow + ', '+ step + ')',7000); } function swap125544966039100010041() { var topelement = new Array; for (i=1; i<=1; i++) { topelement[i]=document.getElementById("125544966039100010041_" + (i)).innerHTML; } purlindice=1; while (document.getElementById("125544966039100010041_" + (parseInt(purlindice)+1))) { temp = document.getElementById("125544966039100010041_" + (purlindice+1)).innerHTML; document.getElementById("125544966039100010041_" + purlindice).innerHTML=temp; purlindice++; } for (i=1; i<=1; i++) { document.getElementById("125544966039100010041_" + (parseInt(purlindice - 1 + i))).innerHTML=topelement[i]; } setTimeout('scrolling125544966039100010041()',7000); } function scrolling125544966039100010041() { myObjfix = document.getElementById('conteneur125544966039100010041'); yfix = myObjfix.offsetLeft; myDiv1 = document.getElementById('125544966039100010041_1'); myDiv2 = document.getElementById('125544966039100010041_2'); //hmax=0; if(myDiv1.offsetHeight) {hmax=myDiv1.offsetWidth;} else if(myDiv1.style.pixelHeight){hmax=myDiv1.style.pixelWidth;} myObj = document.getElementById('move125544966039100010041'); ytemp = myObj.offsetLeft; //alert('hmax=' + hmax + ', ytemp=' + ytemp); if (hmax + ytemp <= 0) { myObj.style.left="0px"; swap125544966039100010041(); } else { myObj.style.left= parseInt(ytemp) - 40 + "px"; setTimeout('scrolling125544966039100010041()',30); } } if (typeof(adpurl_already) == 'undefined') { function addEvent(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, false); return true; } else if (obj.attachEvent){ var r = obj.attachEvent("on"+evType, fn); return r; } else { return false; } } adpurl_already = "y"; } if (typeof OAS_sitepage != "undefined" && OAS_sitepage.indexOf("guide_ete_2012")!=-1 && OAS_sitepage.indexOf("_article")!=-1 ) { tagstring = '&tag=' + OAS_sitepage; } else if (document.getElementsByName("adpurl-keywords").item(0)) { tagstring = '&tag=' + document.getElementsByName("adpurl-keywords").item(0).content; } else if (document.getElementById("adpurl-keywords")) { tagstring = '&tag=' + document.getElementById("adpurl-keywords").content; } else tagstring = '&tag='; if (document.getElementById("adpurl-pageid")) { pageid = '&pgid=' + document.getElementById("adpurl-pageid").content; } urlbase1255449660391355='http://midilibre.purl.fr/midilibre/php/displayad.php'; urlquery01255449660391355='cpurl=0'+'.125544966039'+ tagstring + pageid + purldim + '&ref=' + refererurl; urlquery11255449660391355='cpurl='+ mytrack +'.125544966039'+ tagstring + pageid + prlctrl + purldim + '&ref=' + refererurl; url1255449660391355=urlbase1255449660391355 + '?' + skipclic_1255449660391355 + urlquery11255449660391355; myReq_1255449660391355 = new SqueereHTTP1255449660391355(url1255449660391355, 'myReq_1255449660391355'); document.write(""); }