document.observe("dom:loaded", function()
{
	var bannerOptions = {duration:0.5, wait:false};
	var homeBanner = new slideshow({
			box: $('homebanner'),
			items: $$('#homebanner .slide'),
			handles: $$('#homebanner-handles li'),
			handle_event: 'mouseover',
			fxOptions: bannerOptions,
			size: 761,
			autoPlay: true,
			interval: 5,
			startItem: 0,
			onWalk: function(currentItem,currentHandle){
			for(var i=0;i<this.handles.length;i++){
				this.handles[i].removeClassName('active');
			}
			currentHandle.addClassName('active');
		}
		});
});


