	$(document).ready(function(){
						
		$("#fader-top").cycle({ 
			delay:  500, 
			speed:  1500,
			pause:  1 
		}); 
		
		$("#fader-home").cycle({ 
			delay:  3000, 
			speed:  1500,
			pause:  1 
		}); 

		$('#slideshow2').cycle({
        prev:   '#prev',
        next:   '#next',
        timeout: 0
		});

		$('#hero-shots').cycle({
        prev:   '#prev',
        next:   '#next',
        timeout: 0
		});
		
		$(".item").hover(function(){
		  $(this).children(".submenu").show();
		},function(){
		  $(this).children(".submenu").hide();
		});
		
		$(".video-low").click(function(){
			$("body").append("<div id='video_overlay'></div>");
			$("body").append("<div id='video_window' class='video-low' style='margin-left: -240px; margin-top: -150px;'><div id='video-close-low'><a href='javascript:closevideo();' class='close-video'>close</a><div id='video'></div></div></div>");
			$('#video').flash(
				{ 
				  src: 'player.swf?imagePath=video/low.jpg&videoPath=video/ccc-low.flv&autoStart=false&autoHide=false&autoHideTime=5&hideLogo=true&volAudio=60&newWidth=480&newHeight=308&disableMiddleButton=false&playSounds=false&soundBarColor=0xa1d568&barColor=0xa1d568&barShadowColor=0x5d8531&subbarColor=0xffffff',
				  width: 480,
				  height: 308,
				  bgcolor: '#000000',
				  allowFullScreen: true
				},
				{ version: 8 }
			);
			return false;		  
		});
		
		$(".video-high").click(function(){
			$("body").append("<div id='video_overlay'></div>");
			$("body").append("<div id='video_window' class='video-high' style='margin-left: -300px; margin-top: -180px;'><div id='video-close-high'><a href='javascript:closevideo();' class='close-video'>close</a><div id='video'></div></div></div>");
			$('#video').flash(
				{ 
				  src: 'player.swf?imagePath=video/high.jpg&videoPath=video/ccc-high.flv&autoStart=false&autoHide=false&autoHideTime=5&hideLogo=true&volAudio=60&newWidth=600&newHeight=352&disableMiddleButton=false&playSounds=false&soundBarColor=0xa1d568&barColor=0xa1d568&barShadowColor=0x5d8531&subbarColor=0xffffff',
				  width: 600,
				  height: 352,
				  bgcolor: '#000000',
				  allowFullScreen: true
				},
				{ version: 8 }
			);
			return false;		  
		});
				
	});

	
	
	function closevideo() {
		$("div#video_overlay").remove();
		$("div#video_window").remove();			
	}