var panelOpen = false;
$(document).ready(function(){
	
	
	$('#proofLink').hover(function(){
		$('#divHeadingProof').fadeIn();
	});
	$('.imagePortfolio img').css('opacity', 0.5);
	$('.imagePortfolio img').hover(function(){$(this).fadeTo("slow", 1.0)},function(){$(this).fadeTo("slow", 0.5)});
	setTimeout("showPanel()",1500);
	
	$("a[rel='start']").colorbox({initialWidth:300, initialHeight:150, innerWidth:800, innerHeight:400});
	$("a[rel='vimeowebsitemanager']").colorbox({iframe:true, innerWidth:960, innerHeight:540});
	
});
function slidePanel(){
	$('#imgBlancoLink').blur();		
	if(panelOpen==false){
		panelOpen = true;
		$('#divInvisibleLink').css({top:217});	
		$('#divInformationPanel').animate({top:-50});	
		$('#imgUpDown').attr('src','/img/icon-up.png');		
	}else{
		panelOpen = false;		
		$('#divInvisibleLink').css({top:55});			
		$('#divInformationPanel').animate({top:-212});	
		$('#imgUpDown').attr('src','/img/icon-down.png');
	}
}
function showPanel(){
	$('#divInformationPanel').slideDown();
}