// JavaScript Document


<!--
function holaie(){

//xajax_generaJavascript(extension,nsala,user);
xajax_conecta_iax(extension,sala);
xajax_ingresa(user,nsala,extension,picture1,picture2);
xajax_actualizaTodo(nsala,document.getElementById("idchat").value,user,document.getElementById("usersString").value);

}

function holaff(){

//xajax_generaJavascript(extension,nsala,user);
xajax_conecta_iaxff(extension,sala);
xajax_ingresa(user,nsala,extension,picture1,picture2);
xajax_actualizaTodo(nsala,document.getElementById("idchat").value,user,document.getElementById("usersString").value);

}

function compruebaNavegador(){
var navegador = navigator.appName
if (navegador != "Microsoft Internet Explorer")
window.location="nav.php";
}

function chaus(carpeta){
//window.opener.location="http://cl01.meeting.cl/" + carpeta;
//window.opener.location="http://www.meeting.cl/survey/public/survey.php?name=ChilePD_AudioChat_Labs";
xajax_salir(user,nsala);
//IaxClientOcx1.Shutdown();
//setTimeout("alert('Chao')",1250);
}

function actualizaTodo(){
//alert("actualiza Todo");
xajax_actualizaTodo(nsala,document.getElementById("idchat").value,user, nombre, document.getElementById("usersString").value,picture1, document.getElementById("tvChannel").value);
}

function actualizaPrivate(){
//alert("actualiza Todo");
xajax_actualizaPrivate(private_id,idchatPrivate,passive);
}


function submitchatPrivate(){
if(document.getElementById("mensaje").value!=""){
xajax_insertaMensajeChatPrivate(private_id,user,document.getElementById("mensaje").value);
}
document.getElementById("mensaje").focus();
document.getElementById("mensaje").value="";
}

function actualizaTodoAdm(){
//alert("actualiza Todo");
xajax_actualizaTodoAdm(nsala,document.getElementById("idchat").value,user, document.getElementById("idcall").value,extension, document.getElementById("usersString").value);
}

function submitchat(){
if(document.getElementById("mensaje").value!=""){

xajax_insertaMensajeChat(nsala,user,document.getElementById("mensaje").value);
}

document.getElementById("mensaje").focus();
document.getElementById("mensaje").value="";
}




-->



 
 
//-->
 

