jQuery.noConflict();
jQuery(document).ready(function() {
	var height = Math.max(jQuery(document).innerHeight(), jQuery('body').get(0).offsetHeight);
	var navigHeight = jQuery('#navig').outerHeight();
	var fromBottom = 
		jQuery('#wrapper-footer').outerHeight() + 
		jQuery('#footer-pic').outerHeight({ margin: true }) + 
		6; 
	var mainContentHeight = jQuery('#main-content').outerHeight({ margin: true });
	var columnRightHeight = jQuery('#column-right').outerHeight({ margin: true })

	if(mainContentHeight <= columnRightHeight) { 
		jQuery('#navig').css({ 
			position: 'absolute', 
			top: (height - fromBottom - navigHeight)+'px' 
		});
	}
	jQuery("div.menu").hover(
		function () {
			jQuery(".banner_inner").hide(); 
		}, 
		function () {
			jQuery(".banner_inner").show();
		}
	);
});