$(document).ready(function() {
	fe = $(document).height();
	$('#content-tbl').css('height',fe - 410);
	$('#text').fadeIn(0);
	$('.scroll').css('height',fe - 470);	
	//Opera = navigator.userAgent.indexOf('Opera') >= 0;
	//if (!Opera)
	//{
		//$('.scroll').jScrollPane({scrollbarWidth:10, scrollbarMargin:30,showArrows:1});
		//$('.jScrollPaneDrag').css('height','10px');
	//}
        $('#left ul li:last-child').css('background','none');
	
	$(window).resize(function() {
		$('#content-tbl,.jScrollPaneContainer').css('height','1%');
		fe = $(document).height();
		hfe = $(document).width();		
		$('.content-tbl').css('height',fe-410);	
		$('.jScrollPaneContainer').css('width','400');	
		$('.jScrollPaneContainer').css('height',fe - 470);	
		//Opera = navigator.userAgent.indexOf('Opera') >= 0;
		//if (!Opera)
		//{
			//$('.scroll').jScrollPane({scrollbarWidth:10, scrollbarMargin:30,showArrows:1});
			//$('.jScrollPaneDrag').css('height','10px');
		//}
	});	
	
});	

