<!--
var ns4=document.layers?true:false;
var ie=document.all?true:false;
var ns6=document.getElementById&&!document.all?true:false;

//var x=ie?document.body.offsetWidth-150:self.innerWidth-150;
var int_step=1;
var delay_time=100;

var y=0;
var y_up=0;
var y_pos=0;
var y_on=0;

if(ie)
{
	y=0;
	pic_small.style.top=y;
}
else if (ns4){
	y=0;
	document.pic_small.pageY=y;
	document.pic_small.visibility="hidden";
}
else if (ns6){
	y=0;
	document.getElementById('pic_small').style.top=y;
}


function WaterMark()
{
	var x=ie?document.body.offsetWidth-150:self.innerWidth-150;
	if(y_on==0){
		y=y-int_step;
	}
	else{
		y=y+int_step;
	}
	if (ie){
		y_up=document.body.clientHeight;
		y_pos=pic_small.offsetHeight;
	}
	else if (ns4){
		y_up=window.innerHeight;
		y_pos=document.pic_small.clip.height;
	}
	else if (ns6){
		y_up=window.innerHeight
		y_pos=document.getElementById("pic_small").offsetHeight
	}

	if(y<0){y_on=1;y=0;}
	if(y>=(y_up-y_pos)){
		y_on=0;
		y=(y_up-y_pos);
	}
	if(ie){
		pic_small.style.left=x;
		pic_small.style.top=y+document.body.scrollTop;
	}
	else if (ns4){
		document.pic_small.pageX=x;
		document.pic_small.pageY=y+window.pageYOffset;
	}
	else if (ns6){
		document.getElementById("pic_small").style.left=x;
		document.getElementById("pic_small").style.top=y+window.pageYOffset
	}

}

function onloadWaterMark()
{
	if(ns4)
	document.pic_small.visibility="visible";
	loopfunc();
}

function loopfunc()
{
	WaterMark();
	abc = setTimeout('loopfunc()',delay_time);
}


function MO()
{
	abc = setTimeout('loopfunc()',delay_time);
}

function MV()
{
	clearTimeout(abc);
}
-->
