var BannerFadeSpeed = 1000; // 1000 = the fading takes place over 1 second
var BannerSlideWait = 7000; // 7000 = there is a pause of 7 seconds between fades


// ====  no need to edit below ==== \\

$('html').addClass('jsActive domLoading');
$(function () {
	$('html').addClass('domReady').removeClass('domLoading');
});

$(document).ready( function(){ 
	var HomeOrSub = document.getElementById('pgHomepage') ? '323':'101'; // the two different sizes of banner
	$('#banner').innerfade({ 
		speed: BannerFadeSpeed,
		timeout: BannerSlideWait,
		type: 'random_start',
		containerheight:HomeOrSub+'px'
	}); 
} );

//window.onload = function(){alert(document.compatMode)}
