var c_cache=[]
function ShowLoading(a){$("#loading-layer").remove();$("body").append("<div id='loading-layer' style='display:none' class='loading-layer'></div>");a?$("#loading-layer").html(a):$("#loading-layer").html(dle_act_lang[1]);a=($(window).width()-$("#loading-layer").width())/2;var c=($(window).height()-$("#loading-layer").height())/2;$("#loading-layer").css({left:a+"px",top:c+"px",position:"fixed",zIndex:"99"});$("#loading-layer").fadeTo("slow",.1)}
function HideLoading(a){$("#loading-layer").fadeOut("slow",function(){$("#loading-layer").remove()})};