function Watermark(strVarName, RotatedItem)
{
	// Locals
	this.VarName = strVarName;
	this.RotatedItem = RotatedItem;
	this.Interval = 100;

	// Events
	this.Rotate = Watermark_Rotate;

	// Start rotation
	this.Rotate();
}

function Watermark_Rotate()
{
	if (document.documentElement.clientWidth && document.documentElement.clientHeight)
	{
		this.RotatedItem.style.top  = (document.documentElement.clientHeight * 0.80 + document.documentElement.scrollTop - this.RotatedItem.clientHeight) + 'px';
		this.RotatedItem.style.left = (document.documentElement.clientWidth + document.documentElement.scrollLeft - this.RotatedItem.clientWidth - 30) + 'px';
	}
	else if (document.body.clientWidth && document.body.clientHeight)
	{
		this.RotatedItem.style.top = (document.body.clientHeight * 0.80 + document.body.scrollTop - this.RotatedItem.clientHeight);
		this.RotatedItem.style.left =(document.body.clientWidth + document.body.scrollLeft - this.RotatedItem.clientWidth - 30);
	}
	
	setTimeout(this.VarName + '.Rotate();', this.Interval);
}
