// JavaScript Document
Shadowbox.init({overlayOpacity: 0.75
});



    $(document).ready(function () {
	$('.video a').append('<div class="play"></div>');
 	});   
      $(document).ready(function () {

/*  $('.kleurenwaaier').children('li').addClass(function (i) {   return 'kleur' + (i+1); }); 
  $('.kleur20, .kleur40, .kleur60').after($('<br clear="all" />'));*/

  });   
  
    $(document).ready(function () {
    	$(".kleurenwaaier li a").hover(
    			function(){
    				$(this).css("cursor", "default");
    				$(this).animate({ width: "100px" }, {queue:false, duration:"normal"} );
    				$(this).children("span").animate({opacity: "show"}, "fast");
    			}, 
    			function(){
    				$(this).animate({ width: "20px" }, {queue:false, duration:"normal"} );
    				$(this).children("span").animate({opacity: "hide"}, "fast");
    			});
    	$(".kleurenwaaierM li a").hover(
    			function(){
    				$(this).css("cursor", "default");
    				$(this).animate({ width: "150px" }, {queue:false, duration:"normal"} );
    				$(this).children("span").animate({opacity: "show"}, "fast");
    			}, 
    			function(){
    				$(this).animate({ width: "30px" }, {queue:false, duration:"normal"} );
    				$(this).children("span").animate({opacity: "hide"}, "fast");
    			});
    	$(".kleurenwaaierL li a").hover(
    			function(){
    				$(this).css("cursor", "default");
    				$(this).animate({ width: "200px" }, {queue:false, duration:"normal"} );
    				$(this).children("span").animate({opacity: "show"}, "fast");
    			}, 
    			function(){
    				$(this).animate({ width: "40px" }, {queue:false, duration:"normal"} );
    				$(this).children("span").animate({opacity: "hide"}, "fast");
    			});
    	$(".kleurenwaaierXL li a").hover(
    			function(){
    				$(this).css("cursor", "default");
    				$(this).animate({ width: "300px" }, {queue:false, duration:"normal"} );
    				$(this).children("span").animate({opacity: "show"}, "fast");
    			}, 
    			function(){
    				$(this).animate({ width: "60px" }, {queue:false, duration:"normal"} );
    				$(this).children("span").animate({opacity: "hide"}, "fast");
    			});
	 });   
	 
Cufon.replace('h1,h2,h3,h4,.title,.title a,.subtitle, .subtitle a, .banner, div.rightbutton a', {hover: true});


    $(document).ready(function () {
       $('.coda-slider').codaSlider({
           dynamicArrows: false,
		   dynamicTabsAlign: 'left',
		   autoHeight: false
		   });
   });
   	
	$(document).ready(function () {
    var options = {
        navigation: 'permanent'
    }
    $('.ppy').popeye(options);
    $('.ppy_product_compare').popeye(options);

});

$(function () {
                        var tabContainers = $('div.tabs > div');
                        tabContainers.hide().filter(':first').show();
                        
                        $('div.tabs ul.tabNavigation a').click(function () {
                                tabContainers.hide();
                                tabContainers.filter(this.hash).show();
                                $('div.tabs ul.tabNavigation a').removeClass('selected');
                                $(this).addClass('selected');
                                return false;
                        }).filter(':first').click();
                });


