	google.load("jquery","1.7");
	
	google.setOnLoadCallback(function(){
		
	$(function(){			
			$('.btn').corner('3px');
			$('.text').corner('3px');
			$('.textarea').corner('3px');
			$('.blocks label.error').corner('8px');
			$('.blocks label.ok').corner('8px');
			
			
	}
	);
		
	$(document).ready(function(){
		
			//Set opacity on each span to 0%
			$(".facebook").css({'opacity':'0'});
			
			$('.rodape_direito a').hover(
				function() {
					$(this).find('.facebook').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.facebook').stop().fadeTo(500, 0);
				}
				
			)
			
		});
		
	$(document).ready(function(){
		
		$(".twitter").css({'opacity':'0'});
			
			$('.rodape_direito a').hover(
			function() {
					$(this).find('.twitter').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.twitter').stop().fadeTo(500, 0);
				}
			
			)
	
		});
		
		
	$(document).ready(function(){
		
		$(".orkut").css({'opacity':'0'});
			
			$('.rodape_direito a').hover(
			function() {
					$(this).find('.orkut').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.orkut').stop().fadeTo(500, 0);
				}
			
			)
	
		});
		
	$(document).ready(function(){
		
		$(".flickr").css({'opacity':'0'});
			
			$('.rodape_direito a').hover(
			function() {
					$(this).find('.flickr').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.flickr').stop().fadeTo(500, 0);
				}
			
			)
	
		});
		
	$(document).ready(function(){
		
		$(".youtube").css({'opacity':'0'});
			
			$('.rodape_direito a').hover(
			function() {
					$(this).find('.youtube').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.youtube').stop().fadeTo(500, 0);
				}
			
			)
	
		});
		
	$(document).ready(function(){
		
		$(".vimeo").css({'opacity':'0'});
			
			$('.rodape_direito a').hover(
			function() {
					$(this).find('.vimeo').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.vimeo').stop().fadeTo(500, 0);
				}
			
			)
	
		});
		
	$(document).ready(function(){
		
		$(".picasa").css({'opacity':'0'});
			
			$('.rodape_direito a').hover(
			function() {
					$(this).find('.picasa').stop().fadeTo(500, 1);
				},
				function() {
					$(this).find('.picasa').stop().fadeTo(500, 0);
				}
			
			)
	
		});
		
	$(document).ready(function(){
		
		$(".elieser").css({'opacity':'0'});
			
			$('.rodape_direito a').hover(
			function() {
					$(this).find('.elieser').stop().fadeTo(1000, 1);
				},
				function() {
					$(this).find('.elieser').stop().fadeTo(1000, 0);
				}
			
			)
	
		});
	
	$(document).ready(function () {	
		
		$('#nav li').hover(
			function () {
				//show its submenu
				$('ul', this).slideDown(500);
	
			}, 
			function () {
				//hide its submenu
				$('ul', this).slideUp(400);			
			}
		);
		
	});
	
	$(document).ready(function(){
		
		$('.box_skitter_large').skitter({label: false, numbers: false, animation: 'fade'});
		$('.Casamento').skitter({label: false, numbers: false, animation: 'fade'});
		$('.15Anos').skitter({label: false, numbers: false, animation: 'fade'});
		$('.Formatura').skitter({label: false, numbers: false, animation: 'fade'});
		$('.box_skitter_interno').skitter({label: false, numbers: false, animation: 'fade'})
		$('.box_skitter_casamento').skitter({label: false, numbers: false, animation: 'fade'})
		
	});
	
		$(document).ready(function() {	
		$('#nav_rodape li').hover(function() {
			$('ul', this).slideDown(500);
			$(this).children('a:first').addClass("hov");
		}, function() {
			$('ul', this).slideUp(300);
			$(this).children('a:first').removeClass("hov");		
		});
	});
		
	
	

	function mycarousel_initCallback(carousel)
	{
		// Disable autoscrolling if the user clicks the prev or next button.
		carousel.buttonNext.bind('click', function() {
			carousel.startAuto(0);
		});
	
		carousel.buttonPrev.bind('click', function() {
			carousel.startAuto(0);
		});
	
		// Pause autoscrolling if the user moves with the cursor over the clip.
		carousel.clip.hover(function() {
			carousel.stopAuto();
		}, function() {
			carousel.startAuto();
		});
	};
	
	jQuery(document).ready(function() {
		jQuery('#mycarousel').jcarousel({
			auto: 2,
			wrap: 'last',
			initCallback: mycarousel_initCallback
		});
	});


		});
	
