
	var ajax = new sack();
	var ajaxTitulo = new sack();
	
	function showUpdate()
	{
		txt=unescape(ajax.response);
        document.getElementById('texto').innerHTML = txt;
	}
	
	function showUpdateTitulo()
	{
		txt=unescape(ajaxTitulo.response);
        document.getElementById('titulo').innerHTML = txt;
	}
	
	function refreshAjax(data)
	{				
		ajax.requestFile = "texto.php?idValue="+data+"";	// Specifying which file to get
		ajax.onCompletion = showUpdate;	// Specify function that will be executed after file has been found
		ajax.runAJAX();		// Execute AJAX function
		
		ajaxTitulo.requestFile = "titulo.php?idValue="+data+"";	// Specifying which file to get
		ajaxTitulo.onCompletion = showUpdateTitulo;	// Specify function that will be executed after file has been found
		ajaxTitulo.runAJAX();		// Execute AJAX function
	}
	
	
