// JavaScript Document
function AutoScroll(obj){
        $(obj).find("ul:first").animate({
                marginTop:"-40px"
        },500,function(){
                $(this).css({marginTop:"0px"}).find("li:first").appendTo(this);
        });
}
$(document).ready(function(){
setInterval('AutoScroll("#scrollDiv")',5000);

$("li.normal").mouseover(function(){
  	$(this).addClass("checked");								
								  });
$("li.normal").mouseout(function(){
  	$(this).removeClass("checked");								
								  });
$(".logo").click(function(){				  
  location.href="index.asp";
						  })

}
);

function ArtChangeBg(name, id, num)
{
	for(var i=1; i<=6; i++)
	{
		if( document.getElementById(name+i) != null )
		{
			document.getElementById(name+i).className=name + '2';
		}
	}
	document.getElementById(name+num).className=name;
	document.getElementById(name).innerHTML = document.getElementById(name+"_"+num).innerHTML;
}

