(function(a){a.hybs=a.hybs||{};a.hybs.defaults={sHybsSel:"h_rowSel",sNoTsKey:"h_noTrnsKey",sAjxSbmtKey:"h_ajaxSubmit",sHybsRid:"rid",sHybsKh:"kh",sHybsCmd:"command",sHybsCmdVal:"commandVal",sCmdInit:"INIT",sCmdNew:"NEW",sCmdInsert:"INSERT",sCmdInsertOne:"INSERTONE",sCmdCopy:"COPY",sCmdModify:"MODIFY",sCmdDelete:"DELETE",sCmdEntry:"ENTRY",sCmdView:"VIEW",sCmdReset:"RESET",sCmdUndo:"UNDO",sEntryCls:"entryBtn",sEditCls:"editBtn",sSelRow:"SEL_ROW"};a.hybs.ogAlert=function(b,c){a.jqm?(c=a("div.jqmAlert#ogdlg"),
c.length||(c=a("<div class='jqmAlert' id='ogdlg'><img class='jqmPrintSafe' src='../image/space_white.gif' height='1' width='1'><div class='jqmAlertWindow'><div class='jqmAlertTitle jqDrag'><h1>\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002(The ERROR occurred.)</h1><a href='#' class='jqmClose'>\u00d7</a></div><div class='jqmAlertContent'></div></div></div>").appendTo(document.body),a.jqDnR&&c.jqDrag(".jqDrag"),c.jqm({modal:!1,overlay:0,onShow:function(d){var e=parseInt(d.w.css("z-index"),
10),f=d.w.find(".jqmAlertWindow").css("z-index",e+2);e=d.w.find(".jqmPrintSafe").css("z-index",e+1);d.w.show();e.css({width:f.outerWidth(),height:f.outerHeight()})},onHide:function(d){d.w.find(".jqmAlertContent").html("");d.w.hide();d.o&&d.o.remove()}})),c.find(".jqmAlertContent").html(b).find(".ERROR_BACK_BUTTON").css("display","none"),c.jqmShow()):alert(b)};a.hybs.ogLog=function(b,c){window.console&&window.console.error&&console.error(b)};a.hybs.getHValue=function(b){return b?(jHObj=a("input:hidden[name="+
b+"]"),jHObj[0]?jHObj[0].value:""):""};a.hybs.getNoColId=function(b){var c=-1;a("th:lt(3)",b).each(function(d){"No"==a(this).text()&&(c=d)});return c};a.hybs.getHybsTr=function(b){if(null!=b)return b.get(0)&&b.get(0).className&&0<=b.get(0).className.indexOf("row")?b:b.parent()};a.fn.extend({resizeView:function(b,c){return this.each(function(d){this.grid?a(this).hybsGrid().adjustSB():a.hgrid&&a(this).hybsGrid().adjustSB()})}});a.fn.focusin=function(b){this.focus(b);return this};a.fn.focusout=function(b){this.blur(b);
return this}})(jQuery);
