


$(document).ready(function() {
		animTitle.init()
		var heightSite = $(window).height() - $("div.contact").height() -251
		heightSite + "px"
		$("body").css("paddingBottom",heightSite)
		$('a.colorbox,a.bigLink').colorbox({width:"750px", height:"350px"});
		$('a.colorbox2').colorbox({width:"840px", height:"560px"});
});


animTitle = {
	init : function(){	
			$("h1.title,h2.title").css("opacity",0)
		
		setTimeout(function() {
			$("h1.title").animate({
				marginLeft:"0px",
				opacity:1
			},500) 
		},1000,"easeOutExpo")
		setTimeout(function() {
			$("h2.title").animate({
				marginLeft:"0px",
				opacity:1
			},500) 
		},1100,"easeOutExpo")
	
	}
}
