SyntaxHighlighter.brushes.Bash = function()
{
  var keywords = 'with while void undefined typeof try true throw this switch super set return public protected private null new is internal instanceof in import if get for false else each each do delete default continue catch case break as class package uint int arguments XMLSocket XMLNodeType XMLNode XMLList XMLDocument XML Video VerifyError URLVariables URLStream URLRequestMethod URLRequestHeader URLRequest URLLoaderDataFormat URLLoader URIError TypeError Transform TimerEvent Timer TextSnapshot TextRenderer TextLineMetrics TextFormatAlign TextFormat TextFieldType TextFieldAutoSize TextField TextEvent TextDisplayMode TextColorType System SyntaxError SyncEvent StyleSheet String StatusEvent StaticText StageScaleMode StageQuality StageAlign Stage StackOverflowError Sprite SpreadMethod SoundTransform SoundMixer SoundLoaderContext SoundChannel Sound Socket SimpleButton SharedObjectFlushStatus SharedObject Shape SecurityPanel SecurityErrorEvent SecurityError SecurityDomain Security ScriptTimeoutError Scene SWFVersion Responder RegExp ReferenceError Rectangle RangeError QName Proxy ProgressEvent PrintJobOrientation PrintJobOptions PrintJob Point PixelSnapping ObjectEncoding Object Number NetStream NetStatusEvent NetConnection Namespace MovieClip MouseEvent Mouse MorphShape Microphone MemoryError Matrix Math LocalConnection LoaderInfo LoaderContext Loader LineScaleMode KeyboardEvent Keyboard KeyLocation JointStyle InvalidSWFError InterpolationMethod InteractiveObject IllegalOperationError IOErrorEvent IOError IMEEvent IMEConversionMode IME IExternalizable IEventDispatcher IDynamicPropertyWriter IDynamicPropertyOutput IDataOutput IDataInput ID3Info IBitmapDrawable HTTPStatusEvent GridFitType Graphics GradientType GradientGlowFilter GradientBevelFilter GlowFilter Function FrameLabel FontType FontStyle Font FocusEvent FileReferenceList FileReference FileFilter ExternalInterface EventPhase EventDispatcher Event EvalError ErrorEvent Error Endian EOFError DropShadowFilter DisplayObjectContainer DisplayObject DisplacementMapFilterMode DisplacementMapFilter Dictionary DefinitionError Date DataEvent ConvolutionFilter ContextMenuItem ContextMenuEvent ContextMenuBuiltInItems ContextMenu ColorTransform ColorMatrixFilter Class CapsStyle Capabilities Camera CSMSettings ByteArray Boolean BlurFilter BlendMode BitmapFilterType BitmapFilterQuality BitmapFilter BitmapDataChannel BitmapData Bitmap BevelFilter AsyncErrorEvent Array ArgumentError ApplicationDomain AntiAliasType ActivityEvent ActionScriptVersion AccessibilityProperties Accessibility AVM1Movie flash.xml flash.utils flash.ui flash.text flash.system flash.profiler flash.printing flash.net flash.media flash.geom flash.filters flash.external flash.events flash.errors flash.display flash.accessibility array zoom year y xmlDecl x writeUnsignedInt writeUTFBytes writeUTF writeShort writeObject writeMultiByte writeInt writeFloat writeExternal writeDynamicProperty writeDynamicProperties writeDouble writeBytes writeByte writeBoolean wordWrap willTrigger width volume visible videoWidth videoHeight version valueOf value usingTLS useRichTextClipboard useHandCursor useEchoSuppression useCodePage url uri uploadCompleteData upload updateProperties updateAfterEvent upState unshift unlock unload union unescapeMultiByte unescape underline uncompress type ty tx transparent translate transformPoint transform trackAsMenu track trace totalMemory totalFrames topLeft top togglePause toXMLString toUpperCase toUTCString toTimeString toString toPrecision toLowerCase toLocaleUpperCase toLocaleTimeString toLocaleString toLocaleLowerCase toLocaleDateString toFixed toExponential toDateString timezoneOffset timerComplete timer time threshold thickness textWidth textSnapshot textInput textHeight textColor text test target tan tabStops tabIndexChange tabIndex tabEnabledChange tabEnabled tabChildrenChange tabChildren sync swfVersion swapChildrenAt swapChildren subtract substring substr styleSheet styleNames strength stopPropagation stopImmediatePropagation stopDrag stopAll stop status startDrag start stageY stageX stageWidth stageHeight stageFocusRect stage sqrt split splice source soundTransform soundComplete sortOn sort songName some socketData smoothing slice size sin silent silenceTimeout silenceLevel showSettings showRedrawRegions showDefaultContextMenu show shortcut shiftKey shift sharpness sharedEvents shadowColor shadowAlpha settings setUseEchoSuppression setUTCSeconds setUTCMonth setUTCMinutes setUTCMilliseconds setUTCHours setUTCFullYear setUTCDate setTimeout setTime setTextFormat setStyle setSilenceLevel setSettings setSelection setSelected setSelectColor setSeconds setQuality setPropertyIsEnumerable setProperty setPixels setPixel32 setPixel setNamespace setName setMotionLevel setMonth setMode setMinutes setMilliseconds setLoopback setLoopBack setLocalName setKeyFrameInterval setInterval setHours setFullYear setEmpty setDirty setDate setCompositionString setClipboard setChildren setChildIndex setAdvancedAntiAliasingTable serverString separatorBefore sendToURL send selectionEndIndex selectionBeginIndex selectable select seek securityError securityDomain secondsUTC seconds search scrollV scrollRect scrollH scroll screenResolutionY screenResolutionX screenDPI screenColor scenes scaleY scaleX scaleMode scale9Grid scale save sandboxType sameDomain running round rotation rotate root rollOver rollOut rightToRight rightToLeft rightPeak rightMargin right rewind reverse resume restrict resize reset requestHeaders replaceText replaceSelectedText replace repeatCount render removedFromStage removed removeNode removeNamespace removeEventListener removeChildAt removeChild relatedObject registerFont registerClassAlias redOffset redMultiplier rect receiveVideo receiveAudio readUnsignedShort readUnsignedInt readUnsignedByte readUTFBytes readUTF readShort readObject readMultiByte readInt readFloat readExternal readDouble readBytes readByte readBoolean ratios rate random quality push publish proxyType prototype propertyIsEnumerable progress processingInstructions printAsBitmap print previousSibling preventDefault prevScene prevFrame prettyPrinting prettyIndent preserveAlpha prependChild prefix pow position pop polar playerType play pixelSnapping pixelDissolve pixelBounds pixelAspectRatio perlinNoise pause parseXML parseInt parseFloat parseCSS parse parentNode parentDomain parentAllowsChild parent parameters paperWidth paperHeight pan paletteMap pageWidth pageHeight overState outsideCutoff os orientation open opaqueBackground onPlayStatus onMetaData onCuePoint offsetPoint offset objectID objectEncoding numLock numLines numFrames numChildren normalize noise nodeValue nodeType nodeName nodeKind noAutoLabeling nextValue nextSibling nextScene nextNameIndex nextName nextFrame netStatus navigateToURL namespaceURI namespaceDeclarations namespace names name muted multiline moveTo mouseY mouseX mouseWheelEnabled mouseWheel mouseUp mouseTarget mouseOver mouseOut mouseMove mouseLeave mouseFocusChange mouseEnabled mouseDown mouseChildren motionTimeout motionLevel monthUTC month modificationDate mode minutesUTC minutes min millisecondsUTC milliseconds method message merge menuSelect menuItemSelect maxScrollV maxScrollH maxLevel maxChars max matrixY matrixX matrix match mask mapPoint mapBitmap map manufacturer macType loopback loop log lock localeCompare localY localX localToGlobal localName localFileReadDisable loaderURL loaderInfo loader loadPolicyFile loadBytes load liveDelay link lineTo lineStyle lineGradientStyle level letterSpacing length leftToRight leftToLeft leftPeak leftMargin left leading lastIndexOf lastIndex lastChild language labels knockout keyUp keyLocation keyFrameInterval keyFocusChange keyDown keyCode kerning join italic isXMLName isPrototypeOf isNaN isFocusInaccessible isFinite isEmpty isDefaultPrevented isDebugger isBuffering isAttribute isAccessible ioError invert invalidate intersects intersection interpolate insideCutoff insertChildBefore insertChildAfter insertBefore inner init info inflatePoint inflate indexOf index indent inScopeNamespaces imeComposition ime ignoreWhitespace ignoreWhite ignoreProcessingInstructions ignoreComments ignoreCase identity idMap id3 httpStatus htmlText hoursUTC hours hitTestTextNearPos hitTestState hitTestPoint hitTestObject hitTest hitArea highlightColor highlightAlpha hideObject hideBuiltInItems hide height hasVideoEncoder hasTLS hasStreamingVideo hasStreamingAudio hasSimpleContent hasScreenPlayback hasScreenBroadcast hasProperty hasPrinting hasOwnProperty hasMP3 hasIME hasGlyphs hasEventListener hasEmbeddedVideo hasDefinition hasComplexContent hasChildNodes hasAudioEncoder hasAudio hasAccessibility gridFitType greenOffset greenMultiplier graphics gotoAndStop gotoAndPlay globalToLocal global getUTCSeconds getUTCMonth getUTCMinutes getUTCMilliseconds getUTCHours getUTCFullYear getUTCDay getUTCDate getTimezoneOffset getTimer getTime getTextRunInfo getTextFormat getText getStyle getStackTrace getSelectedText getSelected getSeconds getRemote getRect getQualifiedSuperclassName getQualifiedClassName getProperty getPrefixForNamespace getPixels getPixel32 getPixel getParagraphLength getObjectsUnderPoint getNamespaceForPrefix getMonth getMinutes getMilliseconds getMicrophone getLocal getLineText getLineOffset getLineMetrics getLineLength getLineIndexOfChar getLineIndexAtPoint getImageReference getHours getFullYear getFirstCharInParagraph getDescendants getDefinitionByName getDefinition getDay getDate getColorBoundsRect getClassByAlias getChildIndex getChildByName getChildAt getCharIndexAtPoint getCharBoundaries getCamera getBounds genre generateFilterRect gain fullYearUTC fullYear fullScreen fscommand fromCharCode framesLoaded frameRate frame fps forwardAndBack formatToString forceSimple forEach fontType fontStyle fontSize fontName font focusRect focusOut focusIn focus flush floor floodFill firstChild findText filters filter fillRect fileList extension extended exp exec exactSettings every eventPhase escapeMultiByte escape errorID error equals enumerateFonts enterFrame endian endFill encodeURIComponent encodeURI enabled embedFonts elements dynamicPropertyWriter dropTarget drawRoundRect drawRect drawEllipse drawCircle draw download downState doubleClickEnabled doubleClick dotall domain docTypeDecl doConversion divisor distance dispose displayState displayMode displayAsPassword dispatchEvent description describeType descent descendants deltaTransformPoint delta deleteProperty delay defaultTextFormat defaultSettings defaultObjectEncoding decodeURIComponent decodeURI decode deblocking deactivate dayUTC day dateUTC date dataFormat data d customItems curveTo currentTarget currentScene currentLabels currentLabel currentFrame currentFPS currentDomain currentCount ctrlKey creator creationDate createTextNode createGradientBox createElement createBox cos copyPixels copyChannel copy conversionMode contextMenuOwner contextMenu contentType contentLoaderInfo content containsRect containsPoint contains constructor connectedProxyType connected connect condenseWhite concatenatedMatrix concatenatedColorTransform concat computeSpectrum compress componentY componentX complete compare comments comment colors colorTransform color code close cloneNode clone client click clearTimeout clearInterval clear clamp children childNodes childIndex childAllowsParent child checkPolicyFile charCount charCodeAt charCode charAt changeList change ceil caretIndex caption capsLock cancelable cancel callee callProperty call cacheAsBitmap c bytesTotal bytesLoaded bytesAvailable buttonMode buttonDown bullet builtInItems bufferTime bufferLength bubbles browse bottomScrollV bottomRight bottom borderColor border bold blurY blurX blueOffset blueMultiplier blockIndent blendMode bitmapData bias beginGradientFill beginFill beginBitmapFill bandwidth backgroundColor background b available avHardwareDisable autoSize attributes attribute attachNetStream attachCamera attachAudio atan2 atan asyncError asin ascent artist areSoundsInaccessible areInaccessibleObjectsUnderPoint applyFilter apply applicationDomain appendText appendChild antiAliasType angle alwaysShowSelection altKey alphas alphaOffset alphaMultiplier alpha allowInsecureDomain allowDomain align album addedToStage added addPage addNamespace addHeader addEventListener addChildAt addChild addCallback add activityLevel activity active activating activate actionScriptVersion acos accessibilityProperties abs WRAP VERTICAL VARIABLES UTC UPLOAD_COMPLETE_DATA UP UNLOAD UNKNOWN UNIQUESORT TOP_RIGHT TOP_LEFT TOP TIMER_COMPLETE TIMER TEXT_NODE TEXT_INPUT TEXT TAB_INDEX_CHANGE TAB_ENABLED_CHANGE TAB_CHILDREN_CHANGE TAB SYNC SUBTRACT SUBPIXEL STATUS STANDARD SQUARE SQRT2 SQRT1_2 SPACE SOUND_COMPLETE SOCKET_DATA SHOW_ALL SHIFT SETTINGS_MANAGER SELECT SECURITY_ERROR SCROLL SCREEN ROUND ROLL_OVER ROLL_OUT RIGHT RGB RETURNINDEXEDARRAY RESIZE REPEAT RENDER REMOVED_FROM_STAGE REMOVED REMOTE REGULAR REFLECT RED RADIAL PROGRESS PRIVACY POST POSITIVE_INFINITY PORTRAIT PIXEL PI PENDING PAGE_UP PAGE_DOWN PAD OVERLAY OUTER OPEN NaN NUM_PAD NUMPAD_SUBTRACT NUMPAD_MULTIPLY NUMPAD_ENTER NUMPAD_DIVIDE NUMPAD_DECIMAL NUMPAD_ADD NUMPAD_9 NUMPAD_8 NUMPAD_7 NUMPAD_6 NUMPAD_5 NUMPAD_4 NUMPAD_3 NUMPAD_2 NUMPAD_1 NUMPAD_0 NUMERIC NO_SCALE NO_BORDER NORMAL NONE NEVER NET_STATUS NEGATIVE_INFINITY MULTIPLY MOUSE_WHEEL MOUSE_UP MOUSE_OVER MOUSE_OUT MOUSE_MOVE MOUSE_LEAVE MOUSE_FOCUS_CHANGE MOUSE_DOWN MITER MIN_VALUE MICROPHONE MENU_SELECT MENU_ITEM_SELECT MEDIUM MAX_VALUE LOW LOG2E LOG10E LOCAL_WITH_NETWORK LOCAL_WITH_FILE LOCAL_TRUSTED LOCAL_STORAGE LN2 LN10 LITTLE_ENDIAN LINK LINEAR_RGB LINEAR LIGHT_COLOR LIGHTEN LEFT LCD LAYER LANDSCAPE KOREAN KEY_UP KEY_FOCUS_CHANGE KEY_DOWN JUSTIFY JAPANESE_KATAKANA_HALF JAPANESE_KATAKANA_FULL JAPANESE_HIRAGANA Infinity ITALIC IO_ERROR INVERT INSERT INPUT INNER INIT IME_COMPOSITION IGNORE ID3 HTTP_STATUS HORIZONTAL HOME HIGH HARDLIGHT GREEN GET FULLSCREEN FULL FOCUS_OUT FOCUS_IN FLUSHED FLASH9 FLASH8 FLASH7 FLASH6 FLASH5 FLASH4 FLASH3 FLASH2 FLASH1 F9 F8 F7 F6 F5 F4 F3 F2 F15 F14 F13 F12 F11 F10 F1 EXACT_FIT ESCAPE ERROR ERASE ENTER_FRAME ENTER END EMBEDDED ELEMENT_NODE E DYNAMIC DOWN DOUBLE_CLICK DIFFERENCE DEVICE DESCENDING DELETE DEFAULT DEACTIVATE DATA DARK_COLOR DARKEN CRT CONTROL CONNECT COMPLETE COLOR CLOSE CLICK CLAMP CHINESE CHANGE CENTER CASEINSENSITIVE CAPTURING_PHASE CAPS_LOCK CANCEL CAMERA BUBBLING_PHASE BOTTOM_RIGHT BOTTOM_LEFT BOTTOM BOLD_ITALIC BOLD BLUE BINARY BIG_ENDIAN BEVEL BEST BACKSPACE AUTO AT_TARGET ASYNC_ERROR AMF3 AMF0 ALWAYS ALPHANUMERIC_HALF ALPHANUMERIC_FULL ALPHA ADVANCED ADDED_TO_STAGE ADDED ADD ACTIVITY ACTIONSCRIPT3 ACTIONSCRIPT2 contentLoaderInfo addProperty attachMovie attachVideo browse getURL getUrl cancel clearInterval clone concat createEmptyMovieClip createTextField dispose draw duplicateMovieClip dynamic equals extends function getInstanceAtDepth gotoAndPlay gotoAndStop identity implements import interface isEmpty isFinite isNAN join length loadClip loadMovie loadMovieNum loadVariables loadVariablesNum merge moveTo on release rollOver  onClipEvent onDragOut onDragOver onEnterFrame onKeyDown onKeyUp onKillFocus onMouseDown onMouseMove onMouseUp onPress onRelease onReleaseOutside onRollOut onRollOver onUnload ClipEvent DragOut DragOver EnterFrame KeyDown KeyUp KillFocus MouseDown MouseMove MouseUp Press Release ReleaseOutside RollOut RollOver Unload play pop prevFrame private public push registerClass removeMovieClip reverse rotate scale setEmpty setInterval setProperty shift slice sort sortOn splice startDrag static stopAllSounds stopDrag subtract swapDepths toString toString translate union unloadClip unloadMovie unloadMovieNum unshiftclass unwatch valueOf watch and arguments asfunction break call case catch clear continue default do else escape eval false finally for getProperty if ifFrameLoaded in instanceof loop NaN new newline not null or prototype return set super switch targetPath tellTarget this throw trace true try typeof undefined unescape var visible void while with';
  var commands = '.currentframe .droptarget .framesloaded .global .height .level .name .root .rotation .target .totalframes .url .visible .width .x .xmouse .xscale .y .ymouse .yscale _currentframe _droptarget _framesloaded _global _height _level _name _root _rotation _target _totalframes _url _visible _width _x _xmouse _xscale _y _ymouse _yscale Array Boolean Button bytesLoaded bytesTotal Camera Color Date enabled Error focusEnabled Key LoadVars Math Mouse MovieClip Object Selection Sound Stage String StyleSheet System TextFormat';
  var funcs = '';
  var includes = '#include #initClip #endInitClip';
    
	this.regexList = [
		{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments,		css: 'comments' },		// one line comments
		{ regex: SyntaxHighlighter.regexLib.doubleQuotedString,			css: 'string' },		// double quoted strings
		{ regex: new RegExp(this.getKeywords(keywords), 'gm'),			css: 'keyword' },		// keywords
		{ regex: new RegExp(this.getKeywords(commands), 'gm'),			css: 'functions' }		// commands
		];
}

SyntaxHighlighter.brushes.Bash.prototype	= new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Bash.aliases		= ['bash', 'As'];

