

function doPassVar(titulo, nickname, duracion, id_ponente, id_capsula, evaluacion, pathvideoa, pathvideob, idcapsulapv, usltmp, mensajes){        

        var sendtitulo = titulo;
        var sendnickname = nickname;
        var sendduracion = duracion;
        var sendidponente = id_ponente;
        var sendid_capsula = id_capsula;
        var sendevaluacion = evaluacion;
        var sendmensajes = mensajes

        var sendpathvideoa = pathvideoa;
        var sendpathvideob = pathvideob;
        var sendidcapsulav = idcapsulapv;
        var sendusr = usltmp;


      	window.document.myFlash.SetVariable("titulo", sendtitulo);
      	window.document.myFlash.SetVariable("nickname", sendnickname);
      	window.document.myFlash.SetVariable("duraciontotal", sendduracion);
      	window.document.myFlash.SetVariable("id_ponente", sendidponente);
      	window.document.myFlash.SetVariable("id_capsula", sendid_capsula);
      	window.document.myFlash.SetVariable("evaluacion", sendevaluacion);

      	window.document.myFlash.SetVariable("pathvideoalta", sendpathvideoa);
      	window.document.myFlash.SetVariable("pathvideobaja", sendpathvideob);
      	window.document.myFlash.SetVariable("id_capsulapv", sendidcapsulav);
      	window.document.myFlash.SetVariable("usltmp", sendusr);
        window.document.myFlash.SetVariable("mensajes", sendmensajes);


        window.document.estrellas.SetVariable("usltmp", sendusr);
        window.document.estrellas.SetVariable("id_capsula", sendid_capsula);
}



function openIT(W,H,X,Y,b,x,m,r,idc,usltmp) {
	var cU  ='images/close.gif'   //gif for close on normal state.
	var cO  ='images/close.gif'  //gif for close on mouseover.
	var cL  ='images/clock.gif'      //gif for loading indicator.
	var mU  ='images/minimize.gif'     //gif for minimize to taskbar on normal state.
	var mO  ='images/minimize.gif'    //gif for minimize to taskbar on mouseover.
	var xU  ='images/max.gif'     //gif for maximize normal state.
	var xO  ='images/max.gif'    //gif for maximize on mouseover.
	var rU  ='images/restore.gif'     //gif for minimize on normal state.
	var rO  ='images/restore.gif'    //gif for minimize on mouseover.
	var tH  ='<font face=verdana size=2>WebTube / Evaluación</font>'   //title for the title bar in html format.
	var tW  ='WebTube / Evaluación'   //title for the task bar of Windows.
	var wB  ='#D5D5FF'   //Border color.
	var wBs ='#D5D5FF'   //Border color on window drag.
	var wBG ='#D5D5FF'   //Background of the title bar.
	var wBGs='#D5D5FF'   //Background of the title bar on window drag.
	var wNS ='toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0'  //Html parameters for Netscape.
	var fSO ='scrolling=auto noresize'   //Html parameters for main content frame.
	var brd =b||0;   //Extra border size.
	var max =x||false;   //Maxzimize option (true|false).
	var min =m||false;   //Minimize to taskbar option (true|false).
	var res =r||false;   //Resizable window (true|false).
	var tsz =0;   //Height of title bar.
	var u = 'quiz/appquiz.asp?idc=' + idc + '&usltmp=' + usltmp;
	var n = 'mywin001';
	
	return chromeless(u,n,W,H,X,Y,cU,cO,cL,mU,mO,xU,xO,rU,rO,tH,tW,wB,wBs,wBG,wBGs,wNS,fSO,brd,max,min,res,tsz)
}
