jQuery(document).ready(function() {
	/* set first the width of each ul for IE < 8 */ 
	jQuery('ul.sf-menu li ul').each(function() {
 		var maxWidth = 0;
		jQuery(this).children().each(function() {
			if (jQuery(this).width() > maxWidth)
				maxWidth = jQuery(this).width();
		}); 
		jQuery(this).css({width:(maxWidth+5)+'px'});
	});
	/* init the top menu */
	jQuery(function() {
		jQuery('ul.sf-menu').superfish({autoArrows:false});
	});
	jQuery('div.block_text').animate({
		opacity: 0.4
	}, 1000);

});
jQuery(window).load(function() {
   /* set the height of the left element for the right border */
	if (jQuery('div.content div.rgt').height() > jQuery('div.content div.lft').height())
		jQuery('div.content div.lft').css({height: jQuery('div.content div.rgt').height()+'px'});
});
