function oversized_media(a,b){if(confirm(confirm_message))file_type=8;else{if(b)return!1;file_type=3}window.location.href="index.php?module=filecabinet&fop=pick_file&mw="+mw+"&mh="+mh+"&cm="+cm+"&authkey="+authkey+"&itn="+itn+"&file_type="+file_type+"&id="+a+"&fid="+fid;return!1}var previous_panel_id=0;
function slider(a){slide_id="#image-thumbnail-"+a;panel="#panel-"+a;previous_panel_id!=a?(previous_panel="#panel-"+previous_panel_id,$(panel).show("fast"),$(previous_panel).hide("fast"),previous_panel_id=a):($(panel).hide("fast"),previous_panel_id=0);return!1}function carousel_pick(){$("#carousel-pick").toggle("fast");return!1}function lightbox_pick(){$("#lightbox-pick").toggle("fast");return!1};