function showPopupLoading(){Richfaces.showModalPanel("popupLoading");document.getElementById("_viewRoot:status.start").style.display="block"}function hidePopupLoading(){Richfaces.hideModalPanel("popupLoading");document.getElementById("_viewRoot:status.start").style.display="none"}function Popup(){this.over=false}Popup.prototype.mouseIsOut=function(){this.over=false};Popup.prototype.mouseIsOver=function(){this.over=true};Popup.prototype.isOver=function(){return this.over};Popup.prototype.close=function(){jQuery(".popup").remove();new GlassPane().getInstance().disable()};Popup.prototype.getInstance=function(){instance=instancier.getInstance("Popup.class");if(instance==null){instancier.createInstance("Popup.class",this)}return instancier.getInstance("Popup.class")};Popup.prototype.show=function(b,a){if(this.hasPopup()){this.close()}this.renderer(b,a);new GlassPane().getInstance().enable()};Popup.prototype.hasPopup=function(){if(jQuery(".popup").length>0){return true}else{return false}};Popup.prototype.renderer=function(b,a){var b=jQuery(b);jQuery("body").append("<div class='popup'>&nbsp;</div>");jQuery(".popup").attr({style:"display:none;position:absolute;"});this.top="top:"+b.position().top+"px;";this.left="left:"+b.position().left+"px;";jQuery(".popup").attr({style:this.top+this.left+"diplay:block !important;position:absolute;z-index:10"});jQuery.ajax({url:a,complete:this.success})};Popup.prototype.success=function(b,a){if((a=="success"||a=="notmodified")){jQuery(".popup").append(b.responseText)}};function over(){var a=new Popup().getInstance();a.mouseIsOver()}function out(){var a=new Popup().getInstance();a.mouseIsOut()};