		  function scrorriedizioni(pagina) {
		  
		    var el = document.getElementById("edizioni");
				if (el) {
					el.style.display = '';
				}
				
				var url = 'http://edicola.unita.it/getpagine.php?pagina='+pagina;
		    
		    
		    liveReq = false;
		    
		    if (window.XMLHttpRequest) {
			liveReq = new XMLHttpRequest();
		    }
		    else if (window.ActiveXObject) {
		      liveReq = new ActiveXObject("Msxml2.XMLHTTP");
		    }
		    if (liveReq && liveReq.readyState < 4) {
			liveReq.abort();
		    }
		    
		    liveReq.onreadystatechange = function () {
		      //alert(" readystate= " + liveReq.readyState);
				if (liveReq.readyState == 4) {
			  
			    if (liveReq.status == 200) {
			      document.getElementById("edizioni").innerHTML = liveReq.responseText;
			    
					}
			    else {
			      
			      alert('errore'+liveReq.responseText);
			      
			    }
					
			    document.body.style.cursor = 'default';
			}
		    }
		    document.body.style.cursor = 'wait';
		    
		    liveReq.open("GET", url);
		    liveReq.send(null);
		    return false;
		  
		  }

