function flash3(id){
	function $(str){return document.getElementById(str);}
	var st,go,qt;
	var t=3000;
	var k=1;
	var r=this;
	var o=$(id).getElementsByTagName("div")[0];
	var h=o.offsetHeight;
	var l=o.getElementsByTagName("img").length;
	var pp="";

	this.img=function(){
		var a=document.createElement("p");
		for(var i=1;i<=l;i++){
			ii=i+1;
			var d=i==1?" id='so'":"";
			a.innerHTML+="<a"+d+" href='javascript:' onmouseover='f.change("+i+")'>"+i+"</a>";
		}
		a.style.MozOpacity=0.6;
		a.style.filter="alpha(opacity=60)"
		pp=$(id).appendChild(a);
		this.p();
	}

	function run(){
		var t=o.scrollTop;
		if(Math.abs(t-go)<3){
			o.scrollTop=go;
			clearInterval(st);//Í£Ö¹±¼ÅÜ
			k=k==l?1:k+1;
			r.p();
		}else{
			o.scrollTop+=(go-t)/2;
		}
	}
	this.change=function(i){
		this.s();
		k=i;
		go=(i-1)*h;
		$("so").id="";
		pp.getElementsByTagName("a")[i-1].id="so";
		if(st!="")clearInterval(st);
		st=setInterval(run,50);//Ã¿50ºÁÃëÒÆ¶¯Ò»´Î
	}

	this.p=function(){if(qt!="")this.s();qt=setInterval(function(){r.change(k)},t);}
	this.s=function(){clearInterval(qt);clearInterval(st)}

	//o.onmouseover=function(){r.s()}
	//o.onmouseout=function() {r.p()}

	this.img();

}

