adOver_id_banniere = 19698;
adPartners_id_banniere = 20169;
adPave_id_banniere = 21871;
adPopup_id_banniere = 19142;
adTop_id_banniere = 20720;
client_height = "";
MyTop="";
madiv="";
function kill_adPopup(){
try {clearTimeout(chronopub);} catch (ex){};
try {clearTimeout(timerMoveAd);} catch (ex){};
try {document.getElementById('pub_adPopup').style.visibility='hidden';} catch (ex){};
try {document.getElementById('adPopup').style.visibility='hidden';} catch (ex){};
try {document.getElementById('fondadPopup').style.visibility='hidden';} catch (ex){};
try {document.getElementById('adPopup').style.top='-1000px';} catch (ex){};
}
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function ad_DoFSCommand(command, args) {
var adObj = InternetExplorer ? ad : document.ad;
if (command == 'kill_adPopup') kill_adPopup();
}
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('
');
} else {
lienadPopup.setAttribute("style", 'background-color: black; position: relative; float: right; height:14px; width:60px; font-family: Verdana; color: Black; font-weight: bold; text-decoration: underline;');
lienadPopup.innerHTML='
';
}
titreadPopup.appendChild(lienadPopup);
function ShowAdPopup(){
try {
var PosTopDivAdPopup = document.documentElement.clientHeight - (250 + 150) ;
$("#adPopup").css("position","absolute");
$("#adPopup").css("top",PosTopDivAdPopup);
$("#adPopup").css("left",-300);
$("#adPopup").css("z-index","501");
if (navigator.userAgent.indexOf("MSIE") > 0) {
$("#adPopup").css("width","312px");
} else {
$("#adPopup").css("width","312px");
}
$("#adPopup").css("height","252px");
} catch (ex){};
}
function ShowAd(){
try {
madiv=document.getElementById('adPopup');
if (client_height == "") {
//client_height = document.body.clientHeight;
client_height = document.documentElement.clientHeight;
}
} catch (ex){};
//alert("position_top : "+position_top+"\n"+"position_left : "+position_left);
if (document.all) {
try {
document.getElementById('adPopup').style.setAttribute("cssText", 'position:absolute; top:'+position_top+'px; left:'+position_left+'px; z-index:501; width:300px; height:250px;');//border : thin solid Black;
} catch (ex){};
} else {
try {
document.getElementById('adPopup').setAttribute('style', 'position:absolute; top:'+position_top+'px; left:'+position_left+'px; z-index:501; width:300px; height:250px;');//border : thin solid Black;
} catch (ex){};
}
}
function MoveAd() {
madiv=document.getElementById('adPopup');
if (MyTop == "") {
MyTop=madiv.style.top.substring(0,madiv.style.top.length-2);
}
if (client_height == "") {
//client_height = document.body.clientHeight;
client_height = document.documentElement.clientHeight;
}
MyTop = MyTop - 5;
madiv.style.top=Number(MyTop)+'px';
timerMoveAd=setTimeout('MoveAd()',10);
if (MyTop <= (client_height - 250 - 14 - 10)) {
clearTimeout(timerMoveAd);
}
}
function kill_adOver(){
clearTimeout(chronopub_adOver);
try {document.getElementById('pub_adOver').style.visibility='hidden';} catch (ex){};
try {document.getElementById('adOver').style.visibility='hidden';} catch (ex){};
try {document.getElementById('fondadOver').style.visibility='hidden';} catch (ex){};
try {document.getElementById('infoSwf').style.visibility='visible';} catch (ex){};
try {document.getElementById('logoSwf').style.visibility='visible';} catch (ex){};
try {document.getElementById('boxSwf').style.visibility='visible';} catch (ex){};
try {document.getElementById('FLVswf').style.visibility='visible';} catch (ex){};
try {document.getElementById('men_favoris').style.visibility='visible';} catch (ex){};
try {document.getElementById('adTop').style.visibility='visible';} catch (ex){};
try {document.getElementById('adPave').style.visibility='visible';} catch (ex){};
try {document.getElementById('adSky').style.visibility='visible';} catch (ex){};
try {document.getElementById('adSky2').style.visibility='visible';} catch (ex){};
try {document.getElementById('adSumo').style.visibility='visible';} catch (ex){};
try {document.getElementById('adPartners').style.visibility='visible';} catch (ex){};
}
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function ad_DoFSCommand(command, args) {
var adObj = InternetExplorer ? ad : document.ad;
if (command == 'kill_adOver') kill_adOver();
}
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
document.write('
';
titreAdOver.appendChild(logoAdOver);
var lienAdOver = document.createElement('div');
lienAdOver.setAttribute('name', 'lienAdOver');
lienAdOver.setAttribute('id', 'lienAdOver');
lienAdOver.onClick="kill_adOver()";
lienAdOver.onMouseOver="style.cursor='hand';";
lienAdOver.onMouseOut="style.cursor='default';";
if (document.all) {
lienAdOver.style.setAttribute("cssText", 'background-color: #00598c; position: relative; float: right; height:50px; font-family: Verdana; color: White; font-weight: bold; text-decoration: underline;z-index:504; margin:4px;');
} else {
lienAdOver.setAttribute("style", 'background-color: #00598c; position: relative; float: right; height:50px; font-family: Verdana; color: White; font-weight: bold; text-decoration: underline;z-index:504; margin:4px;');
}
lienAdOver.innerHTML='Pour accéder directement au site, c\'est par là ! ';
titreAdOver.appendChild(lienAdOver);
function hideelements(){
try {document.getElementById('infoSwf').style.visibility='hidden';} catch (ex){};
try {document.getElementById('logoSwf').style.visibility='hidden';} catch (ex){};
try {document.getElementById('boxSwf').style.visibility='hidden';} catch (ex){};
try {document.getElementById('FLVswf').style.visibility='hidden';} catch (ex){};
try {document.getElementById('men_favoris').style.visibility='hidden';} catch (ex){};
try {document.getElementById('adTop').style.visibility='hidden';} catch (ex){};
try {document.getElementById('adPave').style.visibility='hidden';} catch (ex){};
try {document.getElementById('adSky').style.visibility='hidden';} catch (ex){};
try {document.getElementById('adSky2').style.visibility='hidden';} catch (ex){};
try {document.getElementById('adSumo').style.visibility='hidden';} catch (ex){};
try {document.getElementById('adPartners').style.visibility='hidden';} catch (ex){};
try {
if (document.all) {
document.getElementById('adOver').style.setAttribute("cssText", 'position: absolute; top: 0px; left: 0px; width: 100%; height: 1400px; z-index: 501;');
document.getElementById('fondadOver').style.setAttribute("cssText", 'position: absolute; top: 0px; left: 0px; width: 100%; height: 1400px; background-color: #00598c; z-index: 500;');
} else {
document.getElementById('adOver').setAttribute('style', 'position: absolute; top: 0px; left: 0px; width: 100%; height: 1400px; z-index: 501;');
document.getElementById('fondadOver').setAttribute('style', 'position: absolute; top: 0px; left: 0px; width: 100%; height: 1400px; background-color: #00598c; z-index: 500;');
}
} catch (ex){};
}
function adserver(slot){
switch (slot) {
case 'adOver' :
var ladiv = document.getElementById('adOver');
if (ladiv != null) {
try {
position_top = 0;
} catch (aaae){
position_top = 0;
}
try {
position_left = 0;
} catch (bbbe){
position_left = 100;
}
// je met la couleur de fond
if (document.all) {
document.getElementById('adOver').style.setAttribute("cssText", 'background-color: transparent;');
} else {
document.getElementById('adOver').setAttribute("style", 'background-color: #transparent;');
}
hideelements();
document.getElementById('adOver').appendChild(titreAdOver);
chronopub_adOver=setTimeout("kill_adOver()", 15000);
document.write('