		$(document).ready(function() {
		
			Hyphenator.config({
                onhyphenationdonecallback : function() {
                	$(".frame").each(function(i){
						var myHeight = $(this).height();
						$(this).children(".leftBorder, .rightBorder").height(myHeight);
					});
					
					$('#container').each(function(i){
						var myHeight = $(this).height()+160;
						$(this).children(".containerLeftBorder, .containerRightBorder").height(myHeight).css("marginBottom", myHeight*-1);				
					});
                }
	        });
	        Hyphenator.run();
		
			$('#mainmenu li.group:last-child').children("ul").css("margin-right", "0px");			
			$("#content div.column:nth-child(3)").css("margin-right", "0px");
			
			$(".wideColorBorder").each(function(){
				$(this).children(".topBorder, .leftBorder, .rightBorder, .bottomBorder").css("background-color", $(this).css("border-bottom-color"));
			});
			
			$(".smallColorBorder").each(function(){
				$(this).css("border-color", $(this).css("border-bottom-color"));
			});
			
			$("#container .noBorder, #container .wideWhiteBorder, #container .smallWhiteBorder").each(function(){
				$(this).css("background-color", $(this).css("border-bottom-color"));
			});
			$(".wideWhiteBorder, .smallWhiteBorder").each(function(){
				$(this).css("border-bottom-color", "#fff");
			});
				
		});


