CINXE.COM

CADI-Analyses

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <link rel="alternate stylesheet" type="text/css" media="all" href="/iCMS/css/widgets/calendar/calendar-blue.css" title="winter" /> <link rel="alternate stylesheet" type="text/css" media="all" href="/iCMS/css/widgets/calendar/calendar-blue2.css" title="blue" /> <link rel="alternate stylesheet" type="text/css" media="all" href="/iCMS/css/widgets/calendar/calendar-brown.css" title="summer" /> <link rel="alternate stylesheet" type="text/css" media="all" href="/iCMS/css/widgets/calendar/calendar-green.css" title="green" /> <link rel="stylesheet" type="text/css" media="all" href="/iCMS/css/widgets/calendar/calendar-win2k-1.css" title="win2k-1" /> <link rel="alternate stylesheet" type="text/css" media="all" href="/iCMS/css/widgets/calendar/calendar-win2k-2.css" title="win2k-2" /> <link rel="alternate stylesheet" type="text/css" media="all" href="/iCMS/css/widgets/calendar/calendar-win2k-cold-1.css" title="win2k-cold-1" /> <link rel="alternate stylesheet" type="text/css" media="all" href="/iCMS/css/widgets/calendar/calendar-win2k-cold-2.css" title="win2k-cold-2" /> <link rel="alternate stylesheet" type="text/css" media="all" href="/iCMS/css/widgets/calendar/calendar-system.css" title="system" /> <!-- import the calendar script --> <script type="text/javascript" src="/iCMS/js/calendar/calendar.js"></script> <!-- import the language module --> <script type="text/javascript" src="/iCMS/js/calendar/lang/calendar-en.js"></script> <!-- the following script defines the Calendar.setup helper function, which makes adding a calendar a matter of 1 or 2 lines of code. --> <script type="text/javascript" src="/iCMS/js/calendar/calendar-setup.js"></script> <script> var today_Day = new Date(); var D_Day = new Date(2024,11,28); function calUpdate_Day(cal) { var cD = cal.date; var p = cal.params; var theId = p.displayArea.id; //alert('theId= ' + theId + '\n'); if (cal.dateClicked) { var fStr = 'document.getElementById(' + '\'' + theId + '\').innerHTML = \'' + cD.getDate() + '/' + (cD.getMonth()+1) + '/' + cD.getFullYear() + '\'; '; var f = new Function(fStr); //dump(fStr+ '\n'); f(); //with (D_Day) {setDate(cD.getDate());setMonth(cD.getMonth());setFullYear(cD.getFullYear());}; showD_Day(theId); e = document.getElementById(theId+"2"); e.style.display = "block"; e.style.visibility = "visible"; } } </script> <style> a.cdlnav {!important FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif; FONT-SIZE: 11px; } a.cdlnav:link, a.cdlnav:visited, a.cdlnav:active { text-decoration: none; } a.cdlnav:hover { text-decoration:underline; } a.cdlnavb {!important FONT-FAMILY: Verdana, Geneva, Arial, Helvetica, sans-serif; FONT-SIZE: 11px; FONT-WEIGHT: bold; } a.cdlnavb:link, a.cdlnavb:visited, a.cdlnavb:active { text-decoration: none; } a.cdlnavb:hover { text-decoration:underline; } </style> <script> var importedRow = 0; var importedType = ""; var importedDivId = ""; function dumpRqst(xmlObj) { var xmlStr = xmlObj.responseText; //alert("dumpCmnd= " + xmlStr); //alert("go xml lng = " + xmlStr.length + ", importedRow = " + importedRow); //e = document.getElementById("divChild"+importedRow); e = document.getElementById(importedDivId); if(e) { e.innerHTML = xmlStr; } } var changedId = 0; var changedCode = 0; function dumpLog(xmlObj) { var xmlStr = xmlObj.responseText; e = document.getElementById("divLog"+changedId); if(e) { e.innerHTML = xmlStr; } if(xmlStr.indexOf("ERROR") == -1) { rqstStr = '/iCMS/analysisadmin/getan?indiv='+importedRow+'&code='+changedCode+'&awg='+'&awgyear='; rqstStr += '&line=BPH-21-002'; //alert(rqstStr); importXML(rqstStr,'dumpRqst'); } } function refresh(awg,c) { top.cClick(); rqstStr = '/iCMS/analysisadmin/getan?indiv='+importedRow+'&code='+c+'&awg='+awg; rqstStr += '&line=BPH-21-002'; //alert(rqstStr); importXML(rqstStr,'dumpRqst'); } function replaceAll(txt, replace, with_this) { return txt.replace(new RegExp(replace, 'g'),with_this); } function updateAnField(fid,code,id,f) { changedId = id; changedCode = code; //alert("updateAnField id=" + id); field = ""; fieldvalue = ""; et = document.getElementById('fieldTypeId'+fid); if(et.value == 'text') { e = document.getElementById('fieldValueTextId'+fid); if(e) fieldvalue = e.value; } if(et.value == 'member_contact') { e = document.getElementById('memberNameId'); if(e) fieldvalue = e.value; e = document.getElementById('memberCmsidId'); if(e) cmsidvalue = e.value; prevcmsidvalue = "undefined"; e = document.getElementById('prevmemberCmsidId'); if(e) prevcmsidvalue = e.value; } if(et.value == 'date') { e = document.getElementById('fieldValueDateId'+fid); if(e) fieldvalue = e.value; } if(et.value == 'select') { e = document.getElementById('fieldValueSelectId'+fid); if(e) fieldvalue = e.options[e.selectedIndex].text; } e = document.getElementById('fieldId'+fid); if(e) field = e.value; if(field == "") return false; fieldvalue = replaceAll(fieldvalue,'"',"'"); fieldvalue = replaceAll(fieldvalue,"'","APOSTROPHE"); fieldvalue = replaceAll(fieldvalue,"#","DIESE"); fieldvalue = replaceAll(fieldvalue,"%","POURCENT"); fieldvalue = replaceAll(fieldvalue,"&","AMPERCENT"); //alert(et.value + "," + field + "," + fieldvalue); if(et.value == 'member_contact') { changeStr = '/iCMS/analysisadmin/changeanalysisanalystprocess?rview=cadilines&id='+id+'&code='+code+'&AnalystName='+fieldvalue+'&AnalystCmsid='+cmsidvalue+'&AnalystPrevCmsid='+prevcmsidvalue; } else changeStr = '/iCMS/analysisadmin/changeanalysisprocess?id='+id+'&code='+code+'&field='+field+'&fieldvalue='+fieldvalue; //alert(changeStr); e = document.getElementById("divLog"+fid); if(e) e.innerHTML = "<img style='background-color: transparent;' src='/iCMS/imgs/common/wait.gif' alt='loading ...'>&nbsp;updating Analysis"+code; importXML(changeStr,'dumpLog'); return false; } function uploadFile(fid,code,id,f) { changedId = id; changedCode = code; //alert("updateAnField id=" + id); field = ""; fieldvalue = ""; //f.action = '/iCMS/analysisadmin/uploadrivetprocess'; //alert(f.action); f.submit(); return false; } function showAn(code,row,id,idText,idArrow,showTxt,hideTxt,txt) { //xText = document.getElementById(idText); xText = document.getElementById(idArrow); //ToggleVisiblezz(id,idText,showTxt,hideTxt); ToggleVisiblezzz(id,idText,idArrow,showTxt,hideTxt,txt); //if(xText.innerHTML == 'hide') { if(xText.src.indexOf(hideTxt) > -1) { importedRow = row; importedType = "an"; importedDivId = id; //e = document.getElementById("divChild"+importedRow); e = document.getElementById(id); if(e) e.innerHTML = "<img style='background-color: transparent;' src='/iCMS/imgs/common/wait.gif' alt='loading ...'>"; rqstStr = '/iCMS/analysisadmin/getan?indiv='+importedRow+'&code='+code; rqstStr += '&line=BPH-21-002'; //alert(rqstStr); importXML(rqstStr,'dumpRqst'); } //if(xText.innerHTML == 'hide') { if(xText.src.indexOf(hideTxt) > -1) { var row_expire = new Date(); //row_expire.setTime(expire.getTime() + 365 * 24 * 60 * 60 * 1000); row_expire.setTime(row_expire.getTime() + 60 * 1000); setCookie('row', row, row_expire); setCookie('rowan', row, row_expire); } else { setCookie('row', -1, row_expire); setCookie('rowan', -1, row_expire); } } function showJournal(code,row,id,idText,idArrow,showTxt,hideTxt,txt) { xText = document.getElementById(idArrow); ToggleVisiblezzz(id,idText,idArrow,showTxt,hideTxt,txt); if(xText.src.indexOf(hideTxt) > -1) { importedRow = row; importedType = "journal"; importedDivId = id; //e = document.getElementById("divChild"+importedRow); e = document.getElementById(id); if(e) e.innerHTML = "<img style='background-color: transparent;' src='/iCMS/imgs/common/wait.gif' alt='loading ...'>"; rqstStr = '/iCMS/analysisadmin/getcomments?indiv='+importedRow+'&code='+code; rqstStr += '&line=BPH-21-002'; //alert(rqstStr); importXML(rqstStr,'dumpRqst'); } if(xText.src.indexOf(hideTxt) > -1) { var row_expire = new Date(); //row_expire.setTime(expire.getTime() + 365 * 24 * 60 * 60 * 1000); row_expire.setTime(row_expire.getTime() + 60 * 1000); setCookie('row', row, row_expire); setCookie('rowan', row, row_expire); } else { setCookie('row', -1, row_expire); setCookie('rowan', -1, row_expire); } } function showCDS(code,row,id,idText,idArrow,showTxt,hideTxt,txt) { xText = document.getElementById(idArrow); ToggleVisiblezzz(id,idText,idArrow,showTxt,hideTxt,txt); if(xText.src.indexOf(hideTxt) > -1) { importedRow = row; importedType = "journal"; importedDivId = id; //e = document.getElementById("divChild"+importedRow); e = document.getElementById(id); if(e) e.innerHTML = "<img style='background-color: transparent;' src='/iCMS/imgs/common/wait.gif' alt='loading ...'>"; rqstStr = '/iCMS/analysisadmin/getcdsentries?indiv='+importedRow+'&code='+code; rqstStr += '&line=BPH-21-002'; //alert(rqstStr); importXML(rqstStr,'dumpRqst'); } if(xText.src.indexOf(hideTxt) > -1) { var row_expire = new Date(); //row_expire.setTime(expire.getTime() + 365 * 24 * 60 * 60 * 1000); row_expire.setTime(row_expire.getTime() + 60 * 1000); setCookie('row', row, row_expire); setCookie('rowan', row, row_expire); } else { setCookie('row', -1, row_expire); setCookie('rowan', -1, row_expire); } } function showIrcReaders(n,id,idText) { ToggleVisible(id,idText,'show','hide'); } function showArcMembers(n,id,idText) { ToggleVisible(id,idText,'show','hide'); } function ztoggleCheckBox(e,theImg) { if (ie4 || ie5) { for (i=0, n = document.images.length; i < n; i++) { elem = document.images[i]; //alert(elem.name + "," + theImg + "," + theImg2 + "," + elem.src); if(elem.id == theImg) { img = elem; } } x=img.src; if (x.substring(x.length-8,x.length) == "cbox.gif") { img.src = 'http://cms.cern.ch/iCMS/imgs/common/cbox-check.gif'; } else { img.src = 'http://cms.cern.ch/iCMS/imgs/common/cbox.gif'; } } else { if (!e) var e = window.event // handle event e.cancelBubble = true; if (e.stopPropagation) e.stopPropagation(); img = document.getElementById(theImg); x=img.src; if (x.substring(x.length-8,x.length) == "cbox.gif") { img.src = 'http://cms.cern.ch/iCMS/imgs/common/cbox-check.gif'; } else { img.src = 'http://cms.cern.ch/iCMS/imgs/common/cbox.gif'; } if (e.stopPropagation) e.stopPropagation(); } } </script> <html> <head> <title>CADI-Analyses</title> <link href="/iCMS/css/mvn_copy.css" rel="stylesheet" type="text/css"> <link href="/iCMS/css/widgets/display/display_mvn.css" rel="stylesheet" type="text/css"> <script language="JavaScript1.2" src="/iCMS/js/page.js" type="text/javascript"></script> <script language="JavaScript1.2" src="/iCMS/js/mvn.js" type="text/javascript"></script> <script language="JavaScript1.2" src="/iCMS/js/an.js" type="text/javascript"></script> <script language="JavaScript1.2" src="/iCMS/js/xmlextras.js" type="text/javascript"></script> <script language="JavaScript1.2" src="/iCMS/js/importxml.js" type="text/javascript"></script> <script language="JavaScript1.2" src="/iCMS/js/utility.js" type="text/javascript"></script> <script language="JavaScript1.2" src="/iCMS/jsp/analysis/admin/analysis.js" type="text/javascript"></script> <script language="JavaScript1.2" src="/iCMS/jsp/analysis/admin/cadilines.js" type="text/javascript"></script> <style type="text/css"> a.member:link, a.member:visited, a.member:hover { text-decoration: none; padding: 0; } a.member:hover { color: red; text-decoration: none; } </style> </head> <body leftmargin="50" topmargin="50"> <font style="font-style: bold; color: #6A6A8F; font-size: 14px;"> Your are not logged in iCMS (no privileges).<br/> Please Login into iCMS first <script> alert("first Login (NICE) to iCMS"); //location.href="http://cms.cern.ch/iCMS/analysisadmin/login?url='http://cms.cern.ch/iCMS/analysisadmin/cadilines?line=BPH-21-002'"; document.location.href="https://icms.cern.ch/tools/idProvider/demand/http://cms.cern.ch/iCMS/analysisadmin/cadilines?line=BPH-21-002" </script>