/**
 * SyntaxHighlighter
 * http://alexgorbatchev.com/
 *
 * SyntaxHighlighter is donationware. If you are using it, please donate.
 * http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
 *
 * @version
 * 2.1.364 (October 15 2009)
 * 
 * @copyright
 * Copyright (C) 2004-2009 Alex Gorbatchev.
 *
 * @license
 * This file is part of SyntaxHighlighter.
 * 
 * SyntaxHighlighter is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * SyntaxHighlighter is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with SyntaxHighlighter.  If not, see <http://www.gnu.org/copyleft/lesser.html>.
 */
SyntaxHighlighter.brushes.Html = function()
{ 
	var funcs	=	'a abbr acronym address applet area article aside audio b base basefont bdo big '+ 
					'blockquote body br button canvas caption center cite code col colgroup command '+
					'datalist dd del details dfn dir div dl dt em embed fieldset figcaption figure font '+
					'footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe '+
					'img input ins keygen kbd legend li link map mark menu meta meter nav noframes '+
					'noscript object ol optgroup option output p param pre progress q rp rt ruby s samp '+
					'script section select small source span strike strong style sub summary sup table '+
					'tbody td textarea tfoot th thead time title tr tt u ul var video wbr xmp';

	var keywords =	'src controls pubdate datetime href class type radiogroup checked icon name disabled label '+
					'action challenge method keytype value enctype min max low high optimum open id list onforminput '+
					'onsubmit step function newValue textContent autobuffer width height poster';
	
	var constants	= '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';

	this.regexList = [
		{ regex: SyntaxHighlighter.regexLib.singleLineCComments,	css: 'comments' },			// one line comments
		{ regex: SyntaxHighlighter.regexLib.multiLineCComments,		css: 'comments' },			// multiline comments
		{ regex: SyntaxHighlighter.regexLib.doubleQuotedString,		css: 'string' },			// double quoted strings
		{ regex: SyntaxHighlighter.regexLib.singleQuotedString,		css: 'string' },			// single quoted strings
		{ regex: /\$\w+/g,											css: 'variable' },			// variables
		{ regex: new RegExp(this.getKeywords(funcs), 'gmi'),		css: 'functions' },			// common functions
		{ regex: new RegExp(this.getKeywords(constants), 'gmi'),	css: 'constants' },			// constants
		{ regex: new RegExp(this.getKeywords(keywords), 'gm'),		css: 'keyword' }			// keyword
		];

	this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
};

SyntaxHighlighter.brushes.Html.prototype	= new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.Html.aliases	= ['html'];

