2757. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 1/2/2018 11:58:40 AM 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.

2757.1 Files compared

# Location File Last Modified
1 Tue Jan 2 16:58:40 2018 UTC
2 HTRE_P2.zip\src.zip\output\IHTA OLH Files.zip\ihta_admin.zip\qir.zip whihost.js Fri Sep 16 17:20:22 2016 UTC

2757.2 Comparison summary

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

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

2757.4 Active regular expressions

No regular expressions were active.

2757.5 Comparison detail

        1   //      We bHelp 5.10 .002
        2   var gsDefa ultTarget= "bsscright ";
        3   var gsBgCo lor="#ffff ff";
        4   var gsBgIm age="";
        5   var goIdxF ont=null;
        6   var goIdxE mptyFont=n ull;
        7   var goIdxH overFont=n ull;
        8   var gsIdxM argin="0pt ";
        9   var gsIdxI ndent="8pt ";
        10   var gsIdxA ctiveBgCol or="#ccccc c";
        11   var gsCK =  null;
        12   var gsBCK  = null;
        13   var gbCR =  false;
        14   var gbBCR  = false;
        15   var gbWhIH ost=true;
        16  
        17   function m yEvent()
        18   {
        19           th is.pageX =  0;
        20           th is.pageY =  0;
        21   }
        22   var _event =new myEve nt();
        23  
        24   function s etBackgrou ndcolor(sB gColor)
        25   {
        26           gs BgColor=sB gColor;
        27   }
        28  
        29   function s etBackgrou nd(sBgImag e)
        30   {
        31           gs BgImage=sB gImage;
        32   }
        33  
        34   function s etFont(sTy pe,sFontNa me,sFontSi ze,sFontCo lor,sFontS tyle,sFont Weight,sFo ntDecorati on)
        35   {
        36           va r vFont=ne w whFont(s FontName,s FontSize,s FontColor, sFontStyle ,sFontWeig ht,sFontDe coration);
        37           if (sType=="N ormal")
        38                    goId xFont=vFon t;
        39           el se if(sTyp e=="Empty" )
        40                    goId xEmptyFont =vFont;
        41           el se if(sTyp e=="Hover" )
        42                    goId xHoverFont =vFont;
        43   }
        44  
        45   function s etActiveBg Color(sBgC olor)
        46   {
        47           gs IdxActiveB gColor=sBg Color;
        48   }
        49  
        50   function s etMargin(s Margin)
        51   {
        52           gs IdxMargin= sMargin;
        53   }
        54  
        55   function s etIndent(s Indent)
        56   {
        57           gs IdxIndent= sIndent;
        58   }
        59  
        60   function w riteOneIte m(oHTML,bD own,aDataC on,aCurIdx Set,nLengt h,aPos,nLe vel)
        61   {
        62           va r sHTML="" ;
        63           va r nIdxSet= aCurIdxSet [0];
        64           va r nIIdx=aP os[nIdxSet ];
        65           va r sKOriNam e=getItemN ame(aDataC on,nIdxSet ,nIIdx);
        66           va r sKName=_ textToHtml (sKOriName );
        67  
        68           va r nIdxInde nt=parseIn t(gsIdxInd ent);
        69           va r sTopics= "";
        70           if (nLevel==1 ){
        71                    if(g etItemType (aDataCon, nIdxSet,nI Idx)==1)
        72                    {
        73                             sHTML+ ="<H6><nob r>";
        74                             sHTML+ ="<b>"+sKN ame+"</b>< /nobr></H6 >";
        75                    }
        76                    else {
        77                             for(va r i=0;i<nL ength;i++)
        78                                      sTopics+ =getIdxTop ics(aDataC on,aCurIdx Set[i],aPo s[aCurIdxS et[i]]);
        79                             sHTML+ ="<p style =\"margin- left:"+gsI dxIndent+" \"><nobr>" ;
        80                             sHTML+ ="<a alt=\ "" + sKNam e + "\" hr ef=\"javas cript:void (0);\" onf ocus=\"cle arHighLigh t();\" onc lick=\"Pop upMenu_Inv oke(event, '"+excapeS ingleQuota ndSlash(ge tTargetNam e(aDataCon ,nIdxSet,n IIdx))+"'" ;
        81                             if(sTo pics.lengt h>0)
        82                                      sHTML+=s Topics+"); return fal se;\">"+sK Name+"</a> </nobr></p >";
        83                             else
        84                                      sHTML+=" );return f alse;\" st yle=\""+ge tFontStyle (goIdxEmpt yFont)+"\" >"+sKName+ "</a></nob r></p>";
        85                    }
        86           }
        87           el se if(nLev el>=2){
        88                    var  nIndent=nI dxIndent*n Level;
        89                    for( var i=0;i< nLength;i+ +)
        90                             sTopic s+=getIdxT opics(aDat aCon,aCurI dxSet[i],a Pos[aCurId xSet[i]]);
        91                    if ( nLevel==2)
        92                             sHTML+ ="<h6 clas s=\"firsts ub\" style =\"margin- left:"+nIn dent+"pt\" ><nobr>";
        93                    else
        94                             sHTML+ ="<h6 styl e=\"margin -left:"+nI ndent+"pt\ "><nobr>";
        95                    sHTM L+="<a alt =\"" + sKN ame + "\"  href=\"jav ascript:vo id(0);\" o nfocus=\"c learHighLi ght();\" o nclick=\"P opupMenu_I nvoke(even t,'"+excap eSingleQuo tandSlash( getTargetN ame(aDataC on,nIdxSet ,nIIdx))+" '";
        96                    if(s Topics.len gth>0)
        97                             sHTML+ =sTopics+" );return f alse;\">"+ sKName+"</ a></nobr>< /h6>";
        98                    else
        99                             sHTML+ =");return  false;\"  style=\""+ getFontSty le(goIdxEm ptyFont)+" \">"+sKNam e+"</a></n obr></h6>" ;
        100           }
        101           oH TML.addHTM L(sHTML,nL ength,bDow n,(nLevel= =1),sKOriN ame);
        102   }
        103  
        104   function g etTargetNa me(aDataCo n,nIdxSet, nIIdx)
        105   {
        106           if (nIdxSet<a DataCon.le ngth&&aDat aCon[nIdxS et].aKs.le ngth>nIIdx )
        107                    if(a DataCon[nI dxSet].aKs [nIIdx].sT arget)
        108                             return  aDataCon[ nIdxSet].a Ks[nIIdx]. sTarget;
        109           re turn gsDef aultTarget ;
        110   }
        111  
        112   function m ergeItems( oHTML,bDow n,aDataCon ,aCurIdxSe t,nLength, aPos,nLeve l)
        113   {
        114           va r oLocalHT ML=new ind exHTMLPart ();
        115           wr iteOneItem (oLocalHTM L,bDown,aD ataCon,aCu rIdxSet,nL ength,aPos ,nLevel);
        116           
        117           va r aLocalPo s=new Arra y();
        118           va r aMaxPos= new Array( );
        119           fo r(var i=0; i<aPos.len gth;i++)
        120           {
        121                    aLoc alPos[i]=a Pos[i];
        122                    aMax Pos[i]=-1;
        123           }
        124           
        125           fo r(i=0;i<nL ength;i++)
        126           {
        127                    var  nNKOff=get NKOff(aDat aCon,aCurI dxSet[i],a LocalPos[a CurIdxSet[ i]]);
        128                    aLoc alPos[aCur IdxSet[i]] ++;
        129                    if(n NKOff>0)
        130                             aMaxPo s[aCurIdxS et[i]]=aLo calPos[aCu rIdxSet[i] ]+nNKOff;
        131           }
        132           va r oSubHTML =new index HTMLPart() ;
        133           wr iteItems(o SubHTML,aD ataCon,aLo calPos,nul l,aMaxPos, true,nLeve l+1);
        134           oL ocalHTML.a ddSubHTML( oSubHTML,t rue);
        135           oH TML.append HTML(oLoca lHTML,bDow n);
        136   }
        137  
        138   function a djustPosit ion(bDown, aDataCon,a CurIdxSet, nLength,aP os)
        139   {
        140           if (bDown)
        141           {
        142                    for( var i=0;i< nLength;i+ +)
        143                    {
        144                             var nN KOff=getNK Off(aDataC on,aCurIdx Set[i],aPo s[aCurIdxS et[i]]);
        145                             aPos[a CurIdxSet[ i]]+=(1+nN KOff);
        146                    }
        147           }
        148           el se{
        149                    for( var i=0;i< nLength;i+ +)
        150                    {
        151                             var nP KOff=getPK Off(aDataC on,aCurIdx Set[i],aPo s[aCurIdxS et[i]]);
        152                             aPos[a CurIdxSet[ i]]-=(1+nP KOff);
        153                    }
        154           }
        155   }
        156  
        157   function g etItemName (aDataCon, nIdxSet,nI Idx)
        158   {
        159           if (nIdxSet<a DataCon.le ngth&&aDat aCon[nIdxS et].aKs.le ngth>nIIdx )
        160                    retu rn aDataCo n[nIdxSet] .aKs[nIIdx ].sName;
        161           el se
        162                    retu rn null;
        163   }
        164  
        165   function g etItemType (aDataCon, nIdxSet,nI Idx)
        166   {
        167           if (nIdxSet<a DataCon.le ngth&&aDat aCon[nIdxS et].aKs.le ngth>nIIdx )
        168                    retu rn aDataCo n[nIdxSet] .aKs[nIIdx ].nType;
        169           el se
        170                    retu rn 0;
        171   }
        172  
        173   function g etNKOff(aD ataCon,nId xSet,nIIdx )
        174   {
        175           if (nIdxSet<a DataCon.le ngth&&aDat aCon[nIdxS et].aKs.le ngth>nIIdx )
        176                    retu rn aDataCo n[nIdxSet] .aKs[nIIdx ].nNKOff;
        177           el se
        178                    retu rn null;
        179   }
        180  
        181   function g etPKOff(aD ataCon,nId xSet,nIIdx )
        182   {
        183           if (nIdxSet<a DataCon.le ngth&&aDat aCon[nIdxS et].aKs.le ngth>nIIdx )
        184                    retu rn aDataCo n[nIdxSet] .aKs[nIIdx ].nPKOff;
        185           el se
        186                    retu rn null;
        187   }
        188  
        189   function w indow_OnLo ad()
        190   {
        191           if (gsBgImage &&gsBgImag e.length>0 )
        192           {
        193                    docu ment.body. background =gsBgImage ;
        194           }
        195           if (gsBgColor &&gsBgColo r.length>0 )
        196           {
        197                    docu ment.body. bgColor=gs BgColor;
        198           }
        199           do cument.bod y.insertAd jacentHTML ("beforeEn d",writeLo adingDiv() );
        200           lo adIdx();
        201           // commenting  this out  as it is c reating pr oblem in I E10 and se ems redund ant
        202           /* var oMsg=n ew whMessa ge(WH_MSG_ SHOWIDX,nu ll,null)
        203           no tify(oMsg) ;*/
        204   }
        205  
        206   function o nGetProjIn fo(oMsg) {
        207       if (oM sg && oMsg .oParam) {
        208           gb Ready = tr ue;
        209           va r oProj =  oMsg.oPara m;
        210           va r aProj =  oProj.aPro j;
        211           gb XML = oPro j.bXML;
        212           if  (aProj.le ngth > 0)  {
        213                var sLan gId = aPro j[0].sLang Id;
        214                for (var  i = 0; i  < aProj.le ngth; i++)  {
        215                    if ( aProj[i].s Idx && aPr oj[i].sLan gId == sLa ngId) {
        216                         addProjInf o(aProj[i] .sPPath, a Proj[i].sD Path, aPro j[i].sIdx) ;
        217                    }
        218                }
        219           }
        220           wr iteDataIFr ame();
        221           en Evt();
        222       }
        223   }
        224  
        225   function l oadIdx()
        226   {
        227           if (!gbReady)
        228           {
        229                var oRes Msg = new  whMessage( WH_MSG_GET PROJINFO,  null, null );
        230                request( oResMsg, o nGetProjIn fo);
        231           }
        232   }
        233  
        234   function g etIdxTopic s(aDataCon ,nIdxSet,n IIdx)
        235   {
        236           va r sTopics= "";
        237           if (nIdxSet<a DataCon.le ngth&&aDat aCon[nIdxS et].aKs.le ngth>nIIdx )
        238           {
        239                    if(a DataCon[nI dxSet].aKs [nIIdx].aT opics)
        240                    {
        241                             var nL en=aDataCo n[nIdxSet] .aKs[nIIdx ].aTopics. length;
        242                             var nP roj=aDataC on[nIdxSet ].nProjId;
        243                             var sP ath=gaData [nProj].sP Path;
        244                             for(va r i=0;i<nL en;i++)
        245                             {
        246                                      var sURL =aDataCon[ nIdxSet].a Ks[nIIdx]. aTopics[i] .sURL;
        247                                      var sFul lPath=_get FullPath(s Path,sURL) ;
        248                                      sTopics+ =",'"+exca peSingleQu otandSlash (_textToHt ml(aDataCo n[nIdxSet] .aKs[nIIdx ].aTopics[ i].sName)) +"','"+exc apeSingleQ uotandSlas h(_textToH tml_nonbsp (sFullPath ))+"'";
        249                             }
        250                    }
        251           }
        252           re turn sTopi cs;          
        253   }
        254  
        255   function f indCKInDom ()
        256   {
        257           if (gsCK!=nul l)
        258           {
        259                    var  sK=gsCK;
        260                    var  oP=getElem entsByTag( document," P");
        261                    if(! oP) return  false;
        262                    var  len=oP.len gth;
        263                    var  nB=0;
        264                    var  nE=len-1;
        265                    var  nM=0;
        266                    var  sItem="";
        267                    var  bF=false;
        268                    whil e(nB<nE){
        269                             nM=(nB +nE+1)>>1;
        270                             sItem= getInnerTe xt(oP[nM]) ;
        271                             
        272                             if(com pare(sItem ,sK)==0)
        273                             {
        274                                      bF=true;
        275                                      break;
        276                             }
        277                             else i f(compare( sItem,sK)> 0)
        278                                      nE=nM-1;
        279                             else i f(compare( sItem,sK)< 0)
        280                                      nB=nM;
        281                    }
        282                    if(! bF)
        283                    {
        284                             if(nB= =nE) nM=nB ;
        285                    
        286                             if(nM+ 1<len)
        287                             {
        288                                      sItem=ge tInnerText (oP[nM+1]) ;
        289                                      if(compa re(sItem,s K)<=0) nM+ +;
        290                             }                         
        291                             if(nM+ 1<len)
        292                             {
        293                                      sItem=ge tInnerText (oP[nM+1]) ;
        294                                      if(compa re(sItem.s ubstring(0 ,sK.length ),sK)==0)  nM++;
        295                             }                         
        296                    }
        297           
        298                    var  oMatch=oP[ nM];
        299                    if(o Match)
        300                    {
        301                             window .scrollTo( 0,oMatch.o ffsetTop);
        302                             var te mpColl=get ElementsBy Tag(oMatch ,"A");
        303                             if(tem pColl&&tem pColl.leng th>0){
        304                                      var nbTa g=getEleme ntsByTag(o Match,"NOB R");
        305                                      if(nbTag &&nbTag.le ngth>0)
        306                                               HighLightE lement(nbT ag[0], gsI dxActiveBg Color, "tr ansparent" );
        307                                      if (gbCR )
        308                                      {
        309                                               if (gbIE4)
        310                                                       te mpColl(0). click();
        311                                               else
        312                                               {
        313                                                       va r strComma nd = tempC oll[0].get Attribute( "onClick") ;
        314                                                       va r nstrComm and = strC ommand.ind exOf(";");
        315                                                       st rCommand =  strComman d.substrin g(0, nstrC ommand);
        316                                                       st rCommand =  strComman d.replace( "event", " _event");
        317                                                       wi ndow._even t.pageX =  oMatch.off setLeft ;
        318                                                       wi ndow._even t.pageY =  oMatch.off setTop + 2 0;
        319                                                       wi ndow.setTi meout(strC ommand, 10 0);
        320                                               }
        321                                      }
        322                             }
        323                    }
        324                    gsCK =gsBCK;
        325                    gbCR =gbBCR;
        326                    if(g sBCK!=null )
        327                    {
        328                             gsBCK= null;
        329                             gbBCR= false;
        330                             findCK ();
        331                             return  false;
        332                    }
        333                    
        334           }
        335           re turn true;
        336   }
        337  
        338   function c learHighLi ght()
        339   {
        340           re setHighLig ht(gsBgCol or);
        341   }
        342  
        343   function I ndexWriteC lassStyle( )
        344   {
        345           va r sStyle=" ";
        346           sS tyle+="<ST YLE TYPE=' text/css'> ";
        347           if  (gsBgImag e)
        348                    sSty le+="body  {border-to p:"+gsBgCo lor+" 1px  solid;}\n" ;
        349           el se
        350                    sSty le+="body  {border-to p:black 1p x solid;}\ n";
        351           if (gbIE4&&gb Mac&&!gbIE 5)
        352           {
        353                    var  nMargin=pa rseInt(gsI dxMargin);
        354                    nMar gin-=10;
        355                    sSty le+="P {"+ getFontSty le(goIdxFo nt)+"margi n-top:"+gs IdxMargin+ ";margin-b ottom:"+gs IdxMargin+ ";}\n";
        356                    sSty le+="H6 {" +getFontSt yle(goIdxF ont)+"marg in-top:"+g sIdxMargin +";margin- bottom:"+g sIdxMargin +";}\n";
        357                    sSty le+="H6.fi rstsub {"+ getFontSty le(goIdxFo nt)+"margi n-top:"+nM argin+"pt; margin-bot tom:"+gsId xMargin+"; }\n";
        358           }
        359           el se
        360           {
        361                    sSty le+="P {"+ getFontSty le(goIdxFo nt)+"margi n-top:"+gs IdxMargin+ ";margin-b ottom:"+gs IdxMargin+ ";}\n";
        362                    sSty le+="H6 {" +getFontSt yle(goIdxF ont)+"marg in-top:"+g sIdxMargin +";margin- bottom:"+g sIdxMargin +";}\n";
        363           }
        364           sS tyle+="DIV  {margin-t op:"+gsIdx Margin+";m argin-bott om:"+gsIdx Margin+";} \n";
        365           sS tyle+="A:l ink {"+get FontStyle( goIdxFont) +"}\n";
        366           sS tyle+="A:v isited {"+ getFontSty le(goIdxFo nt)+"}\n";
        367           sS tyle+="A:a ctive {bac kground-co lor:"+gsId xActiveBgC olor+";}\n ";
        368           sS tyle+="A:h over {"+ge tFontStyle (goIdxHove rFont)+"}\ n";
        369           sS tyle+="</S TYLE>";      
        370           do cument.wri te(sStyle) ;
        371           re turn;
        372   }
        373  
        374   function w indow_Unlo ad()
        375   {
        376           un registerLi stener2(WH _MSG_PROJE CTREADY);
        377           un registerLi stener2(WH _MSG_SEARC HINDEXKEY) ;
        378   }
        379  
        380   function o nReceiveNo tification (oMsg)
        381   {
        382           if (oMsg)
        383           {
        384                    var  nMsgId=oMs g.msgId;
        385                    if(n MsgId==WH_ MSG_SEARCH INDEXKEY)
        386                    {
        387                             if(oMs g.iParam & & oMsg.iPa ram.sInput )
        388                             {
        389                                      if(gsCK= =null)
        390                                      {
        391                                               gsCK=oMsg. iParam.sIn put;
        392                                               gbCR = oMs g.iParam.b CR;
        393                                               findCK();
        394                                      }
        395                                      else
        396                                      {
        397                                               gsBCK=oMsg .iParam.sI nput;
        398                                               gbBCR = oM sg.iParam. bCR;
        399                                      }
        400                             }
        401                    }
        402                    else  if(nMsgId ==WH_MSG_P ROJECTREAD Y)
        403                    {
        404                             loadId x();
        405                    }
        406           }
        407           re turn true;
        408   }
        409  
        410   if(window. gbWhVer&&w indow.gbWh Lang&&wind ow.gbWhMsg &&window.g bWhUtil&&w indow.gbWh Host&&wind ow.gbWhPro xy)
        411   {
        412           re gisterList ener2(WH_M SG_PROJECT READY);
        413           re gisterList ener2(WH_M SG_SEARCHI NDEXKEY);
        414           go IdxFont=ne w whFont(" Verdana"," 8pt","#000 000","norm al","norma l","none") ;
        415           go IdxEmptyFo nt=new whF ont("Verda na","8pt", "#666666", "normal"," normal","n one");
        416           go IdxHoverFo nt=new whF ont("Verda na","8pt", "#007f00", "normal"," normal","u nderline") ;
        417  
        418           wi ndow.onloa d=window_O nLoad;
        419           wi ndow.onbef oreunload= window_BUn load;
        420           wi ndow.onunl oad=window _Unload;
        421           gb WhIHost=tr ue;
        422   }
        423   else
        424           do cument.loc ation.relo ad();
        425