$(function() {
		   
/* initiate tabs */
	$("ul.tabs").tabs("div.panes > div", {history: true, effect:'fade', fadeInSpeed: "fast"});
	
	
	


	

/* work button */
	$("#cta a").click(function () {
      	$("#recentprojects").fadeIn();
		$(this).fadeOut();
    });
	
	
	
	$("#aboutrecentworklink").click(function () {
      	$("#recentprojects").fadeIn();
	});
	
	

/* load high res background */

	$("#headerback").css("background","#000 url(img/header_back_high.jpg) no-repeat scroll center top");
	
	$("#contentback").css("background","#000 url(img/content_back_high.jpg) no-repeat scroll center top");
	
	
	/* 1 */
	$("#bivvingameads").hover(function () {
      	$("#workcontent1").fadeIn();
    },
	function ()  {
		$("#workcontent1").fadeOut();	
	});
	
	
	/* 2 */
	$("#vlamplantbrowser").hover(function () {
      	$("#workcontent2").fadeIn();
    },
	
	function ()  {
		$("#workcontent2").fadeOut();	
	});
	
	/* 3 */
	$("#toyota").hover(function () {
      	$("#workcontent3").fadeIn();
    },
	
	function ()  {
		$("#workcontent3").fadeOut();	
	});
	
	/* 4 */	
			
	$("#carrefour").hover(function () {
      	$("#workcontent4").fadeIn();
    },
	
	function ()  {
		$("#workcontent4").fadeOut();	
	});

	/* 5 */	
			
	$("#durfdenken").hover(function () {
      	$("#workcontent5").fadeIn();
    },
	
	function ()  {
		$("#workcontent5").fadeOut();	
	});
	
	/* 6 */	
			
	$("#peterverstraelen").hover(function () {
      	$("#workcontent6").fadeIn();
    },
	
	function ()  {
		$("#workcontent6").fadeOut();	
	});

});