function setFullHeight () {

	var height  = jQuery(window).height();

	var height2 = jQuery('#content_frame').height();
	if (height2<height)
	{
		height2 = height-jQuery('#content_frame').offset().top-30;
		/*
		if (WSystem.ieVersion<=6) {
			jQuery ('#content_frame').css ("height", height2);	
		}
		else
		*/
		jQuery ('#content_frame').css ("min-height", height2);
	}
}

jQuery(document).ready(function() {  
	jQuery(document)[0].oncontextmenu = function() {return false;}  
	jQuery ('#focus_id').focus();
	jQuery(window).resize(function () {
		setFullHeight ();
	});  

});
