var _sintactWindowUtil={_unloadHandlers:[],_unloadRegistered:false,_windowBlocked:false,onUnLoad:function(b){if(!this._unloadRegistered){var a=this;window.onunload=function(){$.each(a._unloadHandlers,function(c,d){d()})};this._unloadRegistered=true}if($.isFunction(b)){this._unloadHandlers.push(b)}},getElement:function(a){if(!a||a.length==0){return null}if(document.getElementById){return document.getElementById(a)}else{if(document.all){return document.all[a]}else{if(document.layers){return document.layers[a]}}}return null},displayModalBox:function(a){if(this._windowBlocked){return}$.blockUI({message:a,css:{backgroundColor:"#000",fontSize:"14px",border:"none",padding:"25px",opacity:0.6,color:"#FFF",width:"250px",left:(($(window).width()-300)/2)+"px"}});this._windowBlocked=true},hideModalModalBox:function(){if(!this._windowBlocked){return}$.unblockUI();this._windowBlocked=false}};
