// JavaScript Documentvar scrollStep = 1;var scrollTimerID = null;var scrollInterval = 6;var maxBodyClipBottom = 0;var ie_clipTop = 0;var ie_clipBottom = 230;var ie_clipRight = 176;var ns_clipBottom = 80;var startPos = 320;ie_top = new Array(2);ie_bottom = new Array(2);layheight = new Array(2);function scrollDown(layname) {	if (layname)		layhelp = layname;	if (document.layers) {		if ( document.layers[layhelp].top > (startPos - layheight[layhelp] + ns_clipBottom) ) {			document.layers[layhelp].top -= scrollStep;			document.layers[layhelp].clip.top += scrollStep;			document.layers[layhelp].clip.bottom += scrollStep;						if (document.layers[layhelp].top > maxBodyClipBottom)				scrollTimerID= setTimeout("scrollDown('"+layhelp+"')", scrollInterval);		}	} else if (document.all) {		if ( document.all(layhelp).style.posTop > (startPos - layheight[layhelp] + ie_clipBottom) ) {						document.all(layhelp).style.posTop -= scrollStep;			ie_top[layhelp] += scrollStep;			ie_bottom[layhelp] += scrollStep;						document.all(layhelp).style.clip = 'rect(' + ie_top[layhelp]  + ' ' + ie_clipRight + ' ' + ie_bottom[layhelp] + ' 0)';			if (document.all(layhelp).style.posTop > (startPos - layheight[layhelp]))				scrollTimerID= setTimeout("scrollDown('"+layhelp+"')", scrollInterval);		}	} else 	if (document.getElementById(layhelp).style.top.split("px")[0] >	(startPos - layheight[layhelp] + ie_clipBottom)){			document.getElementById(layhelp).style.top = document.getElementById(layhelp).style.top.split("px")[0] - (scrollStep+2);		ie_top[layhelp] += (scrollStep+2);		ie_bottom[layhelp] += (scrollStep+2);				document.getElementById(layhelp).style.clip = 'rect(' + ie_top[layhelp]  + ' ' + ie_clipRight + ' ' + ie_bottom[layhelp] + ' 0)';				if (document.getElementById(layhelp).style.top.split("px")[0] > (startPos - layheight[layhelp]))			scrollTimerID= setTimeout("scrollDown('"+layhelp+"')", scrollInterval);	}}function scrollUp(layname) {	if (layname)		layhelp = layname;			if (document.layers) {		if ( document.layers[layhelp].top < startPos) {			document.layers[layhelp].top += scrollStep;			document.layers[layhelp].clip.top -= scrollStep;			document.layers[layhelp].clip.bottom -= scrollStep;			if (document.layers[layhelp].top < startPos)				scrollTimerID= setTimeout("scrollUp('"+layhelp+"')", scrollInterval);		}	} else if (document.all)  {		if ( document.all(layhelp).style.posTop < startPos ) {			document.all(layhelp).style.posTop += scrollStep;			ie_top[layhelp] -= scrollStep;			ie_bottom[layhelp] -= scrollStep;			document.all(layhelp).style.clip = 'rect(' + ie_top[layhelp]  + ' ' + ie_clipRight + ' ' + ie_bottom[layhelp] + ' 0)';			if ((document.all(layhelp).style.posTop ) < startPos)				scrollTimerID= setTimeout("scrollUp('"+layhelp+"')", scrollInterval);		}	} else if (document.getElementById(layhelp).offsetTop < startPos ) {				document.getElementById(layhelp).style.top = parseInt(document.getElementById(layhelp).style.top.split("px")[0]) + (scrollStep+2);		ie_top[layhelp] -= (scrollStep+2);		ie_bottom[layhelp] -= (scrollStep+2);		document.getElementById(layhelp).style.clip = 'rect(' + ie_top[layhelp]  + ' ' + ie_clipRight + ' ' + ie_bottom[layhelp] + ' 0)';		if (document.getElementById(layhelp).offsetTop < startPos)			scrollTimerID= setTimeout("scrollUp('"+layhelp+"')", scrollInterval);	}}function stopScrolling() {	clearTimeout(scrollTimerID);}function setClipping(layname, clipBottom, scroll) {	maxBodyClipBottom = clipBottom;	ie_top[layname] = ie_clipTop;	ie_bottom[layname] = ie_clipBottom;	if (document.layers) {		document.layers[layname].top = startPos;		layheight[layname] = document.layers[layname].document.height;		document.layers[layname].clip.left = 0;		document.layers[layname].clip.right = 190;		document.layers[layname].clip.bottom = ns_clipBottom;		document.layers[layname].visibility = "show";	} else if (document.all) {		layheight[layname] = document.all(layname).scrollHeight;		document.all(layname).style.posTop=startPos;		document.all(layname).style.clip = 'rect(' + ie_clipTop  + ' ' + ie_clipRight + ' ' + ie_clipBottom + ' 0)';		document.all(layname).style.visibility = "visible";	} else {		layheight[layname] = document.getElementById(layname).offsetHeight;		document.getElementById(layname).style.top=startPos;		document.getElementById(layname).style.clip = 'rect(' + ie_clipTop  + ' ' + ie_clipRight + ' ' + ie_clipBottom + ' 0)';		document.getElementById(layname).style.visibility = "visible";	}	}