function createWidthSettings() {
	// Adjusting for the width of the browser window
	var windowWidth = $(window).width();   // returns width of browser viewport
	var windowHeight = $(window).height(); // returns height of browser viewport
	var extraSpace = (windowWidth - 960);
	
	var footerHeight = (windowHeight - 36 - 468 - 94 - 24);
	
	//Set footer height for all browsers
	$('#footer').css(
		{
			'height' : footerHeight
		});
}

function manageContent(currentSlide) {

	var slideClass = $(currentSlide).attr('id');

	switch(slideClass){
		case 'BlueSky':
			$('#content').load('content/bodyText.html #BlueSky');
			$('#contentHolder').css({
							'background' : '#ffffff url(img/blueSkyBanner.jpg) no-repeat center top',
							'color' : '#000000'
							});
			break;
		case 'Liquid':
			$('#content').load('content/bodyText.html #Liquid');
			$('#contentHolder').css({
							'background' : '#ffffff url(img/liquidBanner.jpg) no-repeat center top',
							'color' : '#ffffff'
							});
			break;
		case 'APT':
			$('#content').load('content/bodyText.html #APT');
			$('#contentHolder').css({
							'background' : '#ffffff url(img/aptBanner.jpg) no-repeat center top',
							'color' : '#000000'
							});
			break;
		case 'Sunrise':
			$('#content').load('content/bodyText.html #Sunrise');
			$('#contentHolder').css({
							'background' : '#ffffff url(img/sunriseBanner.jpg) no-repeat center top',
							'color' : '#ffffff'
							});
			break;
		case 'Veritas':
			$('#content').load('content/bodyText.html #Veritas');
			$('#contentHolder').css({
							'background' : '#ffffff url(img/veritasBanner.jpg) no-repeat center top',
							'color' : '#000000'
							});
			break;
		case 'Paladin':
			$('#content').load('content/bodyText.html #Paladin');
			$('#contentHolder').css({
							'background' : '#ffffff url(img/liquidBanner.jpg) no-repeat center top',
							'color' : '#ffffff'
							});
			break;
		case 'Primetime':
			$('#content').load('content/bodyText.html #Primetime');
			$('#contentHolder').css({
							'background' : '#ffffff url(img/liquidBanner.jpg) no-repeat center top',
							'color' : '#ffffff'
							});
			break;
		case 'Intrigue':
			$('#content').load('content/bodyText.html #Intrigue');
			$('#contentHolder').css({
							'background' : '#ffffff url(img/liquidBanner.jpg) no-repeat center top',
							'color' : '#ffffff'
							});
			break;
		default:
			$('#content').load('content/bodyText.html #default');
			$('#contentHolder').css({
							'background' : '#ffffff url(img/liquidBanner.jpg) no-repeat center top',
							'color' : '#ffffff'
							});
			break;
	};
	
	$('#contentBody').css('display', 'block');
	
}

