var filename = "../kiela/kiela_frame.asp"
function LoadNew() {
	xmlhttp=getXMLHTTP()
	xmlhttp.open('GET',filename ,true);
	xmlhttp.onreadystatechange = function() {
		if ( xmlhttp.readyState == 4 ) {acceptResponse(xmlhttp);}
	}
	xmlhttp.send(null);
	setTimeout("LoadNew()",10000);
}
function acceptResponse(xmlhttp) {
	var html=xmlhttp.responseText
        if(document.getElementById("kiela")){
		document.getElementById("kiela").innerHTML = unescape(html);
	}
	var newmsg=unescape(html).indexOf("[newmsg]");
	if (newmsg!=-1){
		window.open('../kiela/new_msg.asp','Nouveau_message','resizable=non,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,width=300,height=120')
	}
}
onload :  LoadNew()