jQuery(document).ready(function($){
	
	// Set min-height for content, so page isn't scaled by accordeon
	if($('#content-left').height()<$('#content-right').height()){
		$('#content-left').height($('#content-right').height());
	}
	
	// Open links in new window
	$('a').each(function(){
		if(this.host != window.location.host){
			if($(this).attr('href').indexOf("javascript") == -1){ // if is not mail link
				$(this).attr('target', '_new');
			}
		}
	});
	
	// Init shadowbox
	Shadowbox.init({
	    overlayOpacity: 0.8
	});
});
