>");
            
            Write("<script type='text/javascript'>");
            Write("chn = new Object();");
            Write("chn['id'] = '"#chn.ID()#"';");
            Write("chn['ctrlId'] = '"#sCtrlId#"';");
            Write("chn['name'] = '"#chn.Name()#"';");
            Write("chn['room'] = '"#rooms#"';");
            Write("chn['fltOpts'] = new Object();");
            Write("chn['fltOpts']['rooms'] = '"#roomIDs#"';");
            Write("chn['trid'] = '"#trId#"';");
            Write