<!-- 
	function setOpacity(el, fOp){
	        if (typeof el.style!="undefined"){
	                if ( typeof el.style.MozOpacity!="undefined" )
	                        el.style.MozOpacity = fOp-0.001;
	                else if ( typeof el.style.opacity!="undefined" )
	                        el.style.opacity = fOp;
	                else if ( typeof el.style.KhtmlOpacity != "undefined" )
	                        el.style.KhtmlOpacity = fOp;
	                else if ( typeof el.style.filter!="undefined"  )
	                        el.style.filter = "Alpha(Opacity="+(fOp*100)+")";
	        }
	}

		var Pic = new Array()
		var ALternate = new Array()
		var linkhref = new Array()
		var linktarget = new Array()
		
		Pic[0] = '/images/notizie/86-41-18-167_20109422457.jpg';
ALternate[0] = 'BERLUSCONI: LEALTA\' A CHI RESTA NEL PDL';
linkhref[0] = 'http://www.promotoridellaliberta.it/';
linktarget[0] = '_blank';
Pic[1] = '/images/notizie/86-41-16-241_201084213923.jpg';
ALternate[1] = 'programma della festa di atreju 2010';
linkhref[1] = '/notizie/18687/programma-della-festa-di-atreju-2010';
linktarget[1] = '_self';
Pic[2] = '/images/notizie/85-18-112-138_201073018917.jpg';
ALternate[2] = 'IL GOVERNO DEL FARE SU IPAD E IPHONE';
linkhref[2] = '/Governo-Berlusconi-Il-governo-del-fare/';
linktarget[2] = '_self';


		
		var imageList = [];
		 var var_timeout;
		 var img_prec;
		 var img_succ;
		 var stato_timer;
		
		var preLoad = new Array()
		for (i = 0; i < Pic.length; i++){
		   imageList[i] = new Image();
		   imageList[i].src = Pic[i];
		   imageList[i].alt = ALternate[i];
		   imageList[i].title = linkhref[i];
		   imageList[i].name = linktarget[i];
		}

		if (imageList.length== 1) {
			imageList.index = 0;
		} else {
			imageList.index = 1;
		}
	
	 img_prec=imageList.length;
	 img_succ=imageList.index+1;
	 stato_timer=0;
	 
	 var img_succ;
	var op = 1, inc = -0.06;
	var indice;
	
	function mix(delay){
		op+=inc;
		
		if ( op < 0 || op > 1 ){
			op = Math.round(op);
			
			imageList.index = ++imageList.index==imageList.length?0:imageList.index;
			if (imageList.index==0)	{
				indice=imageList.length-1;
				img_prec=indice;
				img_succ=1;
			} else {
				indice=imageList.index-1;
				img_prec=indice;
				img_succ=imageList.index+1;
			}
			
			
			if (op == 0){
				op=1;
				
				document.getElementById("frontg").src = imageList[indice].src;
				document.getElementById("frontg").alt = imageList[indice].alt;
				document.getElementById("frontg").title = imageList[indice].alt;
				document.getElementById("link11").href = imageList[indice].title;
				document.getElementById("link11").target= imageList[indice].name;
				
				document.getElementById("fotocentrale").style.backgroundImage="url("+imageList[imageList.index].src+")";
			}
			delay = 5000;
			//inc=-inc;
		}else{
				delay = 100;
			 img_prec=imageList.index;
			 img_succ=imageList.index+1;
		}
		
		//clearTimeout (var_timeout);
		//var_timeout=setTimeout(mix,delay);
		avvia_timer(delay);
		
		//setTimeout(mix,delay);
		
		setOpacity(document.getElementById("frontg"),op);
		
	}
	
	window.onload=function(){
		document.getElementById("fotocentrale").style.backgroundImage="url("+imageList[imageList.index].src+")";
		document.getElementById("link11").target= imageList[imageList.index].name;
		if (imageList.length > 1) {
			document.getElementById("controlli").style.display='block';;
			stato_timer=1;
			var_timeout=setTimeout(mix,3000);
		}
	}
	
	function carica(prec){
		op = 1;
		if (prec==1) {
			cop=img_prec;
		} else {
			cop=img_succ;
		}
	
			imageList.index = cop==imageList.length?0:cop;
			if (imageList.index==0)	{
				indice=imageList.length-1;
				img_prec=indice;
			    img_succ=1;
			} else {
				indice=imageList.index-1;
				img_prec=indice;
				img_succ=imageList.index+1;
			}
				document.getElementById("frontg").src = imageList[indice].src;
				document.getElementById("frontg").alt = imageList[indice].alt;
				document.getElementById("frontg").title = imageList[indice].alt;
				document.getElementById("link11").href = imageList[indice].title;
				document.getElementById("link11").target= imageList[indice].name;
				document.getElementById("fotocentrale").style.backgroundImage="url("+imageList[imageList.index].src+")";

				
				//clearTimeout (var_timeout);
				//var_timeout=setTimeout(mix,3000);				 
				delay=3000;
				avvia_timer(delay);
				
				setOpacity(document.getElementById("frontg"),1);


}
		
	function avvia_timer(delay){
		if (stato_timer==1) {
			clearTimeout (var_timeout);
			var_timeout=setTimeout(mix,delay);				 
		}
	}
	
	function cambia_timer(){
		if (stato_timer==0) {
			stato_timer=1;
			document.getElementById("pausa").style.backgroundImage="url(/images/grafica-2009/pausa.gif)";
		} else {
			stato_timer=0;
			clearTimeout (var_timeout);
			document.getElementById("pausa").style.backgroundImage="url(/images/grafica-2009/pausa_attiva.gif)";
		}
		delay=0;
		avvia_timer(delay);
	}
	
-->


