2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
 
    4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
 
   25 $this->colours          = array(
"blue", 
"purple", 
"gray", 
"brown", 
"blue");
 
   26 $this->quotecolour              = 
"blue";
 
   27 $this->blockcommentcolour       = 
"green";
 
   28 $this->linecommentcolour        = 
"green";
 
   32 $this->indent                   = array(
"{");
 
   33 $this->unindent                 = array(
"}");
 
   37 $this->stringchars              = array(
"\"", 
"'");
 
   38 $this->delimiters               = array(
"~", 
"!", 
"@", 
"%", 
"^", 
"&", 
"*", 
"(", 
")", 
"-", 
"+", 
"=", 
"|", 
"\\", 
"/", 
"{", 
"}", 
"[", 
"]", 
":", 
";", 
"\"", 
"'", 
"<", 
">", 
" ", 
",", 
"      ", 
".", 
"?");
 
   39 $this->escchar                  = 
"\\";
 
   43 $this->linecommenton            = array(
"//");
 
   44 $this->blockcommenton           = array(
"/*");
 
   45 $this->blockcommentoff          = array(
"*/");
 
   49 $this->keywords                 = array(
 
   72                         "FileSystemObject" => 
"1", 
 
  105                         "styleSheets" => 
"1", 
 
  111                         "userProfile" => 
"1", 
 
  116                         "activeElement" => 
"2", 
 
  123                         "appCodeName" => 
"2", 
 
  124                         "appMinorVersion" => 
"2", 
 
  128                         "availHeight" => 
"2", 
 
  130                         "AtEndOfLine" => 
"2", 
 
  131                         "AtEndOfStream" => 
"2", 
 
  133                         "AvailableSpace" => 
"2", 
 
  135                         "backgroundAttachment" => 
"2", 
 
  136                         "backgroundColor" => 
"2", 
 
  137                         "backgroundImage" => 
"2", 
 
  138                         "backgroundPosition" => 
"2", 
 
  139                         "backgroundPositionX" => 
"2", 
 
  140                         "backgroundPositionY" => 
"2", 
 
  141                         "backgroundRepeat" => 
"2", 
 
  145                         "bgProperties" => 
"2", 
 
  147                         "borderBottom" => 
"2", 
 
  148                         "borderBottomColor" => 
"2", 
 
  149                         "borderBottomStyle" => 
"2", 
 
  150                         "borderBottomWidth" => 
"2", 
 
  151                         "borderColor" => 
"2", 
 
  152                         "borderColorDark" => 
"2", 
 
  153                         "borderColorLight" => 
"2", 
 
  155                         "borderLeftColor" => 
"2", 
 
  156                         "borderLeftStyle" => 
"2", 
 
  157                         "borderLeftWidth" => 
"2", 
 
  158                         "borderRight" => 
"2", 
 
  159                         "borderRightColor" => 
"2", 
 
  160                         "borderRightStyle" => 
"2", 
 
  161                         "borderRightWidth" => 
"2", 
 
  162                         "borderStyle" => 
"2", 
 
  164                         "borderTopColor" => 
"2", 
 
  165                         "borderTopStyle" => 
"2", 
 
  166                         "borderTopWidth" => 
"2", 
 
  167                         "borderWidth" => 
"2", 
 
  168                         "bottomMargin" => 
"2", 
 
  169                         "browserLanguage" => 
"2", 
 
  170                         "bufferDepth" => 
"2", 
 
  173                         "cancelBubble" => 
"2", 
 
  176                         "cellPadding" => 
"2", 
 
  177                         "cellSpacing" => 
"2", 
 
  183                         "clientHeight" => 
"2", 
 
  184                         "clientInformation" => 
"2", 
 
  187                         "clientWidth" => 
"2", 
 
  201                         "connectionSpeed" => 
"2", 
 
  202                         "constructorCount" => 
"2", 
 
  205                         "cookieEnabled" => 
"2", 
 
  212                         "CompareMode" => 
"2", 
 
  215                         "dataFormatAs" => 
"2", 
 
  216                         "dataPageSize" => 
"2", 
 
  218                         "defaultCharset" => 
"2", 
 
  219                         "defaultChecked" => 
"2", 
 
  220                         "defaultSelected" => 
"2", 
 
  221                         "defaultStatus" => 
"2", 
 
  222                         "defaultValue" => 
"2", 
 
  224                         "dialogArguments" => 
"2", 
 
  225                         "dialogHeight" => 
"2", 
 
  228                         "dialogWidth" => 
"2", 
 
  234                         "DriveLetter" => 
"2", 
 
  236                         "DateCreated" => 
"2", 
 
  237                         "DateLastAccessed" => 
"2", 
 
  238                         "DateLastModified" => 
"2", 
 
  244                         "fileCreatedDate" => 
"2", 
 
  245                         "fileModifiedDate" => 
"2", 
 
  247                         "fileUpdatedDate" => 
"2", 
 
  252                         "fontSmoothingEnabled" => 
"2", 
 
  254                         "fontVariant" => 
"2", 
 
  258                         "frameBorder" => 
"2", 
 
  259                         "frameSpacing" => 
"2", 
 
  260                         "fromElement" => 
"2", 
 
  276                         "indeterminate" => 
"2", 
 
  285                         "IsRootFolder" => 
"2", 
 
  293                         "lastModified" => 
"2", 
 
  296                         "leftContext" => 
"2", 
 
  299                         "letterSpacing" => 
"2", 
 
  304                         "listStyleImage" => 
"2", 
 
  305                         "listStylePosition" => 
"2", 
 
  306                         "listStyleType" => 
"2", 
 
  317                         "marginBottom" => 
"2", 
 
  318                         "marginHeight" => 
"2", 
 
  320                         "marginRight" => 
"2", 
 
  322                         "marginWidth" => 
"2", 
 
  334                         "NEGATIVE_INFINITY" => 
"2", 
 
  340                         "offscreenBuffering" => 
"2", 
 
  341                         "offsetHeight" => 
"2", 
 
  343                         "offsetParent" => 
"2", 
 
  345                         "offsetWidth" => 
"2", 
 
  353                         "owningElement" => 
"2", 
 
  355                         "paddingBottom" => 
"2", 
 
  356                         "paddingLeft" => 
"2", 
 
  357                         "paddingRight" => 
"2", 
 
  359                         "pageBreakAfter" => 
"2", 
 
  360                         "pageBreakBefore" => 
"2", 
 
  363                         "parentElement" => 
"2", 
 
  364                         "parentStyleSheet" => 
"2", 
 
  365                         "parentTextEdit" => 
"2", 
 
  366                         "parentWindow" => 
"2", 
 
  368                         "pixelHeight" => 
"2", 
 
  373                         "pluginspage" => 
"2", 
 
  384                         "POSITIVE_INFINITY" => 
"2", 
 
  388                         "recordNumber" => 
"2", 
 
  392                         "returnValue" => 
"2", 
 
  394                         "rightContext" => 
"2", 
 
  395                         "rightMargin" => 
"2", 
 
  401                         "scrollAmount" => 
"2", 
 
  402                         "scrollDelay" => 
"2", 
 
  403                         "scrollHeight" => 
"2", 
 
  407                         "scrollWidth" => 
"2", 
 
  409                         "sectionRowIndex" => 
"2", 
 
  411                         "selectedIndex" => 
"2", 
 
  416                         "sourceIndex" => 
"2", 
 
  424                         "systemLanguage" => 
"2", 
 
  425                         "SerialNumber" => 
"2", 
 
  438                         "textDecoration" => 
"2", 
 
  439                         "textDecorationBlink" => 
"2", 
 
  440                         "textDecorationLineThrough" => 
"2", 
 
  441                         "textDecorationNone" => 
"2", 
 
  442                         "textDecorationOverline" => 
"2", 
 
  443                         "textDecorationUnderline" => 
"2", 
 
  445                         "textTransform" => 
"2", 
 
  456                         "updateInterval" => 
"2", 
 
  460                         "userLanguage" => 
"2", 
 
  464                         "verticalAlign" => 
"2", 
 
  480                         "addReadRequest" => 
"3", 
 
  500                         "clearInterval" => 
"3", 
 
  501                         "clearRequest" => 
"3", 
 
  502                         "clearTimeout" => 
"3", 
 
  505                         "compareEndPoints" => 
"3", 
 
  511                         "createCaption" => 
"3", 
 
  512                         "createElement" => 
"3", 
 
  513                         "createRange" => 
"3", 
 
  514                         "createStyleSheet" => 
"3", 
 
  515                         "createTextRange" => 
"3", 
 
  516                         "createTFoot" => 
"3", 
 
  517                         "createTHead" => 
"3", 
 
  522                         "CreateFolder" => 
"3", 
 
  523                         "CreateTextFile" => 
"3", 
 
  524                         "deleteCaption" => 
"3", 
 
  527                         "deleteTFoot" => 
"3", 
 
  528                         "deleteTHead" => 
"3", 
 
  529                         "doReadRequest" => 
"3", 
 
  533                         "DeleteFolder" => 
"3", 
 
  535                         "DriveExists" => 
"3", 
 
  536                         "elementFromPoint" => 
"3", 
 
  541                         "execCommand" => 
"3", 
 
  553                         "fromCharCode" => 
"3", 
 
  555                         "FolderExists" => 
"3", 
 
  556                         "getAttribute" => 
"3", 
 
  557                         "getBookmark" => 
"3", 
 
  560                         "getFullYear" => 
"3", 
 
  563                         "getMilliseconds" => 
"3", 
 
  568                         "getTimezoneOffset" => 
"3", 
 
  571                         "getUTCFullYear" => 
"3", 
 
  572                         "getUTCHours" => 
"3", 
 
  573                         "getUTCMilliseconds" => 
"3", 
 
  574                         "getUTCMinutes" => 
"3", 
 
  575                         "getUTCMonth" => 
"3", 
 
  576                         "getUTCSeconds" => 
"3", 
 
  580                         "GetAbsolutePathName" => 
"3", 
 
  581                         "GetBaseName" => 
"3", 
 
  583                         "GetDriveName" => 
"3", 
 
  584                         "GetExtensionName" => 
"3", 
 
  586                         "GetFileName" => 
"3", 
 
  588                         "GetParentFolderName" => 
"3", 
 
  589                         "GetSpecialFolder" => 
"3", 
 
  590                         "GetTempName" => 
"3", 
 
  593                         "insertAdjacentHTML" => 
"3", 
 
  594                         "insertAdjacentText" => 
"3", 
 
  600                         "isSubscribed" => 
"3", 
 
  604                         "javaEnabled" => 
"3", 
 
  607                         "lastIndexOf" => 
"3", 
 
  618                         "moveToBookmark" => 
"3", 
 
  619                         "moveToElementText" => 
"3", 
 
  620                         "moveToPoint" => 
"3", 
 
  627                         "OpenAsTextStream" => 
"3", 
 
  628                         "OpenTextFile" => 
"3", 
 
  634                         "previousPage" => 
"3", 
 
  636                         "queryCommandEnabled" => 
"3", 
 
  637                         "queryCommandIndeterm" => 
"3", 
 
  638                         "queryCommandState" => 
"3", 
 
  639                         "queryCommandSupported" => 
"3", 
 
  640                         "queryCommandValue" => 
"3", 
 
  644                         "removeAttribute" => 
"3", 
 
  657                         "scrollIntoView" => 
"3", 
 
  660                         "setAttribute" => 
"3", 
 
  662                         "setEndPoint" => 
"3", 
 
  663                         "setFullYear" => 
"3", 
 
  665                         "setInterval" => 
"3", 
 
  666                         "setMilliseconds" => 
"3", 
 
  673                         "setUTCFullYear" => 
"3", 
 
  674                         "setUTCHours" => 
"3", 
 
  675                         "setUTCMilliseconds" => 
"3", 
 
  676                         "setUTCMinutes" => 
"3", 
 
  677                         "setUTCMonth" => 
"3", 
 
  678                         "setUTCSeconds" => 
"3", 
 
  681                         "showModalDialog" => 
"3", 
 
  698                         "taintEnabled" => 
"3", 
 
  702                         "toGMTString" => 
"3", 
 
  703                         "toLocaleString" => 
"3", 
 
  704                         "toLowerCase" => 
"3", 
 
  706                         "toUpperCase" => 
"3", 
 
  707                         "toUTCString" => 
"3", 
 
  713                         "WriteBlankLines" => 
"3", 
 
  719                         "onafterupdate" => 
"4", 
 
  720                         "onbeforeunload" => 
"4", 
 
  721                         "onbeforeupdate" => 
"4", 
 
  726                         "ondataavailable" => 
"4", 
 
  727                         "ondatasetchanged" => 
"4", 
 
  728                         "ondatasetcomplete" => 
"4", 
 
  730                         "ondragstart" => 
"4", 
 
  732                         "onerrorupdate" => 
"4", 
 
  733                         "onfilterchange" => 
"4", 
 
  741                         "onmousedown" => 
"4", 
 
  742                         "onmousemove" => 
"4", 
 
  744                         "onmouseover" => 
"4", 
 
  746                         "onreadystatechange" => 
"4", 
 
  753                         "onselectstart" => 
"4", 
 
  781 $this->linkscripts      = array(