		
		url = '';
		d			= document;
		preloadText = "Loading...";
		
		function caricaPagina(pagina,idLayer) 
		{
			if (typeof XMLHttpRequest != "undefined") { 
				x = new XMLHttpRequest();
		    }
			else { 
				try { 
					x = new ActiveXObject("Msxml2.XMLHTTP");
				} 
				catch (e) { 
					try { 
						x = new ActiveXObject("Microsoft.XMLHTTP");
					} 
					catch (e){
						x = null;
					}
				}
				
																																												}
			if (x) 
			{
				d.getElementById(idLayer).innerHTML = preloadText;
		        x.onreadystatechange = function() 
				{
			 	   if (x.readyState == 4 && x.status == 200) 
				   {
					el=d.getElementById(idLayer);el.innerHTML = x.responseText;
				   }
				}
				//alert("GET" + url + pagina, true);
				x.open("GET", url + pagina, true);
		    	x.send(null);
													  	
			}
		}

		function metodoPagina(pagina) 
		{
			//alert(pagina);
			if (typeof XMLHttpRequest != "undefined") { 
				x = new XMLHttpRequest();
		    }
			else { 
				try { 
					x = new ActiveXObject("Msxml2.XMLHTTP");
				} 
				catch (e) { 
					try { 
						x = new ActiveXObject("Microsoft.XMLHTTP");
					} 
					catch (e){
						x = null;
					}
				}
				
																																												}
			if (x) 
			{
				//d.getElementById(idLayer).innerHTML = preloadText;
		        x.onreadystatechange = function() 
				{
			 	   if (x.readyState == 4 && x.status == 200) 
				   {
					//el=d.getElementById(idLayer);el.innerHTML = x.responseText;
			 		   //alert(x.responseText);
				   }
				}
				//alert("GET" + url + pagina, true);
				x.open("GET", url + pagina, true);
		    	x.send(null);
													  	
			}
		}
		
