<!--
	name			: Method for defining HTML 5 elements in Microsoft Internet Explorer browsers.
	update			: 9.11.10
	author			: Maurice van Creij
	dependencies	: none
	info			: http://www.classbehaviours.com/

	This file is part of jQuery.classBehaviours.

	ClassBehaviours is a javascript framework based on class-name parsing.
	Copyright (C) 2008  Maurice van Creij

	ClassBehaviours is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	ClassBehaviours 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 ClassBehaviours. If not, see http://www.gnu.org/licenses/gpl.html.
-->
<public:component>
	<public:attach event="ondocumentready" onevent="HTML5Elements.initiate()" />
	<script language="JavaScript">
		// list of HTML 5 elements to initialize
		HTML5Elements = {
			elements: new Array(

				/* The root element */
			//	'html',

				/* Document metadata */
			//	'head',
			//	'title',
			//	'base',
			//	'link',
			//	'meta',
			//	'style',

				/* Scripting */
			//	'script',
			//	'noscript',

				/* Sections */
			//	'body',
				'section',
				'nav',
				'article',
				'aside',
			//	'h1',
			//	'h2',
			//	'h3',
			//	'h4',
			//	'h5',
			//	'h6',
				'hgroup',
				'header',
				'footer',
			//	'address',

				/* Grouping content */
			//	'p',
			//	'hr',
			//	'br',
			//	'pre',
				'dialog',
			//	'blockquote',
			//	'ol',
			//	'ul',
			//	'li',
			//	'dl',
			//	'dt',
			//	'dd',

				/* Text-level semantics */
			//	'a',
			//	'q',
			//	'cite',
			//	'em',
			//	'strong',
			//	'small',
				'mark',
				'dfn',
			//	'abbr',
				'time',
				'progress',
				'meter',
			//	'code',
			//	'var',
			//	'samp',
			//	'kbd',
			//	'sub',
			//	'sup',
			//	'span',
			//	'i',
			//	'b',
			//	'bdo',
				'ruby',
				'rt',
				'rp',

				/* Edits */
				'ins',
				'del',

				/* Embedded content */
				'figure',
				'figcaption',
			//	'img',
			//	'iframe',
			//	'embed',
			//	'object',
			//	'param',
				'video',
				'audio',
				'source',
				'canvas',
			//	'map',
			//	'area',

				/* Tabular data */
			//	'table',
			//	'caption',
			//	'colgroup',
			//	'col',
			//	'tbody',
			//	'thead',
			//	'tfoot',
			//	'tr',
			//	'td',
			//	'th',

				/* Forms */
			//	'form',
			//	'fieldset',
			//	'label',
			//	'input',
			//	'button',
			//	'select',
				'datalist',
			//	'optgroup',
			//	'option',
			//	'textarea',
				'keygen',
				'output',

				/* Interactive elements */
				'details',
				'datagrid',
				'command',
				'bb',
				'menu',

				/* Miscellaneous elments */
				'legend',
				'div'

			),
			initiate: function(){
				for(var a=0; a<this.elements.length; a++) window.document.createElement(this.elements[a]);
			}
		}

		// initialize the html 5 elements
		HTML5Elements.initiate();

		// ask the browser to re-apply the stylesheet
		window.document.body.innerHTML = window.document.body.innerHTML;

	</script>
</public:component>
