50. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 11/9/2018 12:16:38 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

50.1 Files compared

# Location File Last Modified
1 RAMS-2.3.0.zip\RAMS-2.3.0\SitePages FacilityHome.html Fri Aug 24 15:54:46 2018 UTC
2 RAMS-2.3.0.zip\RAMS-2.3.0\SitePages FacilityHome.html Fri Nov 9 14:54:12 2018 UTC

50.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 1484
Changed 1 2
Inserted 0 0
Removed 0 0

50.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

50.4 Active regular expressions

No regular expressions were active.

50.5 Comparison detail

  1   <!--
  2   E1.1.0 RAM  Increment  1 Patch C ode
  3   January 20 15
  4   Department  of Vetera n's Affair s/Booz All en Hamilto n
  5   irb-applic ations-gen eral.html
  6   -->
  7   <!DOCTYPE  html>
  8   <html lang ="en" xmln s:mso="urn :schemas-m icrosoft-c om:office: office"
  9     xmlns:ms dt="uuid:C 2F41010-65 B3-11d1-A2 9F-00AA00C 14882">
  10   <head>
  11   <meta http -equiv="co ntent-type " content= "text/html ; charset= UTF-8">
  12   <meta char set="utf-8 ">
  13   <meta http -equiv="X- UA-Compati ble" conte nt="IE=edg e">
  14   <meta name ="descript ion" conte nt="">
  15   <meta name ="author"  content="V eterans Af fairs Rese arch Admin istrative  Management  System">
  16   <meta http -equiv="Pr agma" cont ent="no-ca che">
  17   <meta http -equiv="Ex pires" con tent="-1">
  18   <!-- Note  there is n o responsi ve meta ta g here -->
  19   <title>VA  RAMS</titl e>
  20   <!-- Must  go at top  or documen t.ready wi ll not wor k. The res t should b e at botto m -->
  21   <script sr c="../Site Assets/js/ jquery.js"  type="tex t/javascri pt"></scri pt>
  22   <link rel= "styleshee t" type="t ext/css" h ref="../Si teAssets/c ss/jquery. dataTables .css">
  23   <script ty pe="text/j avascript"  src="../S iteAssets/ js/Microso ftAjax.js" ></script>
  24   <script ty pe="text/j avascript"  charset=" utf8" src= "../SiteAs sets/js/jq uery.dataT ables.js"> </script>
  25   <script ty pe="text/j avascript"  charset=" utf8" src= "../SiteAs sets/js/ra ms-environ ment.js">< /script>
  26   <script ty pe="text/j avascript"  charset=" utf8" src= "../SiteAs sets/js/js hashtable- 3.0.js"></ script>
  27   <script ty pe="text/j avascript"  charset=" utf8"  src ="../SiteA ssets/js/j shashset-3 .0.js"></s cript>
  28   <script ty pe="text/j avascript"  charset=" utf8" src= "../SiteAs sets/js/fa cilityInfo .js"></scr ipt>
  29   <script ty pe="text/j avascript"  charset=" utf8" src= "../SiteAs sets/js/dy namicGener ation.js"> </script>
  30   <script da ta-pace-op tions='{ " elements":  { "select ors": [".p ull-right" ] }, "star tOnPageLoa d": true } ' src="../ SiteAssets /js/pace.j s"></scrip t>
  31   <!-- Boots trap core  CSS -->
  32   <link href ="../SiteA ssets/css/ bootstrap. min.css" r el="styles heet">
  33   <link href ="../SiteA ssets/css/ pace-theme -loading-b ar.css" re l="stylesh eet">
  34   <!-- Custo m styles f or this te mplate -->
  35   <link href ="../SiteA ssets/css/ styles.css " rel="sty lesheet">
  36   <link href ="../SiteA ssets/css/ datepicker .css" rel= "styleshee t">
  37   <!-- Just  for debugg ing purpos es. Don't  actually c opy these  2 lines! - ->
  38   <!--[if lt  IE 9]><sc ript src=" ../../asse ts/js/ie8- responsive -file-warn ing.js"></ script><![ endif]-->
  39   <script sr c="../Site Assets/js/ ie-emulati on-modes-w arning.js"  type="tex t/javascri pt"></scri pt>
  40   <!-- HTML5  shim and  Respond.js  IE8 suppo rt of HTML 5 elements  and media  queries - ->
  41   <!--[if lt  IE 9]>
  42         <scr ipt src=". ./SiteAsse ts/js/html 5shiv.min. js"></scri pt>
  43         <scr ipt src=". ./SiteAsse ts/js/resp ond.min.js "></script >
  44       <![end if]-->
  45   <!--[if gt e mso 9]>< xml>
  46   <mso:Custo mDocumentP roperties>
  47   <mso:ItemR etentionFo rmula msdt :dt="strin g"></mso:I temRetenti onFormula>
  48   <mso:_dlc_ policyId m sdt:dt="st ring"></ms o:_dlc_pol icyId>
  49   <mso:TaxKe ywordTaxHT Field msdt :dt="strin g"></mso:T axKeywordT axHTField>
  50   <mso:TaxKe yword msdt :dt="strin g"></mso:T axKeyword>
  51   <mso:Targe t_x0020_Au diences ms dt:dt="str ing"></mso :Target_x0 020_Audien ces>
  52   <mso:TaxCa tchAll msd t:dt="stri ng"></mso: TaxCatchAl l>
  53   </mso:Cust omDocument Properties >
  54   </xml><![e ndif]-->
  55   </head>
  56   <style typ e="text/cs s">
  57   .btn-group  button {
  58           ba ckground-c olor: #1E9 0FF; /* Gr een backgr ound */
  59           bo rder: 1px  solid ligh t blue; /*  Green bor der */
  60           co lor: white ; /* White  text */
  61           pa dding: 10p x 24px; /*  Some padd ing */
  62           cu rsor: poin ter; /* Po inter/hand  icon */
  63           wi dth: 50%;  /* Set a w idth if ne eded */
  64           di splay: blo ck; /* Mak e the butt ons appear  below eac h other */
  65   }
  66  
  67   .btn-group
  68  
  69  
  70    
  71  
  72  
  73   button
  74  
  75  
  76  
  77  
  78   :not
  79  
  80  
  81    
  82  
  83  
  84   (
  85   :last-chil d
  86  
  87  
  88    
  89  
  90  
  91   )
  92   {
  93   border-bot tom
  94  
  95  
  96  
  97  
  98   :
  99  
  100  
  101    
  102  
  103  
  104   none
  105  
  106  
  107  
  108  
  109   ; /* Preve nt double  borders */
  110   }
  111  
  112   /* Add a b ackground  color on h over */
  113   .btn-group  button:ho ver {
  114           ba ckground-c olor: #3e8 e41;
  115   }
  116   </style>
  117   <body>
  118     <a href= "#MainCont ent" class ="sr-only" >Skip to m ain conten t </a>
  119     <!-- Ski p to main  content -- >
  120     <!-- Fix ed navbar  -->
  121     <div cla ss="navbar  navbar-de fault navb ar-static- top" role= "navigatio n">
  122       <div c lass="cont ainer">
  123         <div  class="na vbar-heade r">
  124           <h 1 title="D epartment  of Veteran s Affairs  Seal.Veter ans Affair s Research  Administr ative Mana gement Sys tem">
  125              <a class=" navbar-bra nd" href=" #">Departm ent of Vet erans Affa irs Seal.V eterans Af fairs Rese arch
  126                Administ rative Man agement Sy stem</a>
  127           </ h1>
  128         </di v>
  129         <div  class="na vbar-colla pse collap se">
  130           <u l class="n av navbar- nav navbar -right mai n-nav">
  131              <li><a tit le="Home"  href="/sit es/IRBAppl ications/S itePages/H ome.aspx"> Home</a></ li>
  132              <li class= "active">< a title="R esearch St udy Applic ations"
  133                href="/s ites/IRBAp plications /SitePages /irb%20app lications. aspx">Rese arch Study  Applicati on</a></li >
  134              <li><a id= "investiga torActivit ies" title ="Investig ator Activ ities"
  135                href=".. /SiteAsset s/committe e_redirect .html?comm itteeActio n=investig atorActivi ties">Inve stigator
  136                  Activi ties</a></ li>
  137              <li><a tit le="Commit tee Activi ties"
  138                href=".. /SiteAsset s/committe e_redirect .html?comm itteeActio n=committe eActivitie s">Committ ee Activit ies</a></l i>
  139              <li><a id= "profile"  title="Per sonal Prof ile" href= "">Persona l Profile< /a></li>
  140           </ ul>
  141         </di v>
  142         <!-- /.nav-coll apse -->
  143       </div>
  144     </div>
  145     <!-- /.n avbar-stat ic-top -->
  146     <div cla ss="contai ner" id="M ainContent ">
  147       <div c lass="row" >
  148         <div  class="co l-xs-12">
  149           <h 1 id="faci lityHeader " class="t ext-center "></h1>
  150         </di v>
  151       </div>
  152       <div c lass="row" >
  153         <div  class="co l-xs-6">
  154           <h 2>Committe es</h2>
  155           <d iv class=" btn-group" >
  156              <button ty pe="button " style="h eight: 70p x; width:  360px" id= "rdcbutton " onclick= "RDCCheck( )">Researc h
  157                and Deve lopment Co mmittee</b utton>
  158              <button ty pe="button " style="h eight: 70p x; width:  360px" id= "irbbutton " onclick= "IRBCheck( )">Institu tional
  159                Review B oard</butt on>
  160              <button ty pe="button " style="h eight: 70p x; width:  360px" id= "srsbutton " onclick= "SRSCheck( )">Researc h
  161                Safety</ button>
  162              <button ty pe="button " style="h eight: 70p x; width:  360px" id= "iacucbutt on" onclic k="IACUCCh eck()">Ins titutional
  163                Animal C are and Us e Committe e</button>
  164               <button t ype="butto n" style=" height: 70 px; width:  360px" id ="sc1butto n" onclick ="SC1Check ()">Supple mental Com mittee 1</ button>
  165               <button t ype="butto n" style=" height: 70 px; width:  360px" id ="sc2butto n" onclick ="SC2Check ()">Supple mental Com mittee 2</ button>
  166                <button  type="butt on" style= "height: 7 0px; width : 360px" i d="sc3butt on" onclic k="SC3Chec k()">Suppl emental Co mmittee 3< /button>
  167               
  168           </ div>
  169           <h 2>Administ rative Off icer</h2>
  170           <d iv class=" btn-group" >
  171              <button ty pe="button " style="h eight: 35p x; width:  360px" id= "aocbutton " onclick= "AOCheck() ">Administ rative
  172                Officer  Home</butt on>
  173              <button ty pe="button " style="h eight: 35p x; width:  360px" onc lick="Appo inmentsChe ck()">Appo intments</ button>
  174              <button ty pe="button " style="h eight: 35p x; width:  360px" onc lick="Agre ementsChec k()">Data
  175                Sharing/ Repository  Agreement s</button>
  176              <button ty pe="button " style="h eight: 35p x; width:  360px" onc lick="Labo ratoriesCh eck()">Lab oratories< /button>
  177              <button ty pe="button " style="h eight: 35p x; width:  360px" onc lick="Prop ertyCheck( )">Propert y</button>
  178           </ div>
  179          
  180         </di v>
  181         <div  class="co l-xs-6">
  182          <h2 >Local Sit e Administ rator</h2>
  183           <d iv class=" btn-group" >
  184              <button ty pe="button " style="h eight: 35p x; width:  360px" id= "lsabutton " onclick= "LSACheck( )">Local
  185                Site Adm inistrator  Home</but ton>
  186              <button ty pe="button " style="h eight: 35p x; width:  360px" onc lick="LSAC heck()">Ar chive Impo rt</button >
  187              <button ty pe="button " style="h eight: 35p x; width:  360px" onc lick="Noti ficationCh eck()">Com mittee
  188                Notifica tion Confi guration</ button>
  189           </ div>
  190           <h 2>Animal F acility Ma nager</h2>
  191           <d iv class=" btn-group" >
  192              <button ty pe="button " style="h eight: 35p x; width:  360px" id= "afmbutton " onclick= "AFMCheck( )">Animal
  193                Facility  Manager H ome</butto n>
  194           </ div>
  195           <h 2>Research  Complianc e Officer< /h2>
  196           <d iv class=" btn-group" >
  197              <button ty pe="button " style="h eight: 35p x; width:  360px" id= "rcobutton " onclick= "RCOCheck( )">Researc h
  198                Complian ce Officer  Home</but ton>
  199           </ div>
  200           <h 2>Reports< /h2>
  201           <d iv class=" btn-group" >
  202              <button ty pe="button " style="h eight: 35p x; width:  360px" id= "reportsbu tton" oncl ick="goToR eports()"> Reports
  203                Home</bu tton>
  204           </ div>
  205         </di v>
  206       </div>
  207     </div>
  208     <script  type="text /javascrip t">
  209            v ar siteUrl  = "/sites /IRBApplic ations/";
  210            v ar hostnam e = window .location. hostname;
  211            v ar facilit yName = ge tParamValu e('facilit yName');
  212            v ar facilit yTitle = g etParamVal ue('facili tyTitle');
  213            f acilityTit le = facil ityTitle.r eplace(/_/ g, ' ');
  214            f acilityTit le = facil ityTitle.r eplace(/%2 0/g, ' ');
  215            v ar committ eeName = g etParamVal ue('commit teeName');
  216            v ar groupPa rt = getPa ramValue(' groupPart' );
  217            g roupPart =  groupPart .replace(/ _/g, ' ');
  218            g roupPart =  groupPart .replace(/ %20/g, ' ' );
  219  
  220            v ar memberC heck = mem berCheck() ;
  221  
  222            / **
  223              * contains  a collect ion of Fac ilityInfo  objects. W hen create d it will  have the C entral IRB  pre-popul ated.
  224             
  225              * @type {F acilityInf oCollectio n}
  226              */
  227            v ar ficObj;
  228            / **
  229              * Facility Info Objec t contains  the Facil ity Inform ation for  the retrie ved facili ty.
  230             
  231              * @type {F acilityInf o}
  232              */
  233            v ar fiObj;
  234            i f (typeof  ficObj ===  "undefine d") {
  235                ficObj =  new Facil ityInfoCol lection();
  236            }
  237            v ar siteFou nd = false ;
  238            v ar subUrl  = "";
  239  
  240            v ar isIACUC Delegated  = false;
  241            v ar isIRBDe legated =  false;
  242            v ar isRDCDe legated =  false;
  243            v ar isSRSDe legated =  false;
  244            v ar isSC1De legated =  false;
  245            v ar isSC2De legated =  false;
  246            v ar isSC3De legated =  false;
  247            v ar isIACUC Hidden = f alse;
  248            v ar isIRBHi dden = fal se;
  249            v ar isRDCHi dden = fal se;
  250            v ar isSRSHi dden = fal se;
  251            v ar isSC1Hi dden = fal se;
  252            v ar isSC2Hi dden = fal se;
  253            v ar isSC3Hi dden = fal se;
  254  
  255            v ar pageTit le = "Welc ome to the  " + facil ityTitle +  " home pa ge";
  256            $ (document) .ready(fun ction() {
  257                $("#RAMS Copyright" ).append(R AMSCopyrig ht);
  258                $('#faci lityHeader ').append( pageTitle) ;
  259  
  260                ficObj.g et(facilit yTitle, fu nction(fiO bj) {
  261  
  262                   var d isplayName  = "";
  263                   var a cronym = " ";
  264                   var n ame = "";
  265                   var t ype = "";
  266  
  267                   var c i = fiObj. getCommitt eeGroup(IA CUC);
  268                   isIAC UCDelegate d = ci.isC ommitteeDe legated();
  269                   isIAC UCHidden =  ci.isComm itteeHidde n();
  270  
  271                   ci =  fiObj.getC ommitteeGr oup(IRB);
  272                   isIRB Delegated  = ci.isCom mitteeDele gated();
  273                   isIRB Hidden = c i.isCommit teeHidden( );
  274                   
  275                   ci =  fiObj.getC ommitteeGr oup(RDC);
  276                   isRDC Delegated  = ci.isCom mitteeDele gated();
  277                   isRDC Hidden = c i.isCommit teeHidden( );
  278                   
  279                   ci =  fiObj.getC ommitteeGr oup(SRS);
  280                   isSRS Delegated  = ci.isCom mitteeDele gated();
  281                   isSRS Hidden = c i.isCommit teeHidden( );
  282                   
  283                   ci =  fiObj.getC ommitteeGr oup(SC1);
  284                   isSC1 Delegated  = ci.isCom mitteeDele gated();
  285                   isSC1 Hidden = c i.isCommit teeHidden( );
  286                   acron ym = ci.ge tCommittee Acronym();
  287                   name  = ci.getCo mmitteeNam e();
  288                   type  = ci.getCo mmitteeTyp e();
  289                   if((n ame != acr onym) && ( acronym !=  type) &&  (name != t ype)) {
  290                      di splayName  = ci.getCo mmitteeAcr onym() + "  - " + ci. getCommitt eeName() +  " (" + ci .getCommit teeType()  + ")";
  291                      $( '#sc1butto n').text(d isplayName );
  292                   }
  293                   ci =  fiObj.getC ommitteeGr oup(SC2);
  294                   isSC2 Delegated  = ci.isCom mitteeDele gated();
  295                   isSC2 Hidden = c i.isCommit teeHidden( );
  296                   acron ym = ci.ge tCommittee Acronym();
  297                   name  = ci.getCo mmitteeNam e();
  298                   type  = ci.getCo mmitteeTyp e();
  299                   if((n ame != acr onym) && ( acronym !=  type) &&  (name != t ype)) {
  300                      di splayName  = ci.getCo mmitteeAcr onym() + "  - " + ci. getCommitt eeName() +  " (" + ci .getCommit teeType()  + ")";
  301                      $( '#sc2butto n').text(d isplayName );
  302                   }
  303  
  304                   ci =  fiObj.getC ommitteeGr oup(SC3);
  305                   isSC3 Delegated  = ci.isCom mitteeDele gated();
  306                   isSC3 Hidden = c i.isCommit teeHidden( );
  307                   acron ym = ci.ge tCommittee Acronym();
  308                   name  = ci.getCo mmitteeNam e();
  309                   type  = ci.getCo mmitteeTyp e();
  310                   if((n ame != acr onym) && ( acronym !=  type) &&  (name != t ype)) {
  311                      di splayName  = ci.getCo mmitteeAcr onym() + "  - " + ci. getCommitt eeName() +  " (" + ci .getCommit teeType()  + ")";
  312                      $( '#sc3butto n').text(d isplayName );
  313                   }
  314  
  315                   if (i sIACUCDele gated) {
  316                      se tButtonAsD elegated(I ACUC,fiObj );
  317                   }
  318                   if (i sIACUCHidd en) {
  319                      se tButtonAsH idden(IACU C);
  320                   }
  321                   if (i sIRBDelega ted) {
  322                      se tButtonAsD elegated(I RB,fiObj);
  323                   }
  324                   if (i sIRBHidden ) {
  325                      se tButtonAsH idden(IRB) ;
  326                   }
  327                   if (i sRDCDelega ted) {
  328                      se tButtonAsD elegated(R DC,fiObj);
  329                   }
  330                   if (i sRDCHidden ) {
  331                      se tButtonAsH idden(RDC) ;
  332                   }
  333                   if (i sSRSDelega ted) {
  334                      se tButtonAsD elegated(S RS,fiObj);
  335                   }
  336                   if (i sSRSHidden ) {
  337                      se tButtonAsH idden(SRS) ;
  338                   }
  339                   if (i sSC1Delega ted) {
  340                      se tButtonAsD elegated(S C1,fiObj);
  341                   }
  342                   if (i sSC1Hidden ) {
  343                      se tButtonAsH idden(SC1) ;
  344                   }
  345                   if (i sSC2Delega ted) {
  346                      se tButtonAsD elegated(S C2,fiObj);
  347                   }
  348                   if (i sSC2Hidden ) {
  349                      se tButtonAsH idden(SC2) ;
  350                   }
  351                   if (i sSC3Delega ted) {
  352                      se tButtonAsD elegated(S C3,fiObj);
  353                   }
  354                   if (i sSC3Hidden ) {
  355                      se tButtonAsH idden(SC3) ;
  356                   }
  357                });
  358  
  359            } );
  360  
  361            f unction se tButtonAsH idden(comm ittee) {
  362                var btnI d = "#" +  committee. toLowerCas e() + "but ton";
  363                $(btnId) .prop("dis abled", tr ue);
  364                $(btnId) .hide();
  365            }
  366            
  367            f unction se tButtonAsD elegated(c ommittee,f iObj) {
  368                var dcfi ;
  369                var dele gateId = f iObj.getCo mmitteeGro up(committ ee.toUpper Case()).ge tDelegateI d();
  370                var btnI d = "#" +  committee. toLowerCas e() + "but ton";
  371                var curB tnText = $ (btnId).te xt();
  372                var dele gatedToFac ilityName  = "";
  373                
  374                ficObj.g et(delegat eId, funct ion (dcfi)  {
  375                   deleg atedToFaci lityName =  dcfi.getF acilityNam e();
  376                   $(btn Id).text(c urBtnText  + " - Dele gated to "  + delegat edToFacili tyName);
  377                   $(btn Id).attr(" style","he ight: 70px ; width: 3 60px; back ground-col or: rgb(25 4, 254, 25 4); color:  rgb(30,14 4,255)");
  378                   $(btn Id).prop(" disabled",  true);
  379                });
  380            }
  381            
  382            f unction ge tParamValu e(param) {
  383                var urlP aramString  = locatio n.search.s plit(param  + "=");
  384                if (urlP aramString .length <=  1)
  385                   retur n "";
  386                else {
  387                   var t mp = urlPa ramString[ 1].split(" &");
  388                   retur n tmp[0];
  389                }
  390            }
  391            / /[ RDCMemb er, IRBMem ber, SRSMe mber, IACU CMember, A OMember, L SAMember,  RCOMember,  LiaisonsM ember  ];
  392  
  393            f unction RD CCheck() {
  394                if (isRD CDelegated  == false)  {
  395                   if (( memberChec k.RDCMembe r) || (mem berCheck.A OMember) | | (memberC heck.LSAMe mber)
  396                      ||  (memberCh eck.Liaiso nMember))  {
  397                      wi ndow.locat ion.href =  "Committe e.html?fac ilityName= " + facili tyName + " &facilityT itle="
  398                          + facilit yTitle + " &committee Name=" + " RDC" + "&g roupPart="  + groupPa rt;
  399                   } els e {
  400                      al ert('Acces s is denie d: You are  not a mem ber of any  of the si te groups  in RDC Com mittee, pl ease conta ct your Lo cal Site A dministrat or to gran t you the  access rig hts.');
  401                   }
  402  
  403                } else {
  404                   alert ('Access i s denied:  RDC is del egated to  another fa cility.');
  405  
  406                }
  407            }
  408  
  409            f unction IR BCheck() {
  410                if (isIR BDelegated  == false)  {
  411                   if (( memberChec k.RDCMembe r) || (mem berCheck.I RBMember)  || (member Check.AOMe mber)
  412                      ||  (memberCh eck.LSAMem ber) || (m emberCheck .LiaisonMe mber)) {
  413                      wi ndow.locat ion.href =  "Committe e.html?fac ilityName= " + facili tyName + " &facilityT itle="
  414                          + facilit yTitle + " &committee Name=" + " IRB" + "&g roupPart="  + groupPa rt;
  415                   } els e {
  416                      al ert('Acces s is denie d: You are  not a mem ber of any  of the si te groups  in IRB Com mittee, pl ease conta ct your Lo cal Site A dministrat or to gran t you the  access rig hts.');
  417                   }
  418  
  419                } else {
  420                   alert ('Access i s denied:  IRB is del egated to  another fa cility.');
  421  
  422                }
  423            }
  424  
  425            f unction SR SCheck() {
  426  
  427                if (isSR SDelegated  == false)  {
  428                   if (( memberChec k.SRSMembe r) || (mem berCheck.R DCMember)  || (member Check.AOMe mber)
  429                      ||  (memberCh eck.LSAMem ber) || (m emberCheck .LiaisonMe mber)) {
  430                      wi ndow.locat ion.href =  "Committe e.html?fac ilityName= " + facili tyName + " &facilityT itle="
  431                          + facilit yTitle + " &committee Name=" + " SRS" + "&g roupPart="  + groupPa rt;
  432                   } els e {
  433                      al ert('Acces s is denie d: You are  not a mem ber of any  of the si te groups  in SRS Com mittee, pl ease conta ct your Lo cal Site A dministrat or to gran t you the  access rig hts.');
  434                   }
  435                } else {
  436                   alert ('Access i s denied:  SRS is del egated to  another fa cility.');
  437  
  438                }
  439            }
  440  
  441            f unction SC 1Check() {
  442                if (isSC 1Delegated  == false)  {
  443                   if (( memberChec k.SC1Membe r) || (mem berCheck.R DCMember)  || (member Check.AOMe mber)
  444                      ||  (memberCh eck.LSAMem ber) || (m emberCheck .LiaisonMe mber) && i sSC1Delega ted == fal se) {
  445                      wi ndow.locat ion.href =  "Committe e.html?fac ilityName= " + facili tyName + " &facilityT itle="
  446                          + facilit yTitle + " &committee Name=" + " SC1" + "&g roupPart="  + groupPa rt;
  447                   } els e {
  448                      al ert('Acces s is denie d: You are  not a mem ber of any  of the si te groups  in SC1 Com mittee, pl ease conta ct your Lo cal Site A dministrat or to gran t you the  access rig hts.');
  449                   }
  450                } else {
  451                   alert ('Access i s denied:  SC1 is del egated to  another fa cility.');
  452                }
  453            }
  454            
  455            
  456            f unction SC 2Check() {
  457                if (isSC 2Delegated  == false)  {
  458                   if (( memberChec k.SC2Membe r) || (mem berCheck.R DCMember)  || (member Check.AOMe mber)
  459                      ||  (memberCh eck.LSAMem ber) || (m emberCheck .LiaisonMe mber) && i sSC2Delega ted == fal se) {
  460                      wi ndow.locat ion.href =  "Committe e.html?fac ilityName= " + facili tyName + " &facilityT itle="
  461                          + facilit yTitle + " &committee Name=" + " SC2" + "&g roupPart="  + groupPa rt;
  462                   } els e {
  463                      al ert('Acces s is denie d: You are  not a mem ber of any  of the si te groups  in SC2 Com mittee, pl ease conta ct your Lo cal Site A dministrat or to gran t you the  access rig hts.');
  464                   }
  465                } else {
  466                   alert ('Access i s denied:  SC2 Is A D elegated C ommittee.' );
  467                }
  468            }
  469            
  470            f unction SC 3Check() {
  471                if (isSC 3Delegated  == false)  {
  472                   if (( memberChec k.SC3Membe r) || (mem berCheck.R DCMember)  || (member Check.AOMe mber)
  473                      ||  (memberCh eck.LSAMem ber) || (m emberCheck .LiaisonMe mber) && i sSC3Delega ted == fal se) {
  474                      wi ndow.locat ion.href =  "Committe e.html?fac ilityName= " + facili tyName + " &facilityT itle="
  475                          + facilit yTitle + " &committee Name=" + " SC3" + "&g roupPart="  + groupPa rt;
  476                   } els e {
  477                      al ert('Acces s is denie d: You are  not a mem ber of any  of the si te groups  in SC3 Com mittee, pl ease conta ct your Lo cal Site A dministrat or to gran t you the  access rig hts.');
  478                   }
  479                } else {
  480                   alert ('Access i s denied:  SC3 is del egated to  another fa cility.');
  481                }
  482            }
  483            
  484            f unction IA CUCCheck()  {
  485                if (isIA CUCDelegat ed == fals e) {
  486                   if (( memberChec k.IACUCMem ber) || (m emberCheck .RDCMember ) || (memb erCheck.AO Member)
  487                      ||  (memberCh eck.LSAMem ber) || (m emberCheck .LiaisonMe mber) && i sIACUCDele gated == f alse) {
  488                      wi ndow.locat ion.href =  "Committe e.html?fac ilityName= " + facili tyName + " &facilityT itle="
  489                          + facilit yTitle + " &committee Name=" + " IACUC" + " &groupPart =" + group Part;
  490                   } els e {
  491                      al ert('Acces s is denie d: You are  not a mem ber of any  of the si te groups  in IACUC C ommittee,  please con tact your  Local Site  Administr ator to gr ant you th e access r ights.');
  492                   }
  493                } else {
  494                   alert ('Access i s denied:  IACUC is d elegated t o another  facility.' );
  495                }
  496            }
  497  
  498            f unction AO Check() {
  499                if ((mem berCheck.A OMember) | | (memberC heck.LSAMe mber)) {
  500                   windo w.location .href = "A OLandingPa ge.html?fa cilityName =" + facil ityName +  "&facility Title="
  501                      +  facilityTi tle + "&gr oupPart="  + groupPar t;
  502                } else {
  503                   alert ('Access i s denied:  You are no t a member  of the Ad ministrato r Officers  or Local  Site Admin istrators  groups.');
  504                }
  505            }
  506  
  507            f unction Ap poinmentsC heck() {
  508                if ((mem berCheck.A OMember) | | (memberC heck.LSAMe mber)) {
  509                   windo w.location .href = "/ sites/IRBA pplication s/" + faci lityName +  "/Lists/A ppointment s";
  510                } else {
  511                   alert ('Access i s denied:  You are no t a member  of the Ad ministrato r Officers  group.');
  512                }
  513            }
  514  
  515            f unction Ag reementsCh eck() {
  516                if ((mem berCheck.A OMember) | | (memberC heck.LSAMe mber)) {
  517                   windo w.location .href = "/ sites/IRBA pplication s/" + faci lityName
  518                      +  "/Lists/Da taSharingR epositoryA greements/ Agreements View.aspx" ;
  519                } else {
  520                   alert ('Access i s denied:  You are no t a member  of the Ad ministrato r Officers  group.');
  521                }
  522            }
  523  
  524            f unction La boratories Check() {
  525                if ((mem berCheck.A OMember) | | (memberC heck.LSAMe mber)) {
  526                   windo w.location .href = "/ sites/IRBA pplication s/" + faci lityName +  "/Lists/L abs/AllIte ms.aspx";
  527                } else {
  528                   alert ('Access i s denied:  You are no t a member  of the Ad ministrato r Officers  group.');
  529                }
  530            }
  531  
  532            f unction Pr opertyChec k() {
  533                if ((mem berCheck.A OMember) | | (memberC heck.LSAMe mber)) {
  534                   windo w.location .href = "/ sites/IRBA pplication s/" + faci lityName +  "/Lists/P roperty";
  535                } else {
  536                   alert ('Access i s denied:  You are no t a member  of the Ad ministrato r Officers  group.');
  537                }
  538            }
  539  
  540            f unction LS ACheck() {
  541                if ((mem berCheck.A OMember) | | memberCh eck.LSAMem ber) {
  542                   windo w.location .href = "L SACP.html? facilityNa me=" + fac ilityName  + "&facili tyTitle="  + facility Title
  543                      +  "&groupPar t=" + grou pPart;
  544  
  545                } else {
  546                   alert ('Access i s denied:  You are no t a member  of the Lo cal Site A dministrat or group.' );
  547                }
  548            }
  549  
  550            f unction No tification Check() {
  551                if ((mem berCheck.A OMember) | | memberCh eck.LSAMem ber) {
  552                   getWo rkflowNoti ficationRu les();
  553                } else {
  554                   alert ('Access i s denied:  You are no t a member  of the Lo cal Site A dministrat or group.' );
  555                }
  556            }
  557  
  558            f unction RC OCheck() {
  559                if ((mem berCheck.L SAMember)  || (member Check.RCOM ember)) {
  560                   windo w.location .href = "R COLandingP age.html?f acilityNam e=" + faci lityName +  "&committ eeName="
  561                      +  committeeN ame + "&fa cilityTitl e=" + faci lityTitle;
  562                } else {
  563                   alert ('Access i s denied:  You are no t a member  of the Re search Com pliance Of ficers gro up.');
  564                }
  565            }
  566  
  567            f unction AF MCheck() {
  568                if ((mem berCheck.A OMember) | | (memberC heck.RDCMe mber) || ( memberChec k.IACUCMem ber)
  569                   || (m emberCheck .LSAMember ) || (memb erCheck.AF MMember))  {
  570                   windo w.location .href = "A nimalFacil ityManager .html?faci lityName="  + facilit yName + "& committeeN ame="
  571                      +  committeeN ame + "&fa cilityTitl e=" + faci lityTitle  + "&groupP art=" + gr oupPart;
  572                } else {
  573                   alert ('Access i s denied:  You are no t a member  of the An imal Facil ity Manage rs group.' );
  574                }
  575            }
  576  
  577            f unction go ToReports( ) {
  578                var repo rtsURL = R AMS.Enviro nment.Repo rts.URL +  "?Facility =" + facil ityName;
  579                var CIRB reportsURL  = RAMS.En vironment. cirbReport s.URL;
  580                if (faci lityName = = 'CIRB')  {
  581                   windo w.open(CIR BreportsUR L, "_blank ")
  582                } else {
  583                   windo w.open(rep ortsURL, " _blank")
  584                }
  585            }
  586  
  587            f unction me mberCheck( ) {
  588                var curr entUrl = w indow.loca tion.href;
  589                var spli tUrl = cur rentUrl.sp lit(".html ")[0];
  590                var faci lityUrl =  "";
  591                var user ;
  592                var memb ership = { };
  593                membersh ip.RDCMemb er = false ;
  594                membersh ip.IRBMemb er = false ;
  595                membersh ip.SRSMemb er = false ;
  596                membersh ip.IACUCMe mber = fal se;
  597                membersh ip.SC1Memb er = false ;
  598                membersh ip.SC2Memb er = false ;
  599                membersh ip.SC3Memb er = false ;
  600                membersh ip.AOMembe r = false;
  601                membersh ip.LSAMemb er = false ;
  602                membersh ip.RCOMemb er = false ;
  603                membersh ip.Liaison sMember =  false;
  604                membersh ip.AFMMemb er = false ;
  605  
  606                if (spli tUrl != "" ) {
  607                   if (s plitUrl.in dexOf("/si tes/IRBApp lications/ ") != -1)  {
  608                      sp litUrl = s plitUrl.sp lit("/site s/IRBAppli cations/") [1];
  609                      if  (splitUrl .indexOf(" /SitePages /") != -1)  {
  610                          facilityU rl = split Url.split( "/SitePage s/")[0];
  611                      }
  612                   }
  613                }
  614  
  615                $.ajax({
  616                   async  : false,
  617                   type  : 'GET',
  618                   url :  siteUrl.c oncat("_ap i/Web/Curr entUser/Gr oups"),
  619                   heade rs : {
  620                      "a ccept" : " applicatio n/json;oda ta=verbose "
  621                   },
  622                   dataT ype : 'jso n',
  623                   succe ss : funct ion(json)  {
  624                      js on = getFi xedString( json);
  625                      us er = json. d.results;
  626                      fo r (var i =  0; i < us er.length;  i++) {
  627                          if (user[ i].Title.i ndexOf(gro upPart + "  " + "RDC" ) > -1) {
  628                             member ship.RDCMe mber = tru e;
  629                          }
  630                          if (user[ i].Title.i ndexOf(gro upPart + "  " + "IRB" ) > -1) {
  631                             member ship.IRBMe mber = tru e;
  632                          }
  633                          if (user[ i].Title.i ndexOf(gro upPart + "  " + "SRS" ) > -1) {
  634                             member ship.SRSMe mber = tru e;
  635                          }
  636                          if (user[ i].Title.i ndexOf(gro upPart + "  " + "IACU C") > -1)  {
  637                             member ship.IACUC Member = t rue;
  638                          }
  639                          if (user[ i].Title.i ndexOf(gro upPart + "  " + "SC1" ) > -1) {
  640                             member ship.SC1Me mber = tru e;
  641                          }
  642                          if (user[ i].Title.i ndexOf(gro upPart + "  " + "SC2" ) > -1) {
  643                             member ship.SC2Me mber = tru e;
  644                          }
  645                          if (user[ i].Title.i ndexOf(gro upPart + "  " + "SC3" ) > -1) {
  646                             member ship.SC3Me mber = tru e;
  647                          }
  648                          if ((user [i].Title. indexOf("A O") > -1)
  649                             || (us er[i].Titl e.indexOf( groupPart  + " " + "A dministrat ive Office rs") > -1) ) {
  650                             member ship.AOMem ber = true ;
  651                          }
  652                          if (user[ i].Title.i ndexOf(gro upPart + "  " + "Loca l Site Adm inistrator s") > -1)  {
  653                             member ship.LSAMe mber = tru e;
  654                          }
  655                          if ((user [i].Title. indexOf("R CO") > -1)
  656                             || (us er[i].Titl e.indexOf( groupPart  + " " + "R esearch Co mpliance O fficers")  > -1)) {
  657                             member ship.RCOMe mber = tru e;
  658                          }
  659                          if (user[ i].Title.i ndexOf(gro upPart + "  Local Sit e Liaisons ") > -1) {
  660                             member ship.Liais onsMember  = true;
  661                          }
  662                          if (user[ i].Title.i ndexOf(gro upPart + "  Animal Fa cility Man agers") >  -1) {
  663                             member ship.AFMMe mber = tru e;
  664                          }
  665  
  666                      }
  667                   }
  668                });
  669                return m embership;
  670            }
  671            
  672            f unction ge tWorkflowN otificatio nRules() {
  673                var requ estUri = " /sites/IRB Applicatio ns/_api/we b/lists/ge tbytitle(' Notificati on Workflo w Configur ation')/it ems?$selec t=ID, faci lityName/I D, facilit yName/Titl e&$expand= facilityNa me";
  674  
  675                $.ajax({
  676                   url :  requestUr i,
  677                   type  : "GET",
  678                   heade rs : {
  679                      "a ccept" : " applicatio n/json;oda ta=verbose ",
  680                      "c ontent-typ e" : "appl ication/js on;odata=v erbose",
  681                      "X -RequestDi gest" : $( "#_REQUEST DIGEST").v al()
  682                   },
  683                   succe ss : onSuc cessWorkfl owNotifica tionRules,
  684                   error  : onError
  685                });
  686  
  687            }
  688  
  689            f unction on SuccessWor kflowNotif icationRul es(data) {
  690                data = g etFixedStr ing(data);
  691                results  = data.d.r esults;
  692                for (var  i = 0; i  < results. length; i+ +) {
  693                   var r ecord = re sults[i];
  694                   var f acilityRul e = record .facilityN ame.Title;
  695                   var r ecordID =  record.ID;
  696  
  697                   if (f acilityRul e != null)  {
  698                      // The facili ty titles  from the F acility Li st do not  appear to  be coming  in correct ly. This i s done all ow Miami t o be read  and recogn ized.
  699                      if  (facility Rule.index Of(facilit yName) !==  -1) {
  700                          window.lo cation.hre f = "/site s/IRBAppli cations/Li sts/Notifi cationWork flowConfig uration/Ed itForm.asp x?ID="
  701                             + reco rdID;
  702                          break;
  703                      }
  704                   }
  705                }
  706            }
  707  
  708            f unction on Error(erro r) {
  709                alert(JS ON.stringi fy(error)) ;
  710  
  711            }
  712         </sc ript>
  713     <div cla ss="footer ">
  714       <div c lass="cont ainer">
  715         <ul  class="foo ter-nav">
  716           <l i><a title ="About" h ref="/site s/IRBAppli cations/Si tePages/Ab out.aspx"> About</a>< /li>
  717           <l i><a title ="Training " href="/s ites/IRBAp plications /SitePages /RAMS%20On line%20Hel p.aspx">Tr aining</a> </li>
  718           <l i><a title ="Help" hr ef="/sites /IRBApplic ations/Sit ePages/RAM S%20Online %20Help.as px">Help</ a></li>
  719           <l i><a title ="FAQs" hr ef="/sites /IRBApplic ations/Sit ePages/FAQ .aspx">FAQ s</a></li>
  720           <l i><a title ="Contact  Us" href=" /sites/IRB Applicatio ns/SitePag es/Contact %20Us.aspx ">Contact  Us</a></li >
  721           <l i><a title ="Site Map " href="/s ites/IRBAp plications /SitePages /Site%20Ma p.aspx">Si te Map</a> </li>
  722           <l i><a title ="Disclaim er" href=" /sites/IRB Applicatio ns/SitePag es/Disclai mer.aspx"> Disclaimer </a></li>
  723           <l i><a title ="Privacy/ Accessibil ity" href= "/sites/IR BApplicati ons/SitePa ges/Access ibility.as px">Privac y
  724                / Access ibility</a ></li>
  725           <l i><a oncli ck="displa yVersion() ;return fa lse;" titl e="Version " href="#" >Version</ a></li>
  726           <l i><a title ="Descript ion" href= "/sites/IR BApplicati ons/SitePa ges/Descri ption.aspx ">Descript ion</a></l i>
  727             <li><a tit le="VA Hom e" href="h ttp:// DNS . URL ">VA Home< /a></li>
  728         </ul >
  729         <p i d="RAMSCop yright" cl ass="pull- right stro ng"></p>
  730       </div>
  731     </div>
  732     <!-- Boo tstrap cor e JavaScri pt
  733       ====== ========== ========== ========== ========== ==== -->
  734     <!-- Pla ced at the  end of th e document  so the pa ges load f aster -->
  735     <script  src="../Si teAssets/j s/bootstra p.min.js"  type="text /javascrip t"></scrip t>
  736     <script  src="../Si teAssets/j s/tooltip. js" type=" text/javas cript"></s cript>
  737     <!-- IE1 0 viewport  hack for  Surface/de sktop Wind ows 8 bug  -->
  738     <script  src="../Si teAssets/j s/ie10-vie wport-bug- workaround .js" type= "text/java script"></ script>
  739     <script  type="text /javascrip t">
  740            d ocument.ge tElementBy Id("profil e").href =  mySitesSe rverName;
  741         </sc ript>
  742   </body>
  743   </html>