
$('#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', '');
		$('#int-captcha').attr('src', tmp + '?reload=' + Math.random());

		return false;
	});
});
