// JavaScript Document

$(document).ready(function() {
    			
	$("img").animate({opacity: 1.0}, "fast");
	
	$("a img").hover(function(){
							
		$(this).animate({opacity: 0.8}, "fast");
	
	},
	
	function(){
		
		$(this).animate({opacity: 1.0}, "fast");
		
	});	
	
	
				
});



	function animate(Id){
		
	var Obj = Id;
	
		$(document).ready(function() {
		
			$("#"+Obj).css({'position' : 'relative'});
			$("#"+Obj).animate({right: 10}, 500);					
				
		
		});
		
	}
	
	function Resetanimate(Id){
		
	var Obj = Id;
	
		$(document).ready(function() {
		
			$("#"+Obj).css({'position' : 'relative'});
			$("#"+Obj).animate({right: 0}, 500);					
				
		
		});
		
	}
	
	function animateUp(Id){
		
	var Obj = Id;
	
		$(document).ready(function() {
		
			$("#"+Obj).css({'position' : 'relative'});
			$("#"+Obj).animate({top: -5}, 300);					
				
		
		});
		
	}
	
	function ResetanimateUp(Id){
		
	var Obj = Id;
	
		$(document).ready(function() {
		
			$("#"+Obj).css({'position' : 'relative'});
			$("#"+Obj).animate({top: 0}, 300);					
				
		
		});
		
	}

var show = true;

function showCom(){		
		
	if(show == true){
		
		$("#conteudo").show('slow');
		show = false;
	
	}else{
	
		$("#conteudo").hide('slow');
		show = true;
	}
		
}

var showF = true;

function showFotos(){		
		
	if(showF == true){
		
		$("#galeria").show('slow');
		showF = false;
	
	}else{
	
		$("#galeria").hide('slow');
		showF = true;
	}
		
}
	
var showV = true;	
function showVideos(){		
		
	if(showV == true){
		
		$("#videos").show('slow');
		showV = false;
	
	}else{
	
		$("#videos").hide('slow');
		showV = true;
	}
		
}	
	
