var scrollTimer, scrollObject, scrollDirection;

function scroll() {
	scrollObject.scrollBy(scrollDirection,0);
	scrollTimer = self.setTimeout("scroll();",10);
}

function startScroll(dir, obj) {
	scrollObject = obj;
	scrollDirection = dir;
	scrollTimer = self.setTimeout("scroll();",50);
}

function stopScroll() {
	clearTimeout(scrollTimer);
}

var popUpWin=null;
function popup(URLStr, left, top, width, height, text) {
	if(popUpWin) {
		if(!popUpWin.closed) popUpWin.close();
		popUpWin = null;
	}
	popUpWin = open("about", 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=yes,resizable=yes,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
	popUpWin.document.write("<html><head><title>"+text+"</title></head><body leftmargin=0 topmargin=0><table border=0 width=100% height=100% cellpadding=0 cellspacing=0><tr><td align=center valign=middle><img src=\""+URLStr+"\" width=\""+width+"\" height=\""+height+"\" border=\"0\" hspace=\"0\" vspace=\"0\"></td></tr></table></body></html>");
}



















