window.addEvent('domready', function(){
try {document.execCommand("BackgroundImageCache", false, true);}catch(err) {}
			var accordion = new Accordion('dt.acc', 'dd.acc', {
				opacity: false,
				alwaysHide:	true,
				onActive: function(toggler, element){
					//toggler.setStyle('color', '#ff3300');
				},
				onBackground: function(toggler, element){
					//toggler.setStyle('color', '#222');
				}
			}, $('accordion'));


	
	ntz_news(0);
}); 

	
	function ntz_news(curentNews){
		var allNews = document.getElementById('newPost').getElementsByTagName('li');

		try {allNews[curentNews].style.display='none';}catch(e){}
		(curentNews < allNews.length-1) ? curentNews++ : curentNews=1;
		//alert(curentNews);
		try {allNews[curentNews].style.display='block';}catch(e){}
		window.setTimeout('ntz_news('+curentNews+')', 5000)
	}			
