var logoimage=new Image;
logoimage.src="100809.gif"

// Finally, below variable determines the duration the logo should be visible after loading, in seconds. If you'd like the 3 to appear for 20 seconds, for example, enter 20. Entering a value of 0 causes the logo to be perpectually visible. 
var visibleduration=0


///////////////////////////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 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
 var window_height=ie? document.body.clientHeight : window.innerHeight

 if (ie||document.getElementById)
 {
  watermark_obj.style.left=parseInt(dsocleft)+(parseInt(window_width)-logoimage.width)-100
  watermark_obj.style.top=parseInt(dsoctop)+(parseInt(window_height)-logoimage.height)/2
 }
 else 
 if (document.layers)
 {
  watermark_obj.left=dsocleft+(window_width-logoimage.width)-100
  watermark_obj.top=dsoctop+(window_height-logoimage.height)/2
 }
}

function hidewatermark()
{
 if (document.layers)
 watermark_obj.visibility="hide"
 else
 watermark_obj.style.visibility="hidden"
 clearInterval(watermarkinterval)
}

function beingwatermark()
{
 watermarkinterval=setInterval("positionit()",1)
  //<img src="test.gif"/>  

 if (ie||document.getElementById)

  watermark_obj.innerHTML='<img src="'+logoimage.src+'">'

 else 
 if (document.layers)
 {
  
watermark_obj.document.write('<img src="'+logoimage.src+'">')

  watermark_obj.document.close()

 }


 if (visibleduration!=0)
  setTimeout("hidewatermark()",visibleduration*1000)
}

if (ie||document.getElementById||document.layers)
 window.onload=beingwatermark

