
$(document).ready(function(){
			
			var images = ['../assets/images/bck_tbt.jpg', '../assets/images/bck_timbyrne.jpg', '../assets/images/bck_ilive.jpg', '../assets/images/bck_dgaulton.jpg', '../assets/images/bckgrnd.png'];

			$(images).each(function(key, value) {
			
			var img = new Image();
			
			$(img)
			
			.attr('src', value)
			
			
			
			});
						
			
			$(function(){
				$(".bckGallery li#tbt").hover(function() {
  					 
					$("body").css("background", "url(../assets/images/bck_tbt.jpg) top center repeat #000");
					$("#logo").css("background", "url(../assets/images/logo.png) top left no-repeat");
				});
				$(".bckGallery li#timbyrne").hover(function() {
  					 
					$("body").css("background", "url(../assets/images/bck_timbyrne.jpg) top center repeat #000");
					$("#logo").css("background", "url(../assets/images/logo.png) top left no-repeat");
				});
				$(".bckGallery li#stevendavis").hover(function() {
  					 
					$("body").css("background", "url(../assets/images/bck_ilive.jpg) top center repeat #000");
					$("#logo").css("background", "url(../assets/images/logo.png) top left no-repeat");
				});
				$(".bckGallery li#dgaulton").hover(function() {
  					 
					$("body").css("background", "url(../assets/images/bck_dgaulton.jpg) top center repeat #000");
					$("#logo").css("background", "url(../assets/images/logo.png) top left no-repeat");
				});
				//$(".bckGallery li#alvin").hover(function() {
  					 
					//$("body").css("background", "url(../assets/images/bck_alvin.jpg) top center no-repeat #000");
				//});
				//$(".bckGallery li#brant").hover(function() {
  					 
					//$("body").css("background", "url(../assets/images/bck_brant.jpg) top center no-repeat #000");
				//});
			});
			
		 
			//Show Banner
	
	$(".main_info .bckCaption, .main_info .blgcall").show({ opacity: 1 }, 1 ); //Set Opacity
	
	//Click and Hover events for thumbnail list
	
	$("#imageList ul li.live").hover(function(){ 
		
		//Set Variables
		var teaserimgDesc = $(this).find(".bckCaption, .blgcall").html(); 	//Get HTML of block
		var teaserimgDescHeight = $(this).find(".bckCaption, .blgcall").height();	//Calculate height of block	
		
		if ($(this).is(".info")) {  //If it's already active, then...
			return false; // Don't click through
		} else {
			//Animate the Teaser				
			$(".main_info .bckCaption").animate({ opacity: 0, marginBottom: -teaserimgDescHeight }, 250 , function() {
			$(".main_info .bckCaption").html(teaserimgDesc).animate({ opacity: 1,	marginBottom: "0" }, 250 );	
			Shadowbox.init({ skipSetup: true }); Shadowbox.setup();
			});
		}
		
		$("#imageList ul li").removeClass('info'); //Remove class of 'active' on all lists
		$(this).addClass('info');  //add class of 'active' on this list only
		return false;
		
	}) .hover(function(){
		$(this).addClass('hover');
		}, function() {
		$(this).removeClass('hover');
	});

});//Close Function

		
		
		

		
