// /\_/| // { ' ' } JellyCAT // \____\ //----------------------------DOMView-------------------------------------------- var JCATHOSTInfoXML = '\n' + '\n' + ' \n' + ' \n' + ' \n' + ' \n' + ' JCATHOST Information\n' + ' \n' + ' \n' + ' \n' + ' About\n' + ' \n' + ' \n' + ' Close\n' + ' \n' + ' \n' + ' \n' + ' \n' + ''; JCATHOSTInfoXML = JCATHOSTInfoXML .replace(/\$atvcsettings\.hello/g, atv.jcathost.HelloMessage) .replace(/\$atvcsettings\.system/g, atv.jcathost.System) .replace(/\$atvcsettings\.version/g, atv.jcathost.Version) .replace(/\$atvcsettings\.sighost/g, atv.jcathost.SigHost) .replace(/\$atvcsettings\.hostip/g, atv.jcathost.HostIP); function generateJCATHOSTInfoXML() { var doc = atv.parseXML( JCATHOSTInfoXML ); console.log( "Creating the view --> " ); DomViewManager.createView( "JcathostInfoView" ); console.log( "Loading the view --> " ); DomViewManager.loadView( "JcathostInfoView", doc ); console.log( "View is loaded" ); }