$(function(){
	$("a[href*='#']").easingScroll({
		easing: "easeOutQuart",
		duration: 600
	});
	$(document).pngFix();
	$(".photo").fancybox({
		'padding'   : 0,
		'autoScale'   : true,
		'transitionIn'  : 'none',
		'transitionOut'  : 'none',
		'titlePosition'  : 'outside',
		'overlayColor'  : '#fff',
		'overlayOpacity' : 0.6
	});
	$(".inline").fancybox({
	'padding'   : 0,
	'autoScale'   : false,
	'transitionIn'  : 'none',
	'transitionOut'  : 'none',
	'titlePosition'  : 'outside',
	'overlayColor'  : '#000',
	'overlayOpacity' : 0.5
	});
});
function external() {
	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=external;

