8. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/21/2017 10:24:32 AM Central Daylight 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.

8.1 Files compared

# Location File Last Modified
1 JLV_2.5.3.0.2_cif.zip\JLV_2.5.3.0.2_src\JLV\web-app\resources\scripts\js main.js Wed Jun 7 15:11:32 2017 UTC
2 JLV_2.5.3.0.2_cif.zip\JLV_2.5.3.0.2_src\JLV\web-app\resources\scripts\js main.js Wed Jun 21 14:30:19 2017 UTC

8.2 Comparison summary

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

8.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

8.4 Active regular expressions

No regular expressions were active.

8.5 Comparison detail

  1   //Detect I E5.5+
  2   version=0
  3   if (naviga tor.appVer sion.index Of("MSIE") !=-1){
  4           te mp=navigat or.appVers ion.split( "MSIE")
  5           ve rsion=pars eFloat(tem p[1])
  6   }
  7  
  8  
  9  
  10   function i nitMenuTog gles() {
  11           to ggler();
  12           if  (version> =5.5) //NO N IE brows er will re turn 0
  13                    {
  14                    arbi traryHover Handlers() ;
  15                    }
  16   }
  17  
  18   //toggler  - by dream lettes.net , modified  by  RED A CTED
  19   var allHan dlers=null ;
  20   var allTog glers=null ;
  21   var allSho wAlls=null ;
  22   var allHid eAlls=null ;
  23   var allExp andables=n ull;
  24   var allCol lapsables= null;
  25  
  26   function t gClasses()  {
  27           va r ael;
  28           if (document. all)ael=do cument.all ;
  29           el se if(docu ment.getEl ementsByTa gName && ! document.a ll)ael=doc ument.getE lementsByT agName("*" );
  30           al lHandlers  = new Arra y();
  31           al lTogglers  = new Arra y();
  32           al lShowAlls  = new Arra y();
  33           al lHideAlls  = new Arra y();
  34           al lExpandabl es = new A rray();
  35           al lCollapsab les = new  Array();
  36           fo r(i=0;i<ae l.length;i ++) {
  37                    swit ch (ael[i] .className ) {
  38                             case " handler":{
  39                                      allHandl ers[allHan dlers.leng th]=ael[i] ;
  40                                      break;
  41                             }
  42                             case " toggle":{
  43                                      allToggl ers[allTog glers.leng th]=ael[i] ;
  44                                      break;
  45                             }
  46                             case " showall":{
  47                                      allShowA lls[allSho wAlls.leng th]=ael[i] ;
  48                                      break;
  49                             }
  50                             case " hideall":{
  51                                      allHideA lls[allHid eAlls.leng th]=ael[i] ;
  52                                      break;
  53                             }
  54                             case " node":{
  55                                      allExpan dables[all Expandable s.length]= ael[i];
  56                                      break;
  57                             }
  58                             case " node-down" :{
  59                                      allColla psables[al lCollapsab les.length ]=ael[i];
  60                                      break;
  61                             }
  62                             defaul t: {
  63                             }
  64                    }
  65           }
  66   }
  67  
  68   function t oggler() {
  69           tg Classes();
  70           fo r (var i =  0; i < al lShowAlls. length; i+ +) allShow Alls[i].on click = fu nction() { showall()} ;
  71           fo r (var i =  0; i < al lHideAlls. length; i+ +) allHide Alls[i].on click = fu nction() { hideall()} ;
  72           fo r (var i =  0; i < al lHandlers. length; i+ +) { allHa ndlers[i]. someProper ty = i; al lHandlers[ i].onclick  = functio n() {toggl e(this)};  }
  73           fo r (var i =  0; i < al lTogglers. length; i+ +) allTogg lers[i].st yle.displa y = 'none' ;
  74           fo r (var i=0 ;i<allExpa ndables.le ngth;i++)  allExpanda bles[i].st yle.displa y = '';
  75           fo r (var i=0 ;i<allColl apsables.l ength;i++)  allCollap sables[i]. style.disp lay = 'non e';
  76   }
  77  
  78   function t oggle(el)  {
  79           va r i= el.so meProperty ;
  80           va r t=allTog glers[i];
  81           va r im=allEx pandables[ i];
  82           va r imDown=a llCollapsa bles[i];
  83           if  (t.style. display ==  'none') {
  84                    t.st yle.displa y = '';
  85                    el.c lassName =  'handler_ down';
  86                    im.s tyle.displ ay = 'none ';
  87                    imDo wn.style.d isplay = ' ';
  88           }
  89           el se {
  90                    t.st yle.displa y = 'none' ;
  91                    el.c lassName =  'handler' ;
  92                    im.s tyle.displ ay = '';
  93                    imDo wn.style.d isplay = ' none';
  94           }
  95           if  (null==t. id) return ;
  96           va r aLink=do cument.get ElementByI d("link_"+ t.id);
  97           if  (null==aL ink) retur n;
  98           aL ink.id=nul l;
  99           aj ax.callPag e(aLink.hr ef,treeToc AjaxCallba ck);
  100  
  101  
  102   function s howall() {
  103           fo r (var i=0 ;i<allHand lers.lengt h;i++)  al lHandlers[ i].classNa me = 'hand ler_down';
  104           fo r (var i=0 ;i<allTogg lers.lengt h;i++)  al lTogglers[ i].style.d isplay = ' ';
  105           fo r (var i=0 ;i<allExpa ndables.le ngth;i++)   allExpand ables[i].s tyle.displ ay = 'none ';
  106           fo r (var i=0 ;i<allColl apsables.l ength;i++)   allColla psables[i] .style.dis play = '';
  107   }
  108  
  109   function h ideall() {
  110           fo r (var i=0 ;i<allHand lers.lengt h;i++)  al lHandlers[ i].classNa me = 'hand ler';
  111           fo r (var i=0 ;i<allTogg lers.lengt h;i++)  al lTogglers[ i].style.d isplay = ' none';
  112           fo r (var i=0 ;i<allExpa ndables.le ngth;i++)   allExpand ables[i].s tyle.displ ay = '';
  113           fo r (var i=0 ;i<allColl apsables.l ength;i++)   allColla psables[i] .style.dis play = 'no ne';
  114   }       
  115  
  116  
  117   function a rbitraryHo verHandler s(){
  118           //  thanks Bo ki #javasc ript for c lueing me  into the w ildcard
  119           //  you can a lso replac e the * wi th any spe cific elem ent if you  do not wa nt to hove r
  120           //  everythin g
  121           if  (document .body.getE lementsByT agName)
  122           {
  123                    body Elements =  document. body.getEl ementsByTa gName("A"  );
  124           }
  125           fo r(i = 0; i  < bodyEle ments.leng th; i++)
  126           {
  127                    if ( bodyElemen ts[i].href  == '#offs etParent'  && bodyEle ments[i].c lassName = = 'handler ' ) 
  128                    {
  129                             addEve ntHandler( bodyElemen ts[i], "mo useover",  eventHover );
  130                             addEve ntHandler( bodyElemen ts[i], "mo useout", e ventUnHove r);
  131                    }
  132           }
  133   }
  134  
  135   function g etElementF romEvent(e vent) {
  136           if  (event.sr cElement)
  137                    retu rn event.s rcElement;
  138           if  (event.cu rrentTarge t)
  139                    retu rn event.c urrentTarg et;
  140           re turn null;
  141   }
  142  
  143   //      ge neric even t add meth od
  144   //      el ement,  [s tring],  [ function n ame]
  145   function a ddEventHan dler(eleme nt, eventN ame, funct ionName){
  146           if  (element. attachEven t)
  147                    elem ent.attach Event('on'  + eventNa me, functi onName);
  148           if  (element. addEventLi stener)
  149                    elem ent.addEve ntListener (eventName , function Name, fals e);
  150   }
  151  
  152   /* this me thod is ca lled onmou seover */
  153   function e ventHover( event){
  154           //  get the e lement whi ch initiat ed this ev ent call
  155           el ement = ge tElementFr omEvent(ev ent);
  156           //  do not ch ange the c lassName,  but rather  append an other
  157           el ement.styl e.backgrou ndColor =  '#CBD6DA';
  158   }
  159  
  160   /* this me thod is ca lled onmou seout */
  161   function e ventUnHove r(event){
  162           //  get the e lement whi ch initiat ed this ev ent call
  163           el ement = ge tElementFr omEvent(ev ent);
  164           el ement.styl e.backgrou ndColor =  '#FFF';
  165   }
  166  
  167   function o nQuit(even t, window)  {
  168           if  (null==ev ent) {
  169                    retu rn;
  170           }
  171           if  (window.e vent.clien tY<-99) {
  172                    var  button = d ocument.ge tElementBy Id("btnQui t");
  173                    if ( null!=butt on) {
  174                             button .click();
  175                    }
  176                    var  msg = "Our  apologies  for this  message.   It is forc ed on us b y Microsof t.  It doe sn't matte r which ch oice " +
  177                             "you m ake, VistA Web will e xit.";
  178                    wind ow.event.r eturnValue  = msg;
  179           }
  180   }
  181  
  182   function g etWindowIn nerH(){
  183           va r innerH =  null;
  184           if  (typeof(w indow.inne rHeight) = = "number" ){
  185                    //MO ZILLA, OPE RA
  186                    inne rH = windo w.innerHei ght;
  187           }  else if (t ypeof(docu ment.docum entElement .clientHei ght) == "n umber"){
  188                    //IE  6+
  189                    inne rH = docum ent.body.c lientHeigh t;
  190           }
  191           re turn inner H;
  192   }