/*jx:486*/function close_popup(d,b,c){if(c||d.keyCode==27){boxHide(b)}}function boxHide(b){if(b[0]!="#"){b="#"+b}$(b).hide("slow");$("#mask").hide();$("#loading").hide()}function boxShow(g,f){if(g[0]!="#"){ids="#"}ids+=g;if(f==undefined){var f=new Array()}if(f.nodlg==undefined&&!f.nodlg){var d=$('div[name="box"]');for(var c=0;c<d.length;c++){if(d[c].id!=g){boxHide(d[c].id)}}}if(f.modal!=undefined&&f.modal){var b=$(document).height();var e="100%";$("#mask").css({width:e,height:b});$("#mask").fadeIn(800);$("#mask").fadeTo("slow",0.6);$(ids).center()}$(ids).show("slow")}function disp_confirm(c,d){var b=confirm(d);if(b==true){window.location=c}}function zTabClick(b){$(".tabs-pane").hide();$("#"+b).fadeIn();$(".tabs.tabs-focused").removeClass("tabs-focused");$(".tabs:not(#"+b+"-tab)").addClass("tabs-unfocused");$("#"+b+"-tab.tabs-unfocused").removeClass("tabs-unfocused");$("#"+b+"-tab").addClass("tabs-focused")}jQuery.fn.center=function(){this.css("position","absolute");this.css("top",($(window).height()-this.height())/2+$(window).scrollTop()+"px");this.css("left",($(window).width()-this.width())/2+$(window).scrollLeft()+"px");return this};function switchUl(b){if(document.getElementById){a=document.getElementById(b);a.style.display=(a.style.display!="none")?"none":"block"}};

