2 $BEAUT_PATH = realpath(
".").
"/Services/COPage/syntax_highlight/php";
 
    4 require_once(
"$BEAUT_PATH/Beautifier/HFile.php");
 
   20 $this->colours          = array(
"blue", 
"purple", 
"gray", 
"brown", 
"blue", 
"purple", 
"gray", 
"brown");
 
   21 $this->quotecolour              = 
"blue";
 
   22 $this->blockcommentcolour       = 
"green";
 
   23 $this->linecommentcolour        = 
"green";
 
   27 $this->indent                   = array();
 
   28 $this->unindent                 = array();
 
   32 $this->stringchars              = array(
"\"", 
"'");
 
   33 $this->delimiters               = array(
"~", 
"!", 
"@", 
"%", 
"^", 
"&", 
"*", 
"(", 
")", 
"-", 
"+", 
"=", 
"|", 
"\\", 
"/", 
"{", 
"}", 
"[", 
"]", 
":", 
";", 
"\"", 
"'", 
"<", 
">", 
" ", 
",", 
"      ", 
".", 
"?");
 
   38 $this->linecommenton            = array(
"//");
 
   39 $this->blockcommenton           = array(
"/*");
 
   40 $this->blockcommentoff          = array(
"*/");
 
   44 $this->keywords                 = array(
 
   67                         "FileSystemObject" => 
"1", 
 
  100                         "styleSheets" => 
"1", 
 
  106                         "userProfile" => 
"1", 
 
  111                         "activeElement" => 
"2", 
 
  118                         "appCodeName" => 
"2", 
 
  119                         "appMinorVersion" => 
"2", 
 
  123                         "availHeight" => 
"2", 
 
  125                         "AtEndOfLine" => 
"2", 
 
  126                         "AtEndOfStream" => 
"2", 
 
  128                         "AvailableSpace" => 
"2", 
 
  130                         "backgroundAttachment" => 
"2", 
 
  131                         "backgroundColor" => 
"2", 
 
  132                         "backgroundImage" => 
"2", 
 
  133                         "backgroundPosition" => 
"2", 
 
  134                         "backgroundPositionX" => 
"2", 
 
  135                         "backgroundPositionY" => 
"2", 
 
  136                         "backgroundRepeat" => 
"2", 
 
  140                         "bgProperties" => 
"2", 
 
  142                         "borderBottom" => 
"2", 
 
  143                         "borderBottomColor" => 
"2", 
 
  144                         "borderBottomStyle" => 
"2", 
 
  145                         "borderBottomWidth" => 
"2", 
 
  146                         "borderColor" => 
"2", 
 
  147                         "borderColorDark" => 
"2", 
 
  148                         "borderColorLight" => 
"2", 
 
  150                         "borderLeftColor" => 
"2", 
 
  151                         "borderLeftStyle" => 
"2", 
 
  152                         "borderLeftWidth" => 
"2", 
 
  153                         "borderRight" => 
"2", 
 
  154                         "borderRightColor" => 
"2", 
 
  155                         "borderRightStyle" => 
"2", 
 
  156                         "borderRightWidth" => 
"2", 
 
  157                         "borderStyle" => 
"2", 
 
  159                         "borderTopColor" => 
"2", 
 
  160                         "borderTopStyle" => 
"2", 
 
  161                         "borderTopWidth" => 
"2", 
 
  162                         "borderWidth" => 
"2", 
 
  163                         "bottomMargin" => 
"2", 
 
  164                         "browserLanguage" => 
"2", 
 
  165                         "bufferDepth" => 
"2", 
 
  168                         "cancelBubble" => 
"2", 
 
  171                         "cellPadding" => 
"2", 
 
  172                         "cellSpacing" => 
"2", 
 
  178                         "clientHeight" => 
"2", 
 
  179                         "clientInformation" => 
"2", 
 
  182                         "clientWidth" => 
"2", 
 
  196                         "connectionSpeed" => 
"2", 
 
  197                         "constructorCount" => 
"2", 
 
  200                         "cookieEnabled" => 
"2", 
 
  207                         "CompareMode" => 
"2", 
 
  210                         "dataFormatAs" => 
"2", 
 
  211                         "dataPageSize" => 
"2", 
 
  213                         "defaultCharset" => 
"2", 
 
  214                         "defaultChecked" => 
"2", 
 
  215                         "defaultSelected" => 
"2", 
 
  216                         "defaultStatus" => 
"2", 
 
  217                         "defaultValue" => 
"2", 
 
  219                         "dialogArguments" => 
"2", 
 
  220                         "dialogHeight" => 
"2", 
 
  223                         "dialogWidth" => 
"2", 
 
  229                         "DriveLetter" => 
"2", 
 
  231                         "DateCreated" => 
"2", 
 
  232                         "DateLastAccessed" => 
"2", 
 
  233                         "DateLastModified" => 
"2", 
 
  239                         "fileCreatedDate" => 
"2", 
 
  240                         "fileModifiedDate" => 
"2", 
 
  242                         "fileUpdatedDate" => 
"2", 
 
  247                         "fontSmoothingEnabled" => 
"2", 
 
  249                         "fontVariant" => 
"2", 
 
  253                         "frameBorder" => 
"2", 
 
  254                         "frameSpacing" => 
"2", 
 
  255                         "fromElement" => 
"2", 
 
  271                         "indeterminate" => 
"2", 
 
  280                         "IsRootFolder" => 
"2", 
 
  288                         "lastModified" => 
"2", 
 
  291                         "leftContext" => 
"2", 
 
  294                         "letterSpacing" => 
"2", 
 
  299                         "listStyleImage" => 
"2", 
 
  300                         "listStylePosition" => 
"2", 
 
  301                         "listStyleType" => 
"2", 
 
  312                         "marginBottom" => 
"2", 
 
  313                         "marginHeight" => 
"2", 
 
  315                         "marginRight" => 
"2", 
 
  317                         "marginWidth" => 
"2", 
 
  329                         "NEGATIVE_INFINITY" => 
"2", 
 
  335                         "offscreenBuffering" => 
"2", 
 
  336                         "offsetHeight" => 
"2", 
 
  338                         "offsetParent" => 
"2", 
 
  340                         "offsetWidth" => 
"2", 
 
  348                         "owningElement" => 
"2", 
 
  350                         "paddingBottom" => 
"2", 
 
  351                         "paddingLeft" => 
"2", 
 
  352                         "paddingRight" => 
"2", 
 
  354                         "pageBreakAfter" => 
"2", 
 
  355                         "pageBreakBefore" => 
"2", 
 
  358                         "parentElement" => 
"2", 
 
  359                         "parentStyleSheet" => 
"2", 
 
  360                         "parentTextEdit" => 
"2", 
 
  361                         "parentWindow" => 
"2", 
 
  363                         "pixelHeight" => 
"2", 
 
  368                         "pluginspage" => 
"2", 
 
  379                         "POSITIVE_INFINITY" => 
"2", 
 
  383                         "recordNumber" => 
"2", 
 
  387                         "returnValue" => 
"2", 
 
  389                         "rightContext" => 
"2", 
 
  390                         "rightMargin" => 
"2", 
 
  396                         "scrollAmount" => 
"2", 
 
  397                         "scrollDelay" => 
"2", 
 
  398                         "scrollHeight" => 
"2", 
 
  402                         "scrollWidth" => 
"2", 
 
  404                         "sectionRowIndex" => 
"2", 
 
  406                         "selectedIndex" => 
"2", 
 
  411                         "sourceIndex" => 
"2", 
 
  419                         "systemLanguage" => 
"2", 
 
  420                         "SerialNumber" => 
"2", 
 
  433                         "textDecoration" => 
"2", 
 
  434                         "textDecorationBlink" => 
"2", 
 
  435                         "textDecorationLineThrough" => 
"2", 
 
  436                         "textDecorationNone" => 
"2", 
 
  437                         "textDecorationOverline" => 
"2", 
 
  438                         "textDecorationUnderline" => 
"2", 
 
  440                         "textTransform" => 
"2", 
 
  451                         "updateInterval" => 
"2", 
 
  455                         "userLanguage" => 
"2", 
 
  459                         "verticalAlign" => 
"2", 
 
  475                         "addReadRequest" => 
"3", 
 
  495                         "clearInterval" => 
"3", 
 
  496                         "clearRequest" => 
"3", 
 
  497                         "clearTimeout" => 
"3", 
 
  500                         "compareEndPoints" => 
"3", 
 
  506                         "createCaption" => 
"3", 
 
  507                         "createElement" => 
"3", 
 
  508                         "createRange" => 
"3", 
 
  509                         "createStyleSheet" => 
"3", 
 
  510                         "createTextRange" => 
"3", 
 
  511                         "createTFoot" => 
"3", 
 
  512                         "createTHead" => 
"3", 
 
  517                         "CreateFolder" => 
"3", 
 
  518                         "CreateTextFile" => 
"3", 
 
  519                         "deleteCaption" => 
"3", 
 
  522                         "deleteTFoot" => 
"3", 
 
  523                         "deleteTHead" => 
"3", 
 
  524                         "doReadRequest" => 
"3", 
 
  528                         "DeleteFolder" => 
"3", 
 
  530                         "DriveExists" => 
"3", 
 
  531                         "elementFromPoint" => 
"3", 
 
  536                         "execCommand" => 
"3", 
 
  548                         "fromCharCode" => 
"3", 
 
  550                         "FolderExists" => 
"3", 
 
  551                         "getAttribute" => 
"3", 
 
  552                         "getBookmark" => 
"3", 
 
  555                         "getFullYear" => 
"3", 
 
  558                         "getMilliseconds" => 
"3", 
 
  563                         "getTimezoneOffset" => 
"3", 
 
  566                         "getUTCFullYear" => 
"3", 
 
  567                         "getUTCHours" => 
"3", 
 
  568                         "getUTCMilliseconds" => 
"3", 
 
  569                         "getUTCMinutes" => 
"3", 
 
  570                         "getUTCMonth" => 
"3", 
 
  571                         "getUTCSeconds" => 
"3", 
 
  575                         "GetAbsolutePathName" => 
"3", 
 
  576                         "GetBaseName" => 
"3", 
 
  578                         "GetDriveName" => 
"3", 
 
  579                         "GetExtensionName" => 
"3", 
 
  581                         "GetFileName" => 
"3", 
 
  583                         "GetParentFolderName" => 
"3", 
 
  584                         "GetSpecialFolder" => 
"3", 
 
  585                         "GetTempName" => 
"3", 
 
  588                         "insertAdjacentHTML" => 
"3", 
 
  589                         "insertAdjacentText" => 
"3", 
 
  595                         "isSubscribed" => 
"3", 
 
  599                         "javaEnabled" => 
"3", 
 
  602                         "lastIndexOf" => 
"3", 
 
  613                         "moveToBookmark" => 
"3", 
 
  614                         "moveToElementText" => 
"3", 
 
  615                         "moveToPoint" => 
"3", 
 
  622                         "OpenAsTextStream" => 
"3", 
 
  623                         "OpenTextFile" => 
"3", 
 
  629                         "previousPage" => 
"3", 
 
  631                         "queryCommandEnabled" => 
"3", 
 
  632                         "queryCommandIndeterm" => 
"3", 
 
  633                         "queryCommandState" => 
"3", 
 
  634                         "queryCommandSupported" => 
"3", 
 
  635                         "queryCommandValue" => 
"3", 
 
  639                         "removeAttribute" => 
"3", 
 
  652                         "scrollIntoView" => 
"3", 
 
  655                         "setAttribute" => 
"3", 
 
  657                         "setEndPoint" => 
"3", 
 
  658                         "setFullYear" => 
"3", 
 
  660                         "setInterval" => 
"3", 
 
  661                         "setMilliseconds" => 
"3", 
 
  668                         "setUTCFullYear" => 
"3", 
 
  669                         "setUTCHours" => 
"3", 
 
  670                         "setUTCMilliseconds" => 
"3", 
 
  671                         "setUTCMinutes" => 
"3", 
 
  672                         "setUTCMonth" => 
"3", 
 
  673                         "setUTCSeconds" => 
"3", 
 
  676                         "showModalDialog" => 
"3", 
 
  693                         "taintEnabled" => 
"3", 
 
  697                         "toGMTString" => 
"3", 
 
  698                         "toLocaleString" => 
"3", 
 
  699                         "toLowerCase" => 
"3", 
 
  701                         "toUpperCase" => 
"3", 
 
  702                         "toUTCString" => 
"3", 
 
  708                         "WriteBlankLines" => 
"3", 
 
  714                         "onafterupdate" => 
"4", 
 
  715                         "onbeforeunload" => 
"4", 
 
  716                         "onbeforeupdate" => 
"4", 
 
  721                         "ondataavailable" => 
"4", 
 
  722                         "ondatasetchanged" => 
"4", 
 
  723                         "ondatasetcomplete" => 
"4", 
 
  725                         "ondragstart" => 
"4", 
 
  727                         "onerrorupdate" => 
"4", 
 
  728                         "onfilterchange" => 
"4", 
 
  736                         "onmousedown" => 
"4", 
 
  737                         "onmousemove" => 
"4", 
 
  739                         "onmouseover" => 
"4", 
 
  741                         "onreadystatechange" => 
"4", 
 
  748                         "onselectstart" => 
"4", 
 
  768                         "AddAttribute" => 
"6", 
 
  769                         "AddAttrubutes" => 
"6", 
 
  775                         "AttributeEquals" => 
"6", 
 
  776                         "AttributeToInt" => 
"6", 
 
  778                         "CancelRequest" => 
"6", 
 
  779                         "CheckDesktopShortcuts" => 
"7", 
 
  780                         "CheckStartMenuLinks" => 
"7", 
 
  781                         "CopyFileFromUrl" => 
"7", 
 
  782                         "CopyMapFile" => 
"6", 
 
  783                         "CreateXMLEntity" => 
"6", 
 
  785                         "DeleteAttribute" => 
"6", 
 
  786                         "DeleteDirectory" => 
"6", 
 
  787                         "DeleteEntities" => 
"6", 
 
  788                         "DeleteEntry" => 
"6", 
 
  790                         "DeleteValue" => 
"6", 
 
  793                         "GetAllComponentInfo" => 
"6", 
 
  794                         "GetAllComponents" => 
"6", 
 
  795                         "GetAllGroupInfo" => 
"6", 
 
  796                         "GetAllInfoForAllComponents" => 
"6", 
 
  797                         "GetAllKeyValues" => 
"6", 
 
  799                         "GetAppInstallPath" => 
"6", 
 
  801                         "GetApplicationInstallHistory" => 
"7", 
 
  802                         "GetAttribute" => 
"6", 
 
  803                         "GetAttributeInfo" => 
"6", 
 
  804                         "GetClientForMSNetSettings" => 
"6", 
 
  805                         "GetComponentHistory" => 
"6", 
 
  806                         "GetComponentIds" => 
"6", 
 
  807                         "GetComponentInfo" => 
"6", 
 
  808                         "GetDeviceInfo" => 
"6", 
 
  809                         "GetDirAttrs" => 
"6", 
 
  810                         "GetDirListing" => 
"6", 
 
  811                         "GetDriverServicesInfo" => 
"7", 
 
  812                         "GetEntities" => 
"6", 
 
  813                         "GetEntitiesCompare" => 
"6", 
 
  816                         "GetEnvironmentVariable" => 
"6", 
 
  817                         "GetEnvironmentVariables" => 
"6", 
 
  818                         "GetEventLogEntries" => 
"7", 
 
  819                         "GetFullPath" => 
"6", 
 
  820                         "GetGeneralInfo" => 
"6", 
 
  821                         "GetGroupInfo" => 
"6", 
 
  822                         "GetInstalledApps" => 
"6", 
 
  823                         "GetInstalledDrivers" => 
"7", 
 
  824                         "GetInstalledFileHistory" => 
"6", 
 
  825                         "GetKeyValueName" => 
"6", 
 
  826                         "GetKeyboardInfo" => 
"7", 
 
  827                         "GetLoadedModules" => 
"6", 
 
  828                         "GetLoadedModulesByProcess" => 
"6", 
 
  829                         "GetLoadedModulesForProcess" => 
"6", 
 
  830                         "GetLocalDriveInfo" => 
"6", 
 
  832                         "GetMetaFrameId" => 
"6", 
 
  833                         "GetMotherboardInfo" => 
"7", 
 
  834                         "GetMotiveInstallPath" => 
"6", 
 
  835                         "GetMouseInfo" => 
"7", 
 
  837                         "GetNetConfig" => 
"6", 
 
  838                         "GetNetworkAdapters" => 
"6", 
 
  839                         "GetNetworkBindings" => 
"6", 
 
  840                         "GetNetworkIdentification" => 
"6", 
 
  841                         "GetNetworkProtocols" => 
"6", 
 
  842                         "GetNetworkServices" => 
"6", 
 
  843                         "GetNumAttributes" => 
"6", 
 
  844                         "GetNumEntities" => 
"6", 
 
  845                         "GetOLEServers" => 
"7", 
 
  847                         "GetObjectProperty" => 
"6", 
 
  849                         "GetOperatingSystemName" => 
"6", 
 
  851                         "GetParentAttribute" => 
"6", 
 
  852                         "GetPrimaryNetworkLogon" => 
"6", 
 
  853                         "GetProblemDescription" => 
"6", 
 
  854                         "GetProblemSummary" => 
"6", 
 
  855                         "GetProperties" => 
"6", 
 
  856                         "GetPropertiesAndVersions" => 
"6", 
 
  857                         "GetResourceInfo" => 
"6", 
 
  858                         "GetReturnCode" => 
"6", 
 
  859                         "GetScsiAdapterInfo" => 
"7", 
 
  861                         "GetServicesInfo" => 
"6", 
 
  862                         "GetSubFrameId" => 
"6", 
 
  866                         "GetSystemDllChangeHistory" => 
"7", 
 
  867                         "GetSystemDllInfo" => 
"7", 
 
  868                         "GetTCPIPSettings" => 
"6", 
 
  869                         "GetTaskList" => 
"7", 
 
  870                         "GetUserName" => 
"6", 
 
  872                         "GetVersions" => 
"6", 
 
  873                         "GetVideoAdapterInfo" => 
"7", 
 
  874                         "GetWinIniOLEServers" => 
"6", 
 
  875                         "HasWBEMSupport" => 
"6", 
 
  877                         "IsGUIAllowed" => 
"6", 
 
  878                         "IsInteresting" => 
"6", 
 
  879                         "IsKeyExcluded" => 
"6", 
 
  880                         "IsPathExcluded" => 
"6", 
 
  881                         "IsProcessRunning" => 
"6", 
 
  883                         "IsWindows95" => 
"6", 
 
  884                         "IsWindows98" => 
"6", 
 
  885                         "IsWindowsNT" => 
"6", 
 
  888                         "LogXMLEntities" => 
"6", 
 
  889                         "LogXMLEntity" => 
"6", 
 
  890                         "MakeDirectory" => 
"6", 
 
  891                         "MultiSZToEnum" => 
"6", 
 
  896                         "ReadAppInstallPath" => 
"6", 
 
  897                         "ReadKeyValueName" => 
"6", 
 
  901                         "RegisteredWithDmiSP" => 
"6", 
 
  903                         "RunWQLQuery" => 
"6", 
 
  905                         "SearchReplace" => 
"6", 
 
  906                         "SetDirAttrs" => 
"6", 
 
  907                         "SetFileAttrs" => 
"6", 
 
  908                         "SetInteresting" => 
"6", 
 
  910                         "SetUninteresting" => 
"6", 
 
  911                         "ShowEditDlg" => 
"6", 
 
  912                         "ShowInfoDlg" => 
"6", 
 
  913                         "ShowListDlg" => 
"6", 
 
  914                         "ShowMultiSelectListDlg" => 
"6", 
 
  915                         "ShowOKCancelDlg" => 
"6", 
 
  916                         "ShowYesNoDlg" => 
"6", 
 
  917                         "StartBrowser" => 
"6", 
 
  918                         "StopBrowser" => 
"6", 
 
  921                         "AddIniFileEntry" => 
"7", 
 
  922                         "AddRegistryKey" => 
"7", 
 
  923                         "AddRegistryValue" => 
"7", 
 
  924                         "BeginDisplayGroup" => 
"7", 
 
  925                         "CheckDefaultRegistryValue" => 
"7", 
 
  926                         "CheckDirectoryAttributes" => 
"7", 
 
  927                         "CheckFileExists" => 
"7", 
 
  928                         "CheckFileProperties" => 
"7", 
 
  929                         "CheckFilePropertiesAndVersions" => 
"7", 
 
  930                         "CheckFileVersions" => 
"7", 
 
  931                         "CheckIniFileEntry" => 
"7", 
 
  932                         "CheckRegistryValue" => 
"7", 
 
  933                         "DeleteIniFileEntry" => 
"7", 
 
  934                         "DeleteRegistryKey" => 
"7", 
 
  935                         "DeleteRegistryValue" => 
"7", 
 
  936                         "EndDisplayGroup" => 
"7", 
 
  937                         "GetAllRegistryKeyValues" => 
"7", 
 
  938                         "GetDefaultRegistryValue" => 
"7", 
 
  939                         "GetDiagnosticsReport" => 
"7", 
 
  940                         "GetDirectoryAttributes" => 
"7", 
 
  941                         "GetDirectoryListing" => 
"7", 
 
  942                         "GetEnvironmentVariableInfo" => 
"7", 
 
  943                         "GetFileProperties" => 
"7", 
 
  944                         "GetFilePropertiesAndVersions" => 
"7", 
 
  945                         "GetFileVersions" => 
"7", 
 
  946                         "GetGeneralSystemInfo" => 
"7", 
 
  947                         "GetHardwareDeviceInfo" => 
"7", 
 
  948                         "GetIniFileEntry" => 
"7", 
 
  949                         "GetInstalledAppsList" => 
"7", 
 
  950                         "GetLoadedModuleInfo" => 
"7", 
 
  951                         "GetLoadedModuleInfoForAllProcesses" => 
"7", 
 
  952                         "GetLoadedModuleInfoForProcesses" => 
"7", 
 
  953                         "GetMapParam" => 
"7", 
 
  954                         "GetNetworkAdapterInfo" => 
"7", 
 
  955                         "GetNetworkConfigurationInfo" => 
"7", 
 
  956                         "GetProcessList" => 
"7", 
 
  957                         "GetRegistrySubkeys" => 
"7", 
 
  958                         "GetRegistrySubtree" => 
"7", 
 
  959                         "GetRegistryValue" => 
"7", 
 
  960                         "GetResourceUsageSummary" => 
"7", 
 
  961                         "GetScreenSnaHFileot" => 
"7", 
 
  962                         "GetWin32ServicesInfo" => 
"7", 
 
  963                         "RunProgramAsync" => 
"7", 
 
  964                         "RunProgramSync" => 
"7", 
 
  965                         "SetDirectoryAttributes" => 
"7", 
 
  966                         "SetFileAttributes" => 
"7", 
 
  967                         "SetSelfServiceAnswer" => 
"7", 
 
  968                         "SetSelfServiceSearchString" => 
"7", 
 
  969                         "SetSelfServiceUrl" => 
"7", 
 
 1004 $this->linkscripts      = array(
 
 1012                         "8" => 
"donothing");