if ($('body').layout('panel','east').panel('options').collapsed){ $('body').layout('expand','east');}