// This was an extraordinary bugger to adapt from the original HTML, but the end product is an Include file without needing server side support for includes.
// The next step is to populate the entire thing with variables. Baby steps man, baby steps.

var headerHorizontalMenu = Builder.node('div', { id: 'homeTopHorizontalMenu' },
	[
	
		Builder.node('div', {id: 'homeTopMenu1', className: 'neutralTabHorizontal', onmouseover: 'horizontalRollover(1);' },
			[ 
				Builder.node('h1', [ Builder.node('a', {href: tab1URL}, tab1Name)] ),
				Builder.node('h2', [ Builder.node('a', {href: tab1URL}, tab1Description)] ),
				Builder.node('a', {href: tab1URL}, [ Builder.node('img', {className: 'menuTabIcon', src: tab1Icon }) ])
			]
		),
		Builder.node('div', {id: 'homeTopMenu2', className: 'neutralTabHorizontal', onmouseover: 'horizontalRollover(2);' },
			[ 
				Builder.node('h1', [ Builder.node('a', {href: tab2URL}, tab2Name)] ),
				Builder.node('h2', [ Builder.node('a', {href: tab2URL}, tab2Description)] ),
				Builder.node('a', {href: tab2URL}, [ Builder.node('img', {className: 'menuTabIcon', src: tab2Icon }) ])
			]
		),
		Builder.node('div', {id: 'homeTopMenu3', className: 'neutralTabHorizontal', onmouseover: 'horizontalRollover(3);' },
			[ 
				Builder.node('h1', [ Builder.node('a', {href: tab3URL}, tab3Name)] ),
				Builder.node('h2', [ Builder.node('a', {href: tab3URL}, tab3Description)] ),
				Builder.node('a', {href: tab3URL}, [ Builder.node('img', {className: 'menuTabIcon', src: tab3Icon }) ])
			]
		),
		Builder.node('div', {id: 'homeTopMenu4', className: 'neutralTabHorizontal', onmouseover: 'horizontalRollover(4);' },
			[ 
				Builder.node('h1', [ Builder.node('a', {href: tab4URL}, tab4Name)] ),
				Builder.node('h2', [ Builder.node('a', {href: tab4URL}, tab4Description)] ),
				Builder.node('a', {href: tab4URL}, [ Builder.node('img', {className: 'menuTabIcon', src: tab4Icon }) ])
			]
		),
		Builder.node('div', {id: 'homeTopMenu5', className: 'neutralTabHorizontal', onmouseover: 'horizontalRollover(5);' },
			[ 
				Builder.node('h1', [ Builder.node('a', {href: tab5URL}, tab5Name)] ),
				Builder.node('h2', [ Builder.node('a', {href: tab5URL}, tab5Description)] ),
				Builder.node('a', {href: tab5URL}, [ Builder.node('img', {className: 'menuTabIcon', src: tab5Icon }) ])
				
			]
		)
	]
);

$('homeTopMenu').appendChild(headerHorizontalMenu);
