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"; 
		}
	}
}

if (window.addEventListener) {
	window.addEventListener('load', externalLinks, false); 
} else if (window.attachEvent) { 
	window.attachEvent('onload', externalLinks);
}

function popup(pageUrl, width, height) {
	var left = screen.width / 2 - width / 2;
	var top = screen.height / 2 - height / 2;
	
	window.open(pageUrl, '', 'width=' + width + ',height=' + height + ',top=' + top + ',left=' + left + ",scrollbars=yes,resizable=no");
}

/*$(document).ready(function() {
	$('#imgBoek').mouseover(function() {
	  $('#imgBoek').stop().animate({width: '160px', marginLeft: '-319px'}, 500);
	});
	$('#imgBoek').mouseout(function() {	
		$('#imgBoek').stop().animate({width: '177px', marginLeft: '-336px'}, 500);
	});
});*/


	// 	  $('#imgBoek').animate({width: '8px', marginLeft: '-166px'}, 500, function() { $('#imgBoek').animate({width: '177px', marginLeft: '-336px'}, 500) });
