var banners = [
'<a href="http://ad.zanox.com/ppc/?20541379C1680782313T"><img src="http://ad.zanox.com/ppv/?20541379C1680782313" align="bottom" border="0" hspace="1" alt="1MA2-Thaïlande - 300x250.gif"></a>',
'<a href="http://ad.zanox.com/ppc/?20541395C319462509T"><img src="http://ad.zanox.com/ppv/?20541395C319462509" align="bottom" border="0" hspace="1" alt="PMV - Dernières Minutes - 300 x 250"></a>',
'<a href="http://ad.zanox.com/ppc/?17214329C1605107962T"><img src="http://ad.zanox.com/ppv/?17214329C1605107962" align="bottom" border="0" hspace="1" alt="PMV-bannières ski gif 300x250"></a>',
'<a href="http://ad.zanox.com/ppc/?20541462C1420207700T"><img src="http://ad.zanox.com/ppv/?20541462C1420207700" align="bottom" width="300" height="250" border="0" hspace="1" alt="PMV-hotel_300_250_1.gif"></a>',
'<a href="http://ad.zanox.com/ppc/?20541469C212915961T"><img src="http://ad.zanox.com/ppv/?20541469C212915961" align="bottom" width="300" height="250" border="0" hspace="1" alt="PMV-sejour_300_250_1.gif"></a>',
'<a href="http://ad.zanox.com/ppc/?20541512C247963950T"><img src="http://ad.zanox.com/ppv/?20541512C247963950" align="bottom" width="300" height="250" border="0" hspace="1" alt="mai_anniv_LOCVAC_300X250_25ko.gif"></a>',
'<a href="http://ad.zanox.com/ppc/?20541515C896303385T"><img src="http://ad.zanox.com/ppv/?20541515C896303385" align="bottom" width="300" height="250" border="0" hspace="1" alt="sejour_300x250_25ko.gif"></a>',
'<a href="http://ad.zanox.com/ppc/?17214259C1131032775T"><img src="http://ad.zanox.com/ppv/?17214259C1131032775" align="bottom" border="0" hspace="1" alt="ski_300x250_25ko"></a>',
'<a href="http://ad.zanox.com/ppc/?20541556C1294946279T"><img src="http://ad.zanox.com/ppv/?20541556C1294946279" align="bottom" border="0" hspace="1" alt="loc1_300x250_Hourtin"></a>',
'<a href="http://ad.zanox.com/ppc/?20541562C1150953017T"><img src="http://ad.zanox.com/ppv/?20541562C1150953017" align="bottom" width="300" height="250" border="0" hspace="1" alt="generique_300x250"></a>'
];

var ad = Math.floor(Math.random()*1001) % (banners.length);
var banner = banners[ad];

///////////////////////////////////////////////////////////////////
/*Site Logo Script (Geocities Watermark)
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and TOS, visit http://www.dynamicdrive.com/ */
///////////////////////////////////////////////////////////////////

//edit the below 5 steps

// 1) substitute 116 and 42 with the width and height of your logo image, respectively
var logowidth=300
var logoheight=250
var logoimage=new Image(logowidth,logoheight)

// 2) change the image path to reflect the path of your logo image
//logoimage.src="http://www.skihorizon.com/partner/addvisemedia/image/250x250G.gif"
logoimage.src="http://www.tqlkg.com/image-2391428-10542380"


// 5) Finally, below variable determines the duration the logo should be visible after loading, in seconds. If you'd like the logo to appear for 20 seconds, for example, enter 20. Entering a value of 0 causes the logo to be perpectually visible. 
var visibleduration=200

// Optional parameters
var Hoffset=10 //Enter logo's offset from right edge of window (edit only if you don't like the default offset)
var Voffset=0 //Enter logo's offset from top edge of window (edit only if you don't like the default offset)


///////////////////////////Do not edit below this line/////////////////////////

var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1

var watermark_obj=ie? document.all.watermarklogo : document.getElementById? document.getElementById("watermarklogo") : document.watermarklogo

function insertimage(){
if (ie||document.getElementById)
watermark_obj.innerHTML=banner
else if (document.layers){
watermark_obj.document.write(banner)
watermark_obj.document.close()
}
}

function positionit(){
var dsocleft=ie? document.body.scrollLeft : pageXOffset
var dsoctop=ie? document.body.scrollTop : pageYOffset
var window_width=ie? document.body.clientWidth : window.innerWidth-20

if (ie||document.getElementById){
watermark_obj.style.left=parseInt(dsocleft)+parseInt(window_width)-logowidth-Hoffset
watermark_obj.style.top=parseInt(dsoctop)+5+Voffset
}
else if (document.layers){
watermark_obj.left=dsocleft+window_width-Hoffset-logowidth
watermark_obj.top=dsoctop+window_height+5+Voffset
}
}

function hidewatermark(){
if (document.layers)
watermark_obj.visibility="hide"
else
watermark_obj.style.visibility="hidden"
clearInterval(watermarkinterval)
}

function beingwatermark(){
watermarkinterval=setInterval("positionit()",50)
insertimage()
if (visibleduration!=0)
setTimeout("hidewatermark()",visibleduration*1000)
}

if (ie||document.getElementById||document.layers)
window.onload=beingwatermark

