Shadowbox.init({
	language:   "fr",
	    players:    ["img", "qt", "iframe", "html"]
	});
$(document).ready(function() {
		
		$(".work").hover(function() {
	      $(this).children(".work_desc").animate({
	        opacity: 0.95,
	      },500);
		},function() {
	      $(this).children(".work_desc").animate({
	        opacity: 0,
	      }, 500);
	    });
	    
	    $('.list_links').hide();
	    
	    $('#links .head').click(function() {
			$(this).next('.list_links').toggle('slow');
			return false;
		}).next('.list_links').hide();
	});

function externalLinks() {   
	if (!document.getElementsByTagName) return;   
	var anchors = document.getElementsByTagName("a");   
	for (var i=0; i<anchors.length; i++) {   
		var anchor = anchors[i];   
		if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external")   
			anchor.target = "_blank";   
	}   
}

window.onload = externalLinks;