<?php
$BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
if (!isset ($BEAUT_PATH)) return;
require_once("$BEAUT_PATH/Beautifier/HFile.php");

class HFile_jscript extends HFile
{

function HFile_jscript(){

$this->HFile();	

/*************************************/
// Beautifier Highlighting Configuration File 
// JScript
/*************************************/
// Flags

$this->nocase            	= "0";
$this->notrim            	= "0";
$this->perl              	= "0";

// Colours

$this->colours        	= array("blue", "purple", "gray", "brown", "blue");
$this->quotecolour       	= "blue";
$this->blockcommentcolour	= "green";
$this->linecommentcolour 	= "green";

// Indent Strings

$this->indent            	= array("{");
$this->unindent          	= array("}");

// String characters and delimiters

$this->stringchars       	= array("\"", "'");
$this->delimiters        	= array("~", "!", "@", "%", "^", "&", "*", "(", ")", "-", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ":", ";", "\"", "'", "<", ">", " ", ",", "	", ".", "?");
$this->escchar           	= "\\";

// Comment settings

$this->linecommenton     	= array("//");
$this->blockcommenton    	= array("/*");
$this->blockcommentoff   	= array("*/");

// Keywords (keyword mapping to colour number)

$this->keywords          	= array(
			"all" => "1", 
			"anchors" => "1", 
			"applets" => "1", 
			"areas" => "1", 
			"Array" => "1", 
			"Boolean" => "1", 
			"cells" => "1", 
			"checkbox" => "1", 
			"children" => "1", 
			"Collection" => "1", 
			"Date" => "1", 
			"Dictionary" => "1", 
			"Drive" => "1", 
			"Drives" => "1", 
			"DT" => "1", 
			"document" => "1", 
			"elements" => "1", 
			"embeds" => "1", 
			"external" => "1", 
			"Enumerator" => "1", 
			"File" => "1", 
			"Files" => "1", 
			"FileSystemObject" => "1", 
			"Folder" => "1", 
			"Folders" => "1", 
			"Function" => "1", 
			"false" => "1", 
			"filters" => "1", 
			"forms" => "1", 
			"frames" => "1", 
			"Global" => "1", 
			"hidden" => "1", 
			"history" => "1", 
			"image" => "1", 
			"images" => "1", 
			"imports" => "1", 
			"layer" => "1", 
			"layers" => "1", 
			"links" => "1", 
			"Math" => "1", 
			"navigator" => "1", 
			"Number" => "1", 
			"Object" => "1", 
			"options" => "1", 
			"password" => "1", 
			"plugins" => "1", 
			"radio" => "1", 
			"reset" => "1", 
			"rows" => "1", 
			"rules" => "1", 
			"RegExp" => "1", 
			"screen" => "1", 
			"scripts" => "1", 
			"selection" => "1", 
			"styleSheet" => "1", 
			"styleSheets" => "1", 
			"String" => "1", 
			"TextRange" => "1", 
			"TextStream" => "1", 
			"tbodies" => "1", 
			"true" => "1", 
			"userProfile" => "1", 
			"VBArray" => "1", 
			"window" => "1", 
			"accessKey" => "2", 
			"action" => "2", 
			"activeElement" => "2", 
			"align" => "2", 
			"aLink" => "2", 
			"alinkColor" => "2", 
			"alt" => "2", 
			"altHTML" => "2", 
			"altKey" => "2", 
			"appCodeName" => "2", 
			"appMinorVersion" => "2", 
			"appName" => "2", 
			"appVersion" => "2", 
			"arguments" => "2", 
			"availHeight" => "2", 
			"availWidth" => "2", 
			"AtEndOfLine" => "2", 
			"AtEndOfStream" => "2", 
			"Attributes" => "2", 
			"AvailableSpace" => "2", 
			"background" => "2", 
			"backgroundAttachment" => "2", 
			"backgroundColor" => "2", 
			"backgroundImage" => "2", 
			"backgroundPosition" => "2", 
			"backgroundPositionX" => "2", 
			"backgroundPositionY" => "2", 
			"backgroundRepeat" => "2", 
			"balance" => "2", 
			"behavior" => "2", 
			"bgColor" => "2", 
			"bgProperties" => "2", 
			"border" => "2", 
			"borderBottom" => "2", 
			"borderBottomColor" => "2", 
			"borderBottomStyle" => "2", 
			"borderBottomWidth" => "2", 
			"borderColor" => "2", 
			"borderColorDark" => "2", 
			"borderColorLight" => "2", 
			"borderLeft" => "2", 
			"borderLeftColor" => "2", 
			"borderLeftStyle" => "2", 
			"borderLeftWidth" => "2", 
			"borderRight" => "2", 
			"borderRightColor" => "2", 
			"borderRightStyle" => "2", 
			"borderRightWidth" => "2", 
			"borderStyle" => "2", 
			"borderTop" => "2", 
			"borderTopColor" => "2", 
			"borderTopStyle" => "2", 
			"borderTopWidth" => "2", 
			"borderWidth" => "2", 
			"bottomMargin" => "2", 
			"browserLanguage" => "2", 
			"bufferDepth" => "2", 
			"button" => "2", 
			"caller" => "2", 
			"cancelBubble" => "2", 
			"caption" => "2", 
			"cellIndex" => "2", 
			"cellPadding" => "2", 
			"cellSpacing" => "2", 
			"charset" => "2", 
			"checked" => "2", 
			"classid" => "2", 
			"className" => "2", 
			"clear" => "2", 
			"clientHeight" => "2", 
			"clientInformation" => "2", 
			"clientLeft" => "2", 
			"clientTop" => "2", 
			"clientWidth" => "2", 
			"clientX" => "2", 
			"clientY" => "2", 
			"clip" => "2", 
			"closed" => "2", 
			"code" => "2", 
			"codeBase" => "2", 
			"codeType" => "2", 
			"color" => "2", 
			"colorDepth" => "2", 
			"cols" => "2", 
			"colSpan" => "2", 
			"compact" => "2", 
			"complete" => "2", 
			"connectionSpeed" => "2", 
			"constructorCount" => "2", 
			"content" => "2", 
			"cookie" => "2", 
			"cookieEnabled" => "2", 
			"coords" => "2", 
			"cpuClass" => "2", 
			"cssText" => "2", 
			"ctrlKey" => "2", 
			"cursor" => "2", 
			"Column" => "2", 
			"CompareMode" => "2", 
			"data" => "2", 
			"dataFld" => "2", 
			"dataFormatAs" => "2", 
			"dataPageSize" => "2", 
			"dataSrc" => "2", 
			"defaultCharset" => "2", 
			"defaultChecked" => "2", 
			"defaultSelected" => "2", 
			"defaultStatus" => "2", 
			"defaultValue" => "2", 
			"defer" => "2", 
			"dialogArguments" => "2", 
			"dialogHeight" => "2", 
			"dialogLeft" => "2", 
			"dialogTop" => "2", 
			"dialogWidth" => "2", 
			"direction" => "2", 
			"disabled" => "2", 
			"display" => "2", 
			"domain" => "2", 
			"dynsrc" => "2", 
			"DriveLetter" => "2", 
			"DriveType" => "2", 
			"DateCreated" => "2", 
			"DateLastAccessed" => "2", 
			"DateLastModified" => "2", 
			"encoding" => "2", 
			"event" => "2", 
			"expando" => "2", 
			"face" => "2", 
			"fgColor" => "2", 
			"fileCreatedDate" => "2", 
			"fileModifiedDate" => "2", 
			"fileSize" => "2", 
			"fileUpdatedDate" => "2", 
			"filter" => "2", 
			"font" => "2", 
			"fontFamily" => "2", 
			"fontSize" => "2", 
			"fontSmoothingEnabled" => "2", 
			"fontStyle" => "2", 
			"fontVariant" => "2", 
			"fontWeight" => "2", 
			"form" => "2", 
			"frame" => "2", 
			"frameBorder" => "2", 
			"frameSpacing" => "2", 
			"fromElement" => "2", 
			"FileSystem" => "2", 
			"FreeSpace" => "2", 
			"global" => "2", 
			"hash" => "2", 
			"height" => "2", 
			"host" => "2", 
			"hostname" => "2", 
			"href" => "2", 
			"hspace" => "2", 
			"htmlFor" => "2", 
			"htmlText" => "2", 
			"httpEquiv" => "2", 
			"Hidden" => "2", 
			"id" => "2", 
			"ignoreCase" => "2", 
			"indeterminate" => "2", 
			"index" => "2", 
			"innerHTML" => "2", 
			"innerText" => "2", 
			"input" => "2", 
			"isMap" => "2", 
			"isTextEdit" => "2", 
			"Infinity" => "2", 
			"IsReady" => "2", 
			"IsRootFolder" => "2", 
			"Item" => "2", 
			"Key" => "2", 
			"keyCode" => "2", 
			"lang" => "2", 
			"language" => "2", 
			"lastIndex" => "2", 
			"lastMatch" => "2", 
			"lastModified" => "2", 
			"lastParent" => "2", 
			"left" => "2", 
			"leftContext" => "2", 
			"leftMargin" => "2", 
			"length" => "2", 
			"letterSpacing" => "2", 
			"lineHeight" => "2", 
			"link" => "2", 
			"linkColor" => "2", 
			"listStyle" => "2", 
			"listStyleImage" => "2", 
			"listStylePosition" => "2", 
			"listStyleType" => "2", 
			"location" => "2", 
			"loop" => "2", 
			"lowsrc" => "2", 
			"Line" => "2", 
			"LN10" => "2", 
			"LN2" => "2", 
			"LOG10E" => "2", 
			"LOG2E" => "2", 
			"map" => "2", 
			"margin" => "2", 
			"marginBottom" => "2", 
			"marginHeight" => "2", 
			"marginLeft" => "2", 
			"marginRight" => "2", 
			"marginTop" => "2", 
			"marginWidth" => "2", 
			"maxLength" => "2", 
			"media" => "2", 
			"method" => "2", 
			"mimeTypes" => "2", 
			"multiline" => "2", 
			"multiple" => "2", 
			"MAX_VALUE" => "2", 
			"Methods" => "2", 
			"MIN_VALUE" => "2", 
			"Name" => "2", 
			"NaN" => "2", 
			"NEGATIVE_INFINITY" => "2", 
			"noHref" => "2", 
			"noResize" => "2", 
			"noShade" => "2", 
			"noWrap" => "2", 
			"object" => "2", 
			"offscreenBuffering" => "2", 
			"offsetHeight" => "2", 
			"offsetLeft" => "2", 
			"offsetParent" => "2", 
			"offsetTop" => "2", 
			"offsetWidth" => "2", 
			"offsetX" => "2", 
			"offsetY" => "2", 
			"onLine" => "2", 
			"opener" => "2", 
			"outerHTML" => "2", 
			"outerText" => "2", 
			"overflow" => "2", 
			"owningElement" => "2", 
			"padding" => "2", 
			"paddingBottom" => "2", 
			"paddingLeft" => "2", 
			"paddingRight" => "2", 
			"paddingTop" => "2", 
			"pageBreakAfter" => "2", 
			"pageBreakBefore" => "2", 
			"palette" => "2", 
			"parent" => "2", 
			"parentElement" => "2", 
			"parentStyleSheet" => "2", 
			"parentTextEdit" => "2", 
			"parentWindow" => "2", 
			"pathname" => "2", 
			"pixelHeight" => "2", 
			"pixelLeft" => "2", 
			"pixelTop" => "2", 
			"pixelWidth" => "2", 
			"platform" => "2", 
			"pluginspage" => "2", 
			"port" => "2", 
			"posHeight" => "2", 
			"position" => "2", 
			"posLeft" => "2", 
			"posTop" => "2", 
			"posWidth" => "2", 
			"protocol" => "2", 
			"prototype" => "2", 
			"Path" => "2", 
			"PI" => "2", 
			"POSITIVE_INFINITY" => "2", 
			"readOnly" => "2", 
			"readyState" => "2", 
			"reason" => "2", 
			"recordNumber" => "2", 
			"recordset" => "2", 
			"referrer" => "2", 
			"rel" => "2", 
			"returnValue" => "2", 
			"rev" => "2", 
			"rightContext" => "2", 
			"rightMargin" => "2", 
			"rowIndex" => "2", 
			"rowSpan" => "2", 
			"RootFolder" => "2", 
			"screenX" => "2", 
			"screenY" => "2", 
			"scrollAmount" => "2", 
			"scrollDelay" => "2", 
			"scrollHeight" => "2", 
			"scrolling" => "2", 
			"scrollLeft" => "2", 
			"scrollTop" => "2", 
			"scrollWidth" => "2", 
			"search" => "2", 
			"sectionRowIndex" => "2", 
			"selected" => "2", 
			"selectedIndex" => "2", 
			"self" => "2", 
			"shape" => "2", 
			"shiftKey" => "2", 
			"source" => "2", 
			"sourceIndex" => "2", 
			"span" => "2", 
			"src" => "2", 
			"srcElement" => "2", 
			"srcFilter" => "2", 
			"status" => "2", 
			"style" => "2", 
			"styleFloat" => "2", 
			"systemLanguage" => "2", 
			"SerialNumber" => "2", 
			"ShareName" => "2", 
			"ShortName" => "2", 
			"ShortPath" => "2", 
			"Size" => "2", 
			"SQRT1_2" => "2", 
			"SQRT2" => "2", 
			"SubFolders" => "2", 
			"tabIndex" => "2", 
			"tagName" => "2", 
			"target" => "2", 
			"text" => "2", 
			"textAlign" => "2", 
			"textDecoration" => "2", 
			"textDecorationBlink" => "2", 
			"textDecorationLineThrough" => "2", 
			"textDecorationNone" => "2", 
			"textDecorationOverline" => "2", 
			"textDecorationUnderline" => "2", 
			"textIndent" => "2", 
			"textTransform" => "2", 
			"tfoot" => "2", 
			"thead" => "2", 
			"title" => "2", 
			"toElement" => "2", 
			"top" => "2", 
			"topMargin" => "2", 
			"trueSpeed" => "2", 
			"TotalSize" => "2", 
			"Type" => "2", 
			"units" => "2", 
			"updateInterval" => "2", 
			"urn" => "2", 
			"useMap" => "2", 
			"userAgent" => "2", 
			"userLanguage" => "2", 
			"URL" => "2", 
			"vAlign" => "2", 
			"value" => "2", 
			"verticalAlign" => "2", 
			"visibility" => "2", 
			"vLink" => "2", 
			"vlinkColor" => "2", 
			"volume" => "2", 
			"vspace" => "2", 
			"VolumeName" => "2", 
			"width" => "2", 
			"wrap" => "2", 
			"x" => "2", 
			"y" => "2", 
			"zIndex" => "2", 
			"abs" => "3", 
			"acos" => "3", 
			"addChannel" => "3", 
			"addImport" => "3", 
			"addReadRequest" => "3", 
			"addRule" => "3", 
			"alert" => "3", 
			"anchor" => "3", 
			"asin" => "3", 
			"assign" => "3", 
			"atan" => "3", 
			"atan2" => "3", 
			"Add" => "3", 
			"AddFolders" => "3", 
			"AtEnd" => "3", 
			"back" => "3", 
			"big" => "3", 
			"blink" => "3", 
			"blur" => "3", 
			"bold" => "3", 
			"BuildPath" => "3", 
			"ceil" => "3", 
			"charAt" => "3", 
			"charCodeAt" => "3", 
			"clearInterval" => "3", 
			"clearRequest" => "3", 
			"clearTimeout" => "3", 
			"click" => "3", 
			"collapse" => "3", 
			"compareEndPoints" => "3", 
			"compile" => "3", 
			"concat" => "3", 
			"confirm" => "3", 
			"contains" => "3", 
			"cos" => "3", 
			"createCaption" => "3", 
			"createElement" => "3", 
			"createRange" => "3", 
			"createStyleSheet" => "3", 
			"createTextRange" => "3", 
			"createTFoot" => "3", 
			"createTHead" => "3", 
			"Close" => "3", 
			"Copy" => "3", 
			"CopyFile" => "3", 
			"CopyFolder" => "3", 
			"CreateFolder" => "3", 
			"CreateTextFile" => "3", 
			"deleteCaption" => "3", 
			"deleteCell" => "3", 
			"deleteRow" => "3", 
			"deleteTFoot" => "3", 
			"deleteTHead" => "3", 
			"doReadRequest" => "3", 
			"duplicate" => "3", 
			"Delete" => "3", 
			"DeleteFile" => "3", 
			"DeleteFolder" => "3", 
			"Dimensions" => "3", 
			"DriveExists" => "3", 
			"elementFromPoint" => "3", 
			"empty" => "3", 
			"escape" => "3", 
			"eval" => "3", 
			"exec" => "3", 
			"execCommand" => "3", 
			"execScript" => "3", 
			"exp" => "3", 
			"expand" => "3", 
			"Exists" => "3", 
			"findText" => "3", 
			"fixed" => "3", 
			"floor" => "3", 
			"focus" => "3", 
			"fontcolor" => "3", 
			"fontsize" => "3", 
			"forward" => "3", 
			"fromCharCode" => "3", 
			"FileExists" => "3", 
			"FolderExists" => "3", 
			"getAttribute" => "3", 
			"getBookmark" => "3", 
			"getDate" => "3", 
			"getDay" => "3", 
			"getFullYear" => "3", 
			"getHours" => "3", 
			"getItem" => "3", 
			"getMilliseconds" => "3", 
			"getMinutes" => "3", 
			"getMonth" => "3", 
			"getSeconds" => "3", 
			"getTime" => "3", 
			"getTimezoneOffset" => "3", 
			"getUTCDate" => "3", 
			"getUTCDay" => "3", 
			"getUTCFullYear" => "3", 
			"getUTCHours" => "3", 
			"getUTCMilliseconds" => "3", 
			"getUTCMinutes" => "3", 
			"getUTCMonth" => "3", 
			"getUTCSeconds" => "3", 
			"getVarDate" => "3", 
			"getYear" => "3", 
			"go" => "3", 
			"GetAbsolutePathName" => "3", 
			"GetBaseName" => "3", 
			"GetDrive" => "3", 
			"GetDriveName" => "3", 
			"GetExtensionName" => "3", 
			"GetFile" => "3", 
			"GetFileName" => "3", 
			"GetFolder" => "3", 
			"GetParentFolderName" => "3", 
			"GetSpecialFolder" => "3", 
			"GetTempName" => "3", 
			"indexOf" => "3", 
			"inRange" => "3", 
			"insertAdjacentHTML" => "3", 
			"insertAdjacentText" => "3", 
			"insertCell" => "3", 
			"insertRow" => "3", 
			"isEqual" => "3", 
			"isFinite" => "3", 
			"isNaN" => "3", 
			"isSubscribed" => "3", 
			"italics" => "3", 
			"item" => "3", 
			"Items" => "3", 
			"javaEnabled" => "3", 
			"join" => "3", 
			"Keys" => "3", 
			"lastIndexOf" => "3", 
			"lbound" => "3", 
			"log" => "3", 
			"max" => "3", 
			"min" => "3", 
			"moveBy" => "3", 
			"moveEnd" => "3", 
			"moveFirst" => "3", 
			"moveNext" => "3", 
			"moveStart" => "3", 
			"moveTo" => "3", 
			"moveToBookmark" => "3", 
			"moveToElementText" => "3", 
			"moveToPoint" => "3", 
			"Move" => "3", 
			"MoveFile" => "3", 
			"MoveFolder" => "3", 
			"navigate" => "3", 
			"nextPage" => "3", 
			"open" => "3", 
			"OpenAsTextStream" => "3", 
			"OpenTextFile" => "3", 
			"parse" => "3", 
			"parseFloat" => "3", 
			"parseInt" => "3", 
			"pasteHTML" => "3", 
			"pow" => "3", 
			"previousPage" => "3", 
			"prompt" => "3", 
			"queryCommandEnabled" => "3", 
			"queryCommandIndeterm" => "3", 
			"queryCommandState" => "3", 
			"queryCommandSupported" => "3", 
			"queryCommandValue" => "3", 
			"random" => "3", 
			"refresh" => "3", 
			"reload" => "3", 
			"removeAttribute" => "3", 
			"replace" => "3", 
			"resizeBy" => "3", 
			"resizeTo" => "3", 
			"reverse" => "3", 
			"round" => "3", 
			"Read" => "3", 
			"ReadAll" => "3", 
			"ReadLine" => "3", 
			"Remove" => "3", 
			"RemoveAll" => "3", 
			"scroll" => "3", 
			"scrollBy" => "3", 
			"scrollIntoView" => "3", 
			"scrollTo" => "3", 
			"select" => "3", 
			"setAttribute" => "3", 
			"setDate" => "3", 
			"setEndPoint" => "3", 
			"setFullYear" => "3", 
			"setHours" => "3", 
			"setInterval" => "3", 
			"setMilliseconds" => "3", 
			"setMinutes" => "3", 
			"setMonth" => "3", 
			"setSeconds" => "3", 
			"setTime" => "3", 
			"setTimeout" => "3", 
			"setUTCDate" => "3", 
			"setUTCFullYear" => "3", 
			"setUTCHours" => "3", 
			"setUTCMilliseconds" => "3", 
			"setUTCMinutes" => "3", 
			"setUTCMonth" => "3", 
			"setUTCSeconds" => "3", 
			"setYear" => "3", 
			"showHelp" => "3", 
			"showModalDialog" => "3", 
			"sin" => "3", 
			"slice" => "3", 
			"small" => "3", 
			"sort" => "3", 
			"sqrt" => "3", 
			"start" => "3", 
			"stop" => "3", 
			"strike" => "3", 
			"sub" => "3", 
			"submit" => "3", 
			"substr" => "3", 
			"substring" => "3", 
			"sup" => "3", 
			"Skip" => "3", 
			"SkipLine" => "3", 
			"tags" => "3", 
			"taintEnabled" => "3", 
			"tan" => "3", 
			"test" => "3", 
			"toArray" => "3", 
			"toGMTString" => "3", 
			"toLocaleString" => "3", 
			"toLowerCase" => "3", 
			"toString" => "3", 
			"toUpperCase" => "3", 
			"toUTCString" => "3", 
			"ubound" => "3", 
			"unescape" => "3", 
			"UTC" => "3", 
			"valueOf" => "3", 
			"Write" => "3", 
			"WriteBlankLines" => "3", 
			"WriteLine" => "3", 
			"write" => "3", 
			"writeln" => "3", 
			"zOrder" => "3", 
			"onabort" => "4", 
			"onafterupdate" => "4", 
			"onbeforeunload" => "4", 
			"onbeforeupdate" => "4", 
			"onblur" => "4", 
			"onbounce" => "4", 
			"onchange" => "4", 
			"onclick" => "4", 
			"ondataavailable" => "4", 
			"ondatasetchanged" => "4", 
			"ondatasetcomplete" => "4", 
			"ondblclick" => "4", 
			"ondragstart" => "4", 
			"onerror" => "4", 
			"onerrorupdate" => "4", 
			"onfilterchange" => "4", 
			"onfinish" => "4", 
			"onfocus" => "4", 
			"onhelp" => "4", 
			"onkeydown" => "4", 
			"onkeypress" => "4", 
			"onkeyup" => "4", 
			"onload" => "4", 
			"onmousedown" => "4", 
			"onmousemove" => "4", 
			"onmouseout" => "4", 
			"onmouseover" => "4", 
			"onmouseup" => "4", 
			"onreadystatechange" => "4", 
			"onreset" => "4", 
			"onresize" => "4", 
			"onrowenter" => "4", 
			"onrowexit" => "4", 
			"onscroll" => "4", 
			"onselect" => "4", 
			"onselectstart" => "4", 
			"onstart" => "4", 
			"onsubmit" => "4", 
			"onunload" => "4", 
			"break" => "5", 
			"Comments" => "5", 
			"continue" => "5", 
			"do" => "5", 
			"else" => "5", 
			"for" => "5", 
			"function" => "5", 
			"if" => "5", 
			"in" => "5", 
			"Labeled" => "5", 
			"return" => "5", 
			"switch" => "5", 
			"this" => "5", 
			"var" => "5", 
			"while" => "5", 
			"with" => "5");

// Special extensions

// Each category can specify a PHP function that returns an altered
// version of the keyword.



$this->linkscripts    	= array(
			"1" => "donothing", 
			"2" => "donothing", 
			"3" => "donothing", 
			"4" => "donothing", 
			"5" => "donothing");
}



function donothing($keywordin)
{
	return $keywordin;
}

}
?>
