$(function(){
	var content_height = $(".content_left").height();
	$(".content_right_line").css('height', content_height + 'px');
	
	var path = window.location.pathname;
	var boem = path.split ( '/' );
	boem.reverse();
	var boem = boem[0].split ( '.' );
	if ( boem[0] == "" )
	{
		boem[0] = "index";
	}
	$('#' + boem[0]).css( 'color', '#444' );
	$('#' + boem[0]).css( 'background-image', 'url( http://pronet-solutions.nl/projecten/pronet/images/button_bar_bg_hover.png )' );
	$('#' + boem[0]).css( 'width', '100px' );
	$('#' + boem[0]).css( 'text-align', 'center' );
	$('#' + boem[0]).css( 'float', 'left' );
	$('#' + boem[0]).css( 'text-decoration', 'none' );
	$('#' + boem[0]).css( 'height', '45px' );
	$('#' + boem[0]).css( 'line-height', '45px' );
});

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;
