// 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 footerTopElement = Builder.node('div', { id: 'homeBottomBanner'},

	[ Builder.node('div', { id: 'homeBottomBannerName' }, 

		[ Builder.node('h1', [ Builder.node('span', { className: 'mainTitle' }, 'Departures')], 'X-Plane news. Case Studies. Partners. Austin\'s Adventures.')]

		),

		Builder.node('div', { id: 'homeBottomBannerPullquote' },

			[ Builder.node('p', '')

		])

	]

);

	

var footerBottomElement = Builder.node('div', { id: 'homeBottomContent'}, 

	[ 

		Builder.node('div', 

			[ 

				Builder.node('div', { id: 'homeBottomTile1', className: 'homeBottomTileRank1', style: 'background: url(images/bg_footer_iphoneapps.jpg) no-repeat; background-position: left top;'}, 

					[ 

						Builder.node('h1', [ Builder.node('a', { href: 'index_mobile.html' }, 'X-Plane Mobile')] ), Builder.node('p', 'Portable, full featured, and now multiplayer!')

					]

				), 

				Builder.node('div', { id: 'homeBottomTile2', className: 'homeBottomTileRank2', style: 'background: url(images/bg_footer_faa_dark.jpg) no-repeat; background-position: left top;'}, 

					[ 

						Builder.node('h1',  [Builder.node('a',{ href: 'index_pro.html' }, 'FAA-Certified X-Plane')] ), Builder.node('p', 'X-Plane has been approved for a wide range of FAA certification levels.')

					]

				), 

				Builder.node('div', { id: 'homeBottomTile3' , className: 'homeBottomTileRank3', style: 'background: url(images/bg_footer_pireps.jpg) no-repeat; background-position: left top;'}, 

					[ 

						Builder.node('h1', [ Builder.node('a', { href: 'pg_PIREPS.html' }, 'PIREPS')] ),  Builder.node('p', 'X-Plane Developers Blogs.')

					]

				), 

				Builder.node('div', { id: 'homeBottomTile3' , className: 'homeBottomTileRank3', style: 'background: url(images/bg_footer_orgsite_small.jpg) no-repeat; background-position: left top;'},

					[ 

						Builder.node('h1', [ Builder.node('a', { href: 'http://www.x-plane.org' }, 'X-Plane Add-Ons')] ), Builder.node('p', 'X-Plane.org, home of the X-Plane user and developer community.')

					]

				) 

		])

	]

);



$('homeBottom').appendChild(footerTopElement);

$('homeBottom').appendChild(footerBottomElement);
