	function modAjax()
    {
    	var ajax;
    	try
      	{
        	ajax = new ActiveXObject("Microsoft.XMLHTTP");
	     	return ajax;
      	}
      	catch(e)
      	{
        	try
	     	{
	        	ajax = new ActiveXObject("Msxml2.XMLHTTP");
		    	return ajax;
	     	}
	     	catch(ex)
	     	{
	        	try
		    	{
		       		ajax = new XMLHttpRequest();
			   		return ajax;
		    	}
		    	catch(exc)
		    	{
		       		//alert("Este browser nï¿½o recursos para o uso do ajax");
			   		ajax = null;
			   		return ajax;
		    	}
	     	}
      	}
   	}

    function conteudoAlt(id)
   	{ 
   		var ajax = modAjax();
				
		var divtitulo = document.getElementById("tituloAlt");
		var divcont = document.getElementById("contAlt");


	  	ajax.open("GET", "http://www.sambabusiness.com.br/sambabiz/xml/alt.xml" , true);

		ajax.onreadystatechange = function()
	  	{
			if(ajax.readyState == 4)
		 	{
				if(ajax.status == 200)
            	{
	
		       		var arquivoXML = ajax.responseXML;
			   		var titulo = arquivoXML.getElementsByTagName("titulo").item(id);
					var txtTitulo = titulo.firstChild.data;
					var cont = arquivoXML.getElementsByTagName("subtitulo").item(id);
					var txtCont = cont.firstChild.data;
					
	
					divtitulo.innerHTML = txtTitulo;
					divcont.innerHTML = txtCont;
				}   
		 	}
	  	}
	  	ajax.send(null);
   	}
