WIDGET=function(){return{wait:function(c){try{var a=new YAHOO.widget.Panel("wait",{width:"330px",fixedcenter:true,close:false,draggable:false,zindex:4,modal:false,visible:false});if(typeof c=="undefined"){c="Processing, please wait..."}a.setHeader("<span>"+c+"</span>");a.setBody('<div class="fs_loader_bar"></div>');a.render(document.body);return a}catch(b){alert(b+" wait() widget.js")}},dialog:function(j,i,e,b,h,a,g){try{if(typeof g=="undefined"){g=false}var d=new YAHOO.widget.Dialog(j,{width:"400px",fixedcenter:true,postmethod:"async",close:false,effect:{effect:YAHOO.widget.ContainerEffect.FADE,duration:0.15},modal:g});d.setBody("");d.cfg.queueProperty("buttons",e);d.callback.success=h;d.callback.failure=a;d.render(document.body);d.show();var f=d.form;f.setAttribute("method","POST");f.setAttribute("id","frm_dialog");f.setAttribute("action",b);f.appendChild(i)}catch(c){alert(c+" container() panel.js")}},panel:function(){try{var a=new YAHOO.widget.Panel("win",{width:"400px",fixedcenter:true,constraintoviewport:true,close:false,visible:true,draggable:false,modal:true});a.setHeader("This is my header content");a.setBody("This is my body content");a.setFooter("This is my footer content");a.render(document.body)}catch(b){alert(b+" container() panel.js")}},overlay:function(){try{var a=new YAHOO.widget.Overlay("overlay",{fixedcenter:true,visible:true,width:"300px"});a.setHeader("This is my header content");a.setBody("This is my body content");a.setFooter("This is my footer content");a.render(document.body)}catch(b){alert(b+" container() overlay.js")}},module:function(){try{var a=new YAHOO.widget.Module("module");a.setHeader("This is my header content");a.setBody("This is my body content");a.setFooter("This is my footer content");a.cfg.queueProperty("visible",true);a.render(document.body)}catch(b){alert(b+" container() widget.js")}},processBox:function(e,b,f){try{var a=ENV.getURL();if(a==null){a=""}if(typeof b=="undefined"){b=a+"images/processbar.gif"}var d=document.createElement("DIV");d.appendChild(document.createTextNode(e));YAHOO.util.Dom.setStyle(d,"border","#333333 solid 1px");YAHOO.util.Dom.setStyle(d,"background","url("+b+") #f7f7f7 no-repeat 10px 33px");YAHOO.util.Dom.setStyle(d,"font-size","100%");YAHOO.util.Dom.setStyle(d,"font-weight","bold");YAHOO.util.Dom.setStyle(d,"width","150px");YAHOO.util.Dom.setStyle(d,"height","30px");YAHOO.util.Dom.setStyle(d,"padding","10px 0px 22px 10px");YAHOO.util.Dom.setStyle(d,"margin-bottom","10px");YAHOO.util.Dom.setStyle(d,"position","absolute");YAHOO.util.Dom.setStyle(d,"display","block");YAHOO.util.Dom.setStyle(d,"zIndex","999");window.document.body.appendChild(d);DOM.centerEl(d);return d}catch(c){alert(c+" processBox")}},alertBox:function(c,a,f,e,d){try{if(typeof a=="undefined"){a=""}if(typeof f=="undefined"){f=""}alertBox2=new YAHOO.EXT.MessageBox(f,c,a,"alert",d);alertBox2.show();ANIM.fadeout(document.getElementById("alert"),400,2,true)}catch(b){alert(b+" alertBox")}},messagebox:function(a,f,d,g,b,c){try{if(typeof d=="undefined"){d=""}if(typeof g=="undefined"){g=""}alertBox2=new YAHOO.EXT.MessageBox(g,f,d,a,c);alertBox2.show();if(b>0){ANIM.fadeout(document.getElementById(a).parentNode,b,2,true)}}catch(e){alert(e+" messagebox")}},blanketPage:function(){try{var a=document.createElement("DIV");a.style.backgroundColor="#000000";a.style.width=YAHOO.util.Dom.getDocumentWidth()+"px";a.style.height=((YAHOO.util.Dom.getDocumentHeight()-js_get_scrollTop())*2)/1.5+"px";a.style.zIndex="999";moveToY(a,0);moveToX(a,0);YAHOO.util.Dom.setStyle(a,"opacity",0.8);document.body.appendChild(a);return a}catch(b){alert(b+" messagebox")}},modalWindow:function(f,a){try{if(typeof a!="undefined"){var c=document.createElement("DIV");c.style.backgroundColor="#000000";c.style.width=YAHOO.util.Dom.getDocumentWidth()+"px";c.style.height=((YAHOO.util.Dom.getDocumentHeight()-js_get_scrollTop())*2)+"px";c.style.zIndex="999";c.setAttribute("id",a);moveToY(c,0);moveToX(c,0);YAHOO.util.Dom.setStyle(c,"opacity",0.3);document.body.appendChild(c)}f.style.display="inline";var d=(YAHOO.util.Dom.getViewportWidth()/2)-(js_get_elementWidth(f)/2)+YAHOO.util.Dom.getDocumentScrollLeft();var b=((YAHOO.util.Dom.getViewportHeight()/2)-(js_get_elementHeight(f)/2))+YAHOO.util.Dom.getDocumentScrollTop();f.style.top=b+"px";f.style.left=d+"px";f.style.zIndex="1000";YAHOO.util.Dom.setStyle(f,"opacity",0);ANIM.fadein(f,5)}catch(e){alert(e+" modalWindow")}}}}();
