﻿var news_startpage = {
		
		init: function(){
			this.container = $$('div [rel=news]');								
		},
		
		change: function(operator){				
			for(i = 0; i < this.container.length; i++)
			{
				if(i == operator)
				{
					this.container[i].show();
				}
				else
				{
					this.container[i].hide();
				}
			}
		}
}

news_extra  = {
		
		init: function(){
			this.container = $$('div [rel=newsextra]');								
		},
		
		change: function(operator){				
			for(i = 0; i < this.container.length; i++)
			{
				if(i == operator)
				{
					this.container[i].show();
				}
				else
				{
					this.container[i].hide();
				}
			}
		}
}