var showcaseRnd = 1;
	
		$(document).ready(
			
			function(){
			
				showcaseRnd = Math.floor(Math.random() *15) + 1;
				showcaseImage = "url(/images/showcase" + showcaseRnd + ".jpg)";
				$('.showcase').css('background-image',showcaseImage);
				
				//$('.menu').show();
				//$('.menuBg').show();
				
				$('.menuHeader').mouseover(function () { 
					$('.menu').show();
					$('.menuBg').show();
				});
				
				$('.menuHeader').mouseout(function () { 
					$('.menu').hide();
					$('.menuBg').hide();
				});
				
				$('.menu').mouseover(function () { 
					$('.menu').show();
					$('.menuBg').show();
				});
				$('.menu').mouseout(function () { 
					$('.menu').hide();
					$('.menuBg').hide();					
				});
				
				// Menu animation
				
				//$('.mainOption').click(function () { 
				//	$(this).find('.dropdown').slideToggle(210);
				//});
				
				var timer = setInterval(showDiv, 100); 
				
				function showDiv() { 
				
					showcaseRnd = Math.floor(Math.random() *15) + 1;
					showcaseImage = "url(/images/showcase" + showcaseRnd + ".jpg)";
					$('.showcase').css('background-image',showcaseImage);
					}
	});
	
			(function(){
			// Define overriding method.
			jQuery.fx.prototype.hide = function(){

			// Remember where we started, so that we can go back to it later
			this.options.orig[this.prop] = jQuery.style( this.elem, this.prop );
			this.options.hide = true;

			// Begin the animation
			this.custom(this.cur(), 1);
			}
			})();

