$(function() {
  $('.logo img').hover(function() {
    $('div.scribble_homepage').removeClass('hide').fadeIn('fast');
  },function() {
    $('div.scribble_homepage').fadeOut('fast').addClass('hide');
});});
$(document).ready(function(){
$(".logo_wrap div").hover(
function() {
$(this).stop().animate({"opacity": "0"}, "slow");
},
function() {
$(this).stop().animate({"opacity": "1"}, "slow");
});
});
$(function() {
  $('a.plus').hover(function() {
    var id = $(this).attr('id');
    $('div.scribble_plus.'+ id).fadeIn('fast');
  },function() {
	var id = $(this).attr('id');
    $('div.scribble_plus.'+ id).fadeOut('fast');
});});

$(function() {
  $('a.next').hover(function() {
    var id = $(this).attr('id');
    $('div.scribble_next.'+ id).fadeIn('fast');
  },function() {
	var id = $(this).attr('id');
    $('div.scribble_next.'+ id).fadeOut('fast');
});});

$(function() {
  $('a.prev').hover(function() {
    var id = $(this).attr('id');
    $('div.scribble_prev.'+ id).fadeIn('fast');
  },function() {
	var id = $(this).attr('id');
    $('div.scribble_prev.'+ id).fadeOut('fast');
});});

$(function() {
  $('a.minus').hover(function() {
    var id = $(this).attr('id');
    $('div.scribble_minus.'+ id).fadeIn('fast');
  },function() {
	var id = $(this).attr('id');
    $('div.scribble_minus.'+ id).fadeOut('fast');
});});
$(function() {
  $('a.referentie').hover(function() {
    var id = $(this).attr('id');
    $('div.scribble_referenties.'+ id).fadeIn('fast');
  },function() {
	var id = $(this).attr('id');
    $('div.scribble_referenties.'+ id).fadeOut('fast');
});});
$(document).ready(function(){
	$("a.fade_button").blend();
	$("a.button_small").blend();
	$("a.button_mid").blend();
});
if ( !($.browser.msie && $.browser.version == 7.0) ){
$(document).ready(function(){	
	// portfolio hover
	$('#portfolio_list li').hover(function(){
		$(this).find('.overlay').fadeIn('fast');
		return false;
	}, function(){
		$(this).find('.overlay').fadeOut('fast');
		return false;
	});	
});
jQuery.fn.galleryhover = function() {
	$('#gallery div').hover(function(){
		$(this).find('.overlay').fadeIn('fast');
		return false;
	}, function(){
		$(this).find('.overlay').fadeOut('fast');
		return false;
	});
}
$(window).galleryhover();
}

$('.client_logos div').hover(function(){
	$(this).animate({opacity:'0.7'},'fast');
	return false;
}, function(){
	$(this).animate({opacity:'1'},100);
	return false;
});

$('.clients_top li').hover(function(){
	$(this).animate({opacity:'0.7'},'fast');
	return false;
}, function(){
	$(this).animate({opacity:'1'},100);
	return false;
});

$('#portfolio_item img, .fancybox-inner img, #portfolio_list img').removeAttr('title').attr('alt',' '); 

