
$('#content-container').ready(function()
{
//	var height = $(window).height() - $('#header-container').height() - $('#mainmenu-container').height();
//	if($('#content').height() < height)
//	{
//		if($.browser.msie && parseInt($.browser.version) < 7)
//		{
//			$('#content').css({
//				height: height + 'px'
//			});
//		}
//		else
//		{
//			$('#content').css({
//				minHeight: height + 'px'
//			});
//		}
//	}
	
	$('#footer-container').css({top: $('body').height() - 25 + 'px'}).show();
});

$(document).ready(function()
{	
	$('a, input[type=button], input[type=submit], button').focus(function()
	{
		this.blur();
	});
	
	$('#reload-captcha').click(function()
	{
		var tmp = $('#int-captcha').attr('src');
		$('#int-captcha').attr('src', IntLib.getRB() + 'images/ajax-loader-big.gif');
		var cl = $('#int-captcha').clone().attr('src', tmp.replace(/\?reload=.+/i, '?reload=' + Math.random()));
		
		cl.load(function(){
			$('#int-captcha').attr('src', cl.attr('src'));
		});		
		

		return false;
	});
	

	$('#menu-left, #menu-left ul').each(function(){
		$(this).find('li:last').css({'borderBottom': 'none' });
	})
	
	$('#menu-left>li:last').css({'borderBottom': 'none' });
	
});




$(document).ready(function(){


	$('ul#menu-left').IntMenuList({
		action: { show: 'click', hide: 'click'},
		cursor: 'pointer',
		link_class: 'menu-activator',
		speed: 500,
		hide_speed: 500,
		autohide: false,
		type: 'slidedown',
		show_active: true
	});

	$('ul#menu-top').IntMenuList({
		action: { show: 'mouseenter'},
		autohide: 500,
		speed: 100,
		hide_speed: 0,
		cursor: 'pointer'
	});
	
});
