///////////////////////////////////////////////////////////////////
/*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/ */
///////////////////////////////////////////////////////////////////

// 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=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 positionit(){
	var dsocleft=ie? document.body.scrollLeft : pageXOffset
	var dsoctop=ie? document.body.scrollTop : pageYOffset
	
	if (ie||document.getElementById){
		watermark_obj.style.left=parseInt(dsocleft)+Hoffset
		watermark_obj.style.top=parseInt(dsoctop)+Voffset
	}
	else if (document.layers){
		watermark_obj.left=dsocleft+Hoffset
		watermark_obj.top=dsoctop+Voffset
	}
}

function beingwatermark(){
	watermarkinterval=setInterval("positionit()",50)
}

if(watermark_obj)
	if(ie)
		window.onscroll=positionit
	else if(document.getElementById||document.layers)
		window.onload=beingwatermark
