var left_control_stats = true;
var left_control_panel = $("master-layout").layout("panel","west");
$("left-control-switch").on("click",function(){
if(left_control_stats ){
left_control_panel.panel("resize",{width:80});
left_control_stats = false;
$(".theme-left-normal").hide();
$(".theme-left-minimal").show();
}else{
left_control_panel.panel("resize",{width:230});
left_control_stats = true;
$(".theme-left-normal").show();
$(".theme-left-minimal").hide();
}
});