// JavaScript Document
function getContent(sURL) {
	var xmlhttp;
	if(window.XMLHttpRequest) {
		xmlhttp = new XMLHttpRequest();
		xmlhttp.open("GET", sURL, false);
		xmlhttp.send(null);
	} else if (window.ActiveXObject) {
		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		if(xmlhttp) {
			xmlhttp.open("POST", sURL, false);
			xmlhttp.send();
		}
	}
	return xmlhttp.responseText;
}
function mensajeria(nombre,contenido,tipo,idseccion,pathinfo,contenedor){

texto=getContent("http://www.soloibiza.com/formulariocomentario.asp?nombre="+nombre+"&contenido="+contenido+"&tipo="+tipo+"&idseccion="+idseccion+"&path="+pathinfo+"&p="+Math.random());

document.getElementById(contenedor).innerHTML=texto;

}