	 
$(document).ready(function(){
	
	$("ul.references li.item").colorbox({width:"580", inline:true, href:".inline", maxHeight:"630px", scrolling:false,  href:function(){ return $(this).children(".popup").html(); }});
//	$(".product a.popup").colorbox({width:"580", inline:true, href:".inline", maxHeight:"630px", scrolling:false, href:function(){ return $("div.popup").html(); }});

	$(".product a.popup, .product_item a.popup").colorbox({width:"580", inline:true, href:".inline", maxHeight:"630px", scrolling:false, href:function(){ 
		$target = $(this).parent().parent().find("div.popup")
		return $($target).html(); 
		}
	});
	
	$('a').click(function() {
		// voor ie6 outline verwijderen
		this.blur();
	});
	
	$("div.more").hide();
	$('div.product a.more').click(function() {
		//$("div.more").toggleClass("open"); 		
		$(this).parent().parent().children("div.more").toggle();
		return false;
	});	
	
	
	$('.marquee').cycle({ 
    fx:'scrollLeft', 
	speed: 8000,
	timeout: 3000,
	continuous: 0, 
    pause: 0,
	// Verhelpt bug met witte achtergrond bij IE6 & 7
	cleartype:  true,
    cleartypeNoBg:  true
	});
	
	$("div#scrollable").scrollable({ 
        vertical:true,  
        size: 3 
         
    // use mousewheel plugin 
    }).mousewheel();     
	
	$('ul.slideshow').cycle({ 
	    fx: 'scrollHorz', 
	    timeout: 6000, 
		speed: 1000,
	    pager: '.nav'
//	    pagerEvent: 'mouseover', 
		});

     
});

