//<![CDATA[
$(document).ready(function(){
	
// home fade
	$("#homelogo").css(
		{"opacity": "0"}
		);	
	$('#homelogo').animate(
		{"opacity": "1.0"},
		{duration: 2000}
		);
	$("#left").css(
		{"opacity": "0"}
		);	
	$('#left').animate(
		{"opacity": "1.0"},
		{duration: 1000}
		);/**/
		
	
    // Using multiple unit types within one animation.
    /*$("#go").click(function(){
      $("#block").animate({ 
        width: "70%",
        opacity: 0.4,
        marginLeft: "0.6in",
        fontSize: "3em", 
        borderWidth: "10px"
      }, 1500 );
    });
	*/
	
	$("#left a img , #center a img , #right a img").hover(
		function(){
			$(this).animate(
				{"opacity": "0.7"},
				{duration: 500}
			);
		},
		function(){
			$(this).animate(
				{"opacity": "1"},
				{duration: 500}
			);
	});		
		
// Cycle gallery
	$('#slideshow').cycle({ 
		fx:    'fade', 
		speed:  1000,
		timeout: 0,
		//speedIn:     null,  // speed of the "in" transition 
		//speedOut:    null,  // speed of the "out" transition
		next:   '#next', 
		prev:   '#previous'
		//width:	'1272'
		//pause: '#pause'
	});
	$('#slideshowhome').cycle({ 
		fx:    'fade', 
		speed:  1000,
		timeout: 4000
		//speedIn:     null,  // speed of the "in" transition 
		//speedOut:    null,  // speed of the "out" transition
		//next:   '#next', 
		//prev:   '#previous',
		//width:	'940'
		//pause: '#pause'
	});
	
// Form validator
	/*$(".register").validate();*/

}); //close doc ready
//]]>

