//this script was written by Mark Tank// ©2008 All rights reserved.// do not use without permission.var sTimer;var theElD;var theElChild;var theChildD;var opacity = 10function scrollPan(){	theEl = $('advertisment');	theElD = theEl.getDimensions();	theElChild = $('choir');	theChildD = theElChild.getDimensions();	$('advertisment').scrollLeft = 0;	sTimer = setInterval('moveNow()',20);}function moveNow() {	end = eval(theChildD.width - theElD.width);	if($('advertisment').scrollLeft == end) {		clearInterval(sTimer);		sTimer = setInterval('changeOpacity()',100);	}	else {		$('advertisment').scrollLeft += 1;	}}function changeOpacity() {	opacity = opacity - 1;	theElChild.setOpacity(opacity/10)	if(opacity == 0) {		clearInterval(sTimer);	}}Event.observe(window, 'load',function(){	setTimeout('scrollPan()',1000);})			