//edit the below 3 steps
// 1) width and height of your logo image, respectively
var logowidth=120
var logoheight=90
var logoimage=new Image(logowidth,logoheight)
// 2) change the image path to reflect the path of your logo image
logoimage.src="/images/adresse.gif"
// 3) change the alttext variable to reflect the text used for the "alt" attribute of the image tag
var alttext="Adresse"
// Optional parameters
var Hoffset=0 //Enter logo's offset from left edge of window (edit only if you don't like the default offset)
var Voffset=10 //Enter logo's offset from bottom 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='
'
else if (document.layers){
watermark_obj.document.write('
')
watermark_obj.document.close()
}
}
function positionit(){
var dsocleft=ie? document.body.scrollLeft : pageXOffset
var dsoctop=ie? document.body.scrollTop : pageYOffset
var window_height=ie? document.body.clientHeight : window.innerHeight
if (ie||document.getElementById){
watermark_obj.style.left=parseInt(dsocleft)+5+Hoffset
watermark_obj.style.top=parseInt(dsoctop)+parseInt(window_height)-logoheight-Voffset
}
else if (document.layers){
watermark_obj.left=dsocleft+5+Hoffset
watermark_obj.top=dsoctop+window_height-logoheight-Voffset
}
}
function beingwatermark(){
watermarkinterval=setInterval("positionit()",50)
insertimage()
}
if (ie||document.getElementById||document.layers)
window.onload=beingwatermark