function init() {  
		 new iCarousel("carousel_content", {  
			 idPrevious: "carousel_previous",  
			 idNext: "carousel_next",  
			 idToggle: "undefined",  
			 item: {  
				 klass: "carousel_item",  
				 size: 180  
			 },  
			 animation: {
				 type:"scroll",
				 duration: 500,  
				 amount: 1  
			 }
		 });  


		 var anchors = document.getElementsByTagName("a");
		 for (var i=0; i<anchors.length; i++) {
		   var anchor = anchors[i];
		   if (anchor.getAttribute("href") &&
			   anchor.getAttribute("rel") == "external")
			 anchor.target = "_blank";
		 } 




		document.getElementById("nws_1").style.display="block";

		buzz_nr = 3;
		curItem = 1;
		oldItem=1;
		slide_delay = 8000;
		swap_delay = 500;
		slide_speed = 10;
		timer=setTimeout("swap()",slide_delay);
	 }


function swap(){

    $("nws_"+curItem).fx = new Fx.Style($("nws_"+curItem), 'opacity', {duration: 1000}).start(0);

	curItem++;
	if (curItem>buzz_nr) {curItem=1}

	document.getElementById("nws_"+curItem).style.display="block";
	document.getElementById("nws_"+curItem).style.opacity="0";	
    $("nws_"+curItem).fx = new Fx.Style($("nws_"+curItem), 'opacity', {duration: 1000}).start(1);
	timer=setTimeout("swap()",slide_delay);        
	
}
function next() {
	clearTimeout(timer);
    $("nws_"+curItem).fx = new Fx.Style($("nws_"+curItem), 'opacity', {duration: 1000}).start(0);

	curItem++;
	if (curItem>buzz_nr) {curItem=1}

	document.getElementById("nws_"+curItem).style.display="block";
	document.getElementById("nws_"+curItem).style.opacity="0";	
    $("nws_"+curItem).fx = new Fx.Style($("nws_"+curItem), 'opacity', {duration: 1000}).start(1);
	timer=setTimeout("swap()",slide_delay);    
}
function prev() {
	clearTimeout(timer);
    $("nws_"+curItem).fx = new Fx.Style($("nws_"+curItem), 'opacity', {duration: 1000}).start(0);

	curItem--;
	if (curItem<1) {curItem=buzz_nr}

	document.getElementById("nws_"+curItem).style.display="block";
	document.getElementById("nws_"+curItem).style.opacity="0";	
    $("nws_"+curItem).fx = new Fx.Style($("nws_"+curItem), 'opacity', {duration: 1000}).start(1);
	timer=setTimeout("swap()",slide_delay);        
}