document.observe("dom:loaded", function() {
	new PeriodicalExecuter(function(pe) {					
		if ($('banner_link2').style.display=='none') {
			ban1='banner_link1';
			ban2='banner_link2';
		} else {
			ban1='banner_link2';
			ban2='banner_link1';
		}
		 Effect.toggle(ban1, 'appear', { duration: 1.8 });					 
	    window.setTimeout("Effect.toggle(ban2, 'appear', { duration: 1.8 })",2000);
	}, 6);
});

// 3 Banner:
// function banner() {
//    new Effect.Fade('banner_link1', { queue: { position: 'end', scope: 'bannerscope' }, duration: 1.8, delay: 1 });
//    new Effect.Appear('banner_link2', { queue: { position: 'end', scope: 'bannerscope' }, duration: 1.8 });
//    new Effect.Fade('banner_link2', { queue: { position: 'end', scope: 'bannerscope' }, duration: 1.8, delay: 1 });
//    new Effect.Appear('banner_link3', { queue: { position: 'end', scope: 'bannerscope' }, duration: 1.8 });
//    new Effect.Fade('banner_link3', { queue: { position: 'end', scope: 'bannerscope' }, duration: 1.8, delay: 1 });
//    new Effect.Appear('banner_link1', { queue: { position: 'end', scope: 'bannerscope' }, duration: 1.8 });
// }
// document.observe("dom:loaded", function() {
//    banner();
//    new PeriodicalExecuter(banner, 13.8);
// });
