function resizePanel(E,B,C){var A=jQuery(window).height();var D=jQuery(window).width();if(top.document.location==document.location){resizePanelTo(E,B,D-12,A-20)}else{resizePanelTo(E,B,D,A)}if(C){jQuery(window).resize(function(){resizePanel(E,B,false)})}}function resizePanelTo(G,C,A,D){var B=jQuery("#"+G);var F=jQuery("#"+G+"_content");panelWidth=A;contentHeight=D-46;if(C){contentHeight=contentHeight-34}B.width(panelWidth);if(D>0){B.height(D)}if(F!=null){if(panelWidth>0){F.width(panelWidth-6)}if(contentHeight>0){F.height(contentHeight)}}if(C&&panelWidth>0){var E=panelWidth-35;jQuery("#"+G+"_menu").width(E);jQuery("#"+G+"_menu_slh").width(E);jQuery("#"+G+"_menubackground").width(panelWidth-2)}};