﻿Module.createNamespace('com.wjstc.TabControls');Module.require('com.wjstc.Common',1.1);Module.require('com.wjstc.Util',1.1);Module.require('com.wjstc.WebTable',1.1);com.wjstc.TabControls.NAME='com.wjstc.TabControls';com.wjstc.TabControls.VERSION=1.1;com.wjstc.TabControls.d=function(img_src,img_alt,win_status,s_code,show_process){this.src=img_src;this.alt=img_alt;this.status=win_status;this.s_code=s_code;this.show_process=true;if(typeof(show_process)!=undefined){this.show_process=show_process;}return this;};com.wjstc.TabControls.A=function(s_code,in_align,td_align,in_size){this.s_code=s_code;this.in_align=(typeof(in_align)!='undefined')?in_align:'right';this.td_align=(typeof(td_align)!='undefined')?td_align:'center';this.in_size=(typeof(in_size)!='undefined')?in_size:'7';return this;};com.wjstc.TabControls.C=function(s_code,in_align,td_align,in_size){this.s_code=s_code;this.in_align=(typeof(in_align)!='undefined')?in_align:'right';this.td_align=(typeof(td_align)!='undefined')?td_align:'center';this.in_size=(typeof(in_size)!='undefined')?in_size:'7';return this;};com.wjstc.TabControls.v=function(s_code,in_align,td_align,in_size){this.s_code=s_code;this.in_align=(typeof(in_align)!='undefined')?in_align:'left';this.td_align=(typeof(td_align)!='undefined')?td_align:'center';this.in_size=(typeof(in_size)!='undefined')?in_size:'5';return this;};com.wjstc.TabControls.B=function(s_code,in_align,td_align,in_size){this.s_code=s_code;this.in_align=(typeof(in_align)!='undefined')?in_align:'left';this.td_align=(typeof(td_align)!='undefined')?td_align:'center';this.in_size=(typeof(in_size)!='undefined')?in_size:'5';return this;};com.wjstc.TabControls.r=function(s_code,td_align){this.s_code=s_code;this.td_align=(typeof(td_align)!='undefined')?td_align:'center';return this;};com.wjstc.TabControls.H=function(s_code,td_align){this.s_code=s_code;this.td_align=(typeof(td_align)!='undefined')?td_align:'center';return this;};com.wjstc.TabControls.Controls=function(tab_name,form_name,oControlConfigs){this.nav_tab_name=tab_name;this.nav_form_name=form_name;this.reportTitle='Report';this.columnPiePanelTitle='Pie Chart';this.columnPieLabelColumnNum=0;this.columnPieDataColumnNum=0-1;this.imgPath='img';this.showRecAfterSort='current';this.reportCharset='UTF-8';this.buttonStyle='';this.border_color_out='#D7D4C3';this.border_color_over='#000000';this.border_color_down='#000000';this.bg_color_out='transparent';this.bg_color_over='#FFD494';this.bg_color_down='#FFB874';this.controlStyle='padding:0 2px;background-color: #f6f6f6;border:1px solid #7f9db9;font-size:x-small;color:black;'+'font-weight:normal;font-family:Arial,Verdana,Helvetica,sans-serif;font-stretch:condensed;';com.wjstc.Util.parseObjectConfigs(this,oControlConfigs,'com.wjstc.TabControls.Controls(oControlConfigs)','oControlConfigs');this.buttons=new Array();var newBut=null;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nhi.gif","Hide","Hide button - hides the current record. Select any field of the record which we would like to hide. Press this button.","com.wjstc.WebTable.hideRec("+this.nav_tab_name+",document."+this.nav_form_name+");");this.buttons['hideRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/dl.gif","Delete","Delete button - deletes the current record. Select any field of the record which we would like to delete. Press this button.","com.wjstc.WebTable.hideRec("+this.nav_tab_name+",document."+this.nav_form_name+");");this.buttons['deleteRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nhu.gif","Hide Up","Hide Up button - hides all records above the current record.","com.wjstc.WebTable.hideUpRec("+this.nav_tab_name+",document."+this.nav_form_name+");");this.buttons['hideUp']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nhr.gif","Hide Rest","Hide Rest button - hides all records below the current record.","com.wjstc.WebTable.hideRestRec("+this.nav_tab_name+",document."+this.nav_form_name+");");this.buttons['hideRest']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nun.gif","Undo","Undo button - undoes the last operation performed: add, delete, hide, filter, exclude, sort ascending, sort descending...","com.wjstc.WebTable.undoRec("+this.nav_tab_name+",document."+this.nav_form_name+");");this.buttons['undo']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nfn.gif","Find (Next)","Find (Next) button. Select a field whose content you want to search. Enable a case sensitive search if needed by checking the Match case box. Press this button.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.WebTable.findRec(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf]);}");this.buttons['findNext']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nfu.gif","Find (Up)","Find (Up) button. Select a field whose content you want to search. Enable a case sensitive search if needed by checking the Match case box. Press this button.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.WebTable.findRec(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf],false);}");this.buttons['findUp']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nfl.gif","Filter","Filter button. Select some column field which you would like to use to filter records. Press this button.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.WebTable.filtRec(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf]);}");this.buttons['filter']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/su.gif","Filter only selected items","Filter only selected items button.  Press this button to show only selected items.","");this.buttons['filtSelected']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/all.gif","Show all records","all records button.  Press this button to show all records.","com.wjstc.WebTable.showAllRec("+this.nav_tab_name+",document."+this.nav_form_name+");");this.buttons['showAllRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nec.gif","Exclude","Exclude button. Select some column field which you would like to use to exclude (hide) records. Press this button.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.WebTable.excludeRec(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf]);}");this.buttons['exclude']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nec.gif","Exclude","Exclude button. Select some column field which you would like to use to exclude (hide) records. Press this button.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.WebTable.excludeRec(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf],'doNotAdd');}");this.buttons['excludeEmpty']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nsa.gif","Sort Ascending","Sort ascending button. Select any field of the column which we would like to sort. Press this button.","if(com.wjstc.WebTable.selectedTable!=null){var kkk=com.wjstc.WebTable.getColumn(com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].fo);var stime1=new Date(); "+"com.wjstc.WebTable.globalSortByCol('"+this.imgPath+"',com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf],'wt_'+com.wjstc.WebTable.selectedTable.name+'_'+com.wjstc.WebTable.selectedTable.saf+'_img',kkk,'"+this.showRecAfterSort+"',2);"+"};");this.buttons['sortAscending']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nsd.gif","Sort Descending","Sort descending button. Select any field of the column which we would like to sort. Press this button.","if(com.wjstc.WebTable.selectedTable!=null){var kkk=com.wjstc.WebTable.getColumn(com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].fo);var stime1=new Date(); "+"com.wjstc.WebTable.globalSortByCol('"+this.imgPath+"',com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf],'wt_'+com.wjstc.WebTable.selectedTable.name+'_'+com.wjstc.WebTable.selectedTable.saf+'_img',kkk,'"+this.showRecAfterSort+"',1);"+"};");this.buttons['sortDescending']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nrs.gif","Standard Report","Standard report button - generates a report listing all records.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.TableReports.standardReport(com.wjstc.WebTable.selectedTable,com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.reportTitle,document.forms[com.wjstc.WebTable.selectedTable.saf],'"+this.reportCharset+"');}");this.buttons['standardReport']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nrg.gif","Grouped Report","Grouped report button - generates a report listing all records grouped by selected column.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.TableReports.groupedReport(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf],com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.reportTitle,'"+this.reportCharset+"');}");this.buttons['groupedReport']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/ntr.gif","Grouped Report","Grouped report with Totals button - generates a report listing all records grouped by selected column with totals.","if(com.wjstc.WebTable.selectedTable!=null){"+"com.wjstc.TableReports.oGroupedTotReportConf.title=com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.reportTitle;"+"com.wjstc.TableReports.groupedTotDivReport("+"com.wjstc.WebTable.selectedTable,"+"document.forms[com.wjstc.WebTable.selectedTable.saf],"+"com.wjstc.TableReports.oGroupedTotReportConf);"+"}");this.buttons['groupedTotReport']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/chart_20.gif","Column Pie Report","Column Pie report - generates a Pie report for  selected column.","if(com.wjstc.WebTable.selectedTable!=null){"+"com.wjstc.TableReports.piePanelTitle=com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.columnPiePanelTitle;"+"com.wjstc.TableReports.columnPieLabelColumnNum=com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.columnPieLabelColumnNum;"+"com.wjstc.TableReports.columnPieDataColumnNum=com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.columnPieDataColumnNum;"+"com.wjstc.TableReports.columnPie("+"com.wjstc.WebTable.selectedTable,"+"document.forms[com.wjstc.WebTable.selectedTable.saf]);"+"}");this.buttons['pie']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/chartc_20.gif","Column Pie Report","Column Pie report - generates a Pie report for  selected column.","if(com.wjstc.WebTable.selectedTable!=null){"+"com.wjstc.TableReports.piePanelTitle=com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.columnPiePanelTitle;"+"com.wjstc.TableReports.columnPieLabelColumnNum=com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.columnPieLabelColumnNum;"+"com.wjstc.TableReports.columnPieDataColumnNum=com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.columnPieDataColumnNum;"+"com.wjstc.TableReports.columnPie("+"com.wjstc.WebTable.selectedTable,"+"document.forms[com.wjstc.WebTable.selectedTable.saf]);"+"}");this.buttons['columnPie']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/chartr_20.gif","Row Pie Report","Row Pie report - generates a Pie report for  selected row.","if(com.wjstc.WebTable.selectedTable!=null){"+"com.wjstc.TableReports.piePanelTitle=com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.rowPiePanelTitle;"+"com.wjstc.TableReports.rowPieLabelColumnNum=com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.rowPieLabelColumnNum;"+"com.wjstc.TableReports.rowPie("+"com.wjstc.WebTable.selectedTable,"+"document.forms[com.wjstc.WebTable.selectedTable.saf]);"+"}");this.buttons['rowPie']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/re.gif","Edit Custom Grouped Reports","Edit Custom Grouped Reports button - involves the groped report editor.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.CustomReports.customReportEditor(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf],com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.reportTitle,'"+this.reportCharset+"');}");this.buttons['customReportEdit']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nde.gif","Detail Report","Detail Report button - generates a detail report for selected record.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.TableReports.detailedReport(com.wjstc.WebTable.selectedTable,com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.reportTitle,document.forms[com.wjstc.WebTable.selectedTable.saf],'"+this.reportCharset+"');}");this.buttons['detailReport']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nex.gif","Export","Export button - creates HTML page, which after saving can be used for importing data to another application.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.TableReports.exportData(com.wjstc.WebTable.selectedTable,com.wjstc.WebTable.selectedTable.forms[com.wjstc.WebTable.selectedTable.saf].nav_controls.reportTitle,document.forms[com.wjstc.WebTable.selectedTable.saf],'"+this.reportCharset+"');}");this.buttons['export']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nad.gif","Add new record","Add new record button. Press this button to append new record to the table.","com.wjstc.WebTable.addRec("+this.nav_tab_name+",document."+this.nav_form_name+");");this.buttons['addRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nin.gif","Insert record","Insert record button. Press this button to add new record to the table below the current.","com.wjstc.WebTable.insertRec("+this.nav_tab_name+",document."+this.nav_form_name+",0);");this.buttons['insertRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/ncp.gif","Copy record","Copy record button. Press this button to add copy of selected record to the table below the current.","com.wjstc.WebTable.insertRec("+this.nav_tab_name+",document."+this.nav_form_name+",1);");this.buttons['copyRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/up.gif","Move record up","Move record up button. Press this button to move selected record one position up.","com.wjstc.WebTable.upDownRec("+this.nav_tab_name+",document."+this.nav_form_name+",0);");this.buttons['upRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/down.gif","Move record down","Move record down button. Press this button to move selected record one position down.","com.wjstc.WebTable.upDownRec("+this.nav_tab_name+",document."+this.nav_form_name+",1);");this.buttons['downRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nre.gif","Replace","Replace button. Press this button to replace content in selected field.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.WebTable.replaceRec(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf]);}");this.buttons['replaceRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nra.gif","Replace","Replace all button. Press this button to replace content in selected column.","if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.WebTable.replaceAll(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf]);}");this.buttons['replaceAll']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/dy.gif","Delete All","Delete All button. Press this button to mark all not hidden record for deletion.","com.wjstc.WebTable.delAllRec("+this.nav_tab_name+",document."+this.nav_form_name+");");this.buttons['delAllRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/dl.gif","Delete","Delete button. Press this button to mark current record for deletion.","com.wjstc.WebTable.delRec("+this.nav_tab_name+",document."+this.nav_form_name+");");this.buttons['delCurrRec']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/dp.gif","Delete","Delete button - deletes the current record. Select any field of the record which we would like to delete. Press this button.","");this.buttons['delete']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/dp.gif","Reset","Reset button. Press this button to reset current record state for deletion.","");this.buttons['reset']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/ned.gif","Open","Open button. Press this button to see details for Current Record.","");this.buttons['open']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/edit.gif","Edit","Edit button. Press this button to open selected project for editing.","");this.buttons['editProj']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nud.gif","Save","Save button. Press this button to save results to the Server.","");this.buttons['save']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/ex.gif","Save Locally","Save  Locally button. Press this button to save results to the Local Hard Drive or another local storage.","");this.buttons['saveLocally']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/vt.gif","Activate","Activate Access button. Press this button to activate access to system.","");this.buttons['activateAccess']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/du.gif","Terminate","Terminate Access button. Press this button to terminate access to system.","");this.buttons['terminateAccess']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/ch_20.gif","Select","Select button. Press this button to selelect checked items.","");this.buttons['select']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/ci_20.gif","Deselect","Deselect button. Press this button to deselelect checked items.","");this.buttons['deselect']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nst.gif","Start Over","Start over button - gives us the original records we received from server (this deletes any changes made before).","if("+this.nav_tab_name+".m<1)return false;com.wjstc.WebTable.unpackData("+this.nav_tab_name+",document."+this.nav_form_name+",a"+this.nav_tab_name+");"+"com.wjstc.WebTable.navigateForm("+this.nav_tab_name+",document."+this.nav_form_name+", 0);"+"if(com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax')){com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax').value="+this.nav_tab_name+".m;}");this.buttons['startOver']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nst.gif","Start Over","Start over button - gives us the original records we received from server (this deletes any changes made before).","");this.buttons['startOverEmpty']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nrq.gif","Recover","Recover button - gives us the original records we defore filtering.","");this.buttons['recoverEmpty']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/nst.gif","Start Over","Start over button - gives us the original records we received from server (this deletes any changes made before).","if("+this.nav_tab_name+".m<1)return false;com.wjstc.WebTable.unpackData("+this.nav_tab_name+",document."+this.nav_form_name+",a"+this.nav_tab_name+",com.wjstc.Util.sfd);"+"com.wjstc.WebTable.navigateForm("+this.nav_tab_name+",document."+this.nav_form_name+", 0);"+"if(com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax')){com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax').value="+this.nav_tab_name+".m;}");this.buttons['startOverSubTable']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/dy.gif","Trash","Trash. To delete record drag it over this image.","");this.buttons['trash']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/ex.gif","Save Locally","Save Locally button. Press this button to save results locally.","");this.buttons['saveLocally']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/im.gif","Restore Locally","Restore Locally button. Press this button to restore locally Saved Data.","");this.buttons['restoreLocally']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/np.gif","Preview","Preview button. Press this button to preview the specified document.","");this.buttons['preview']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/cf.gif","Send E-mail","Send E-mail button. Press this button to schedule sending the selected e-mail to specified clients.","");this.buttons['sendEmail']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/pri.gif","Print","Print button. Press this button to print the specified document.","");this.buttons['print']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/vtp.gif","Top","Top","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",0-100000,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['vTop']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/vpu.gif","Page Up","Page Up","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",0-document."+this.nav_form_name+".m.value,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['vPageUp']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/vup.gif","Up","Up","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",0-1,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['vUp']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/vdn.gif","Down","Down","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",1,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['vDown']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/vpd.gif","Page Down","Page Down","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",document."+this.nav_form_name+".m.value,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['vPageDown']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/vbt.gif","Bottom","Bottom","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",100000,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['vBottom']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/wtp.gif","Top","Top","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",0-100000,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['hTop']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/wpu.gif","Page Up","Page Up","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",0-document."+this.nav_form_name+".m.value,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['hPageUp']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/wup.gif","Up","Up","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",0-1,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['hUp']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/wdn.gif","Down","Down","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",1,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['hDown']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/wpd.gif","Page Down","Page Down","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",document."+this.nav_form_name+".m.value,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['hPageDown']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/wbt.gif","Bottom","Bottom","com.wjstc.WebTable.showForm("+this.nav_tab_name+",document."+this.nav_form_name+",100000,null);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.buttons['hBottom']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/hvTop.gif","Last Left View","Last Left View button - shows the most left columns.","");this.buttons['hvTop']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/hvPageUp.gif","Left Page View","Left Page View button - shows next left page of collumns","");this.buttons['hvPageUp']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/hvUp.gif","Left View","Left View button - shows next left collumns","");this.buttons['hvUp']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/hvDown.gif","Right View","Right View button - shows next right collumns","");this.buttons['hvDown']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/hvPageDown.gif","Right Page View","Right Page View button - shows next right page of collumns","");this.buttons['hvPageDown']=newBut;newBut=new com.wjstc.TabControls.d(this.imgPath+"/hvBottom.gif","Last Right View","Last Right View button - shows the most right columns.","");this.buttons['hvBottom']=newBut;this.recno=new com.wjstc.TabControls.A("com.wjstc.WebTable.navigateForm("+this.nav_tab_name+",document."+this.nav_form_name+", com.wjstc.Util.strToInt(this.value,10)-1,true);com.wjstc.WebTable.showAllForms("+this.nav_tab_name+");");this.remax=new com.wjstc.TabControls.C("");this.find=new com.wjstc.TabControls.v("com.wjstc.Common.getObjById('"+this.nav_form_name+"_comFind').value=this.value;");this.def=new com.wjstc.TabControls.H("");this.replace=new com.wjstc.TabControls.B("com.wjstc.Common.getObjById('"+this.nav_form_name+"_comRep').value=this.value;");this.findCase=new com.wjstc.TabControls.r("com.wjstc.Common.getObjById('"+this.nav_form_name+"_comCase').value=((this.checked)?'Y':'N');");return this;};com.wjstc.TabControls.Controls.prototype.addButton=function(buttonName,endScr,t,f,startScr,show_process){if(typeof(show_process)=='undefined'){show_process=true;}if(typeof(startScr)=='undefined'){startScr='';}if((buttonName=='columnPie'||buttonName=='rowPie'||buttonName=='pie')&&com.wjstc.Util.isIE){return '';}if(typeof(endScr)=='undefined'){endScr='';}if(typeof(t)=='undefined'||typeof(f)=='undefined'){t='';f='';}var ss='';var butObj=this.buttons[buttonName];if(butObj==null){alert('There is no button with Name -'+buttonName+'- in Webwjst_Table.\n\nPlease check program and fix the name.');return '';}var pad=('\x01vTop\x01vPageUp\x01vUp\x01vDown\x01vPageDown\x01vBottom\x01hTop\x01hPageUp\x01hUp\x01hDown\x01hPageDown\x01hBottom\x01'.indexOf('\x01'+buttonName+'\x01')>=0)?2:0;ss+="<td align='center' nowrap='nowrap' id='"+this.nav_form_name+buttonName+"'"+" style='border: solid 1px "+this.border_color_out+"; padding: "+pad+"px; background-color:"+this.bg_color_out+";"+this.buttonStyle+"'"+" onmouseover=\"this.style.borderColor='"+this.border_color_over+"';this.style.backgroundColor='"+this.bg_color_over+"';this.style.cursor='pointer';window.status='"+butObj.status+"';if(typeof(com)!='undefined')com.wjstc.Util.showButtonDescription(event,'"+butObj.status+"');\""+" onmousedown=\"this.style.borderColor='"+this.border_color_down+"';this.style.backgroundColor='"+this.bg_color_down+"';\""+" onmouseup=\"this.style.borderColor='"+this.border_color_over+"';this.style.backgroundColor='"+this.bg_color_over+"';\""+" onmouseout= \"this.style.borderColor='"+this.border_color_out+"';this.style.backgroundColor='"+this.bg_color_out+"';this.style.cursor='default';window.status='';\""+" onclick=\"";if(this.show_process){ss+=" com.wjstc.Util.showLoading();";}if(f!=''){ss+=" com.wjstc.WebTable.selectedTable="+t.name+";com.wjstc.WebTable.selectedTable.saf='"+f+"';"}ss+=" "+startScr+butObj.s_code+endScr+eval(this.nav_tab_name).forms[this.nav_form_name].onChangeData;if(this.show_process){ss+="  com.wjstc.Util.hideLoading();";}ss+=" return false;\"><img src='"+butObj.src+"' alt='' align='middle' border='0' \/><\/td>";return(ss);};com.wjstc.TabControls.Controls.prototype.addCustomButton=function(butStatus,butJS_code,butImgSrc,butImgAlt,t,f){if(typeof(t)=='undefined'||typeof(f)=='undefined'){t='';f='';}var ss='';var pad=0;ss+="<td align='center' nowrap='nowrap' "+" style='border: solid 1px "+this.border_color_out+"; padding: "+pad+"px; background-color:"+this.bg_color_out+";"+this.buttonStyle+"'"+" onmouseover=\"this.style.borderColor='"+this.border_color_over+"';this.style.backgroundColor='"+this.bg_color_over+"';this.style.cursor='pointer';window.status='"+butStatus+"';\""+" onmousedown=\"this.style.borderColor='"+this.border_color_down+"';this.style.backgroundColor='"+this.bg_color_down+"';\""+" onmouseup=\"this.style.borderColor='"+this.border_color_over+"';this.style.backgroundColor='"+this.bg_color_over+"';\""+" onmouseout= \"this.style.borderColor='"+this.border_color_out+"';this.style.backgroundColor='"+this.bg_color_out+"';this.style.cursor='default';window.status='';\""+" onclick=\"";if(f!=''){ss+="com.wjstc.WebTable.selectedTable="+t.name+";com.wjstc.WebTable.selectedTable.saf='"+f+"';"}ss+=butJS_code+eval(this.nav_tab_name).forms[this.nav_form_name].onChangeData+" return false;\"><img src='"+butImgSrc+"' alt='"+butImgAlt+"' align='middle' border='0' \/><\/td>";return(ss);};com.wjstc.TabControls.Controls.prototype.addAdvButton=function(buttonName,endScr,startScr,t,f){if(typeof(endScr)=='undefined'){endScr='';}if(typeof(startScr)=='undefined'){startScr='';}if(typeof(t)=='undefined'||typeof(f)=='undefined'){t='';f='';}var ss='';var butObj=this.buttons[buttonName];if(butObj==null){alert('There is no button with Name -'+buttonName+'- in Webwjst_Table.\n\nPlease check program and fix the name.');return '';}var pad=('\x01vTop\x01vPageUp\x01vUp\x01vDown\x01vPageDown\x01vBottom\x01hTop\x01hPageUp\x01hUp\x01hDown\x01hPageDown\x01hBottom\x01'.indexOf('\x01'+buttonName+'\x01')>=0)?2:0;ss+="<td align='center' nowrap='nowrap' id='"+this.nav_form_name+buttonName+"'"+" style='border: solid 1px "+this.border_color_out+"; padding: "+pad+"px; background-color:"+this.bg_color_out+";"+this.buttonStyle+"'"+" onmouseover=\"this.style.borderColor='"+this.border_color_over+"';this.style.backgroundColor='"+this.bg_color_over+"';this.style.cursor='pointer';window.status='"+butObj.status+"';\""+" onmousedown=\"this.style.borderColor='"+this.border_color_down+"';this.style.backgroundColor='"+this.bg_color_down+"';\""+" onmouseup=\"this.style.borderColor='"+this.border_color_over+"';this.style.backgroundColor='"+this.bg_color_over+"';\""+" onmouseout= \"this.style.borderColor='"+this.border_color_out+"';this.style.backgroundColor='"+this.bg_color_out+"';this.style.cursor='default';window.status='';\""+" onclick=\""+startScr;if(f!=''){ss+="com.wjstc.WebTable.selectedTable="+t.name+";com.wjstc.WebTable.selectedTable.saf='"+f+"';"}ss+=butObj.s_code+endScr+eval(this.nav_tab_name).forms[this.nav_form_name].onChangeData+" return false;\"><img src='"+butObj.src+"' alt='' align='middle' border='0' \/><\/td>";return(ss);};com.wjstc.TabControls.Controls.prototype.K=function(c,fun){var ss="<a href='#' onclick=\"if(com.wjstc.WebTable.selectedTable!=null){com.wjstc.WebTable.unpackData(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf],eval(com.wjstc.WebTable.selectedTable.ar));"+"com.wjstc.WebTable.filtStartRec(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf], '"+c+"');";ss+=" if(com.wjstc.Common.getObjById(com.wjstc.WebTable.selectedTable.saf+'_remax')){"+"com.wjstc.Common.getObjById(com.wjstc.WebTable.selectedTable.saf+'_remax').value=com.wjstc.WebTable.selectedTable.m;"+"}; ";ss+=fun+"}; return false;\""+" onmouseover = \"window.status='Filter records started with "+c+"'; return true;\""+" onmouseout = \"window.status='';return true;\" title='Filter records started with "+c+"'>"+c+"<\/a>";return ss;};com.wjstc.TabControls.Controls.prototype.m=function(c,fun){var ss="<a href='#' onclick=\"if(com.wjstc.WebTable.activeTable!=null){com.wjstc.WebTable.unpackData(com.wjstc.WebTable.activeTable,document.forms[com.wjstc.WebTable.activeTable.af],eval(com.wjstc.WebTable.activeTable.ar));"+"com.wjstc.WebTable.filtStartRec(com.wjstc.WebTable.activeTable,document.forms[com.wjstc.WebTable.activeTable.af], '"+c+"');";ss+=" if(com.wjstc.Common.getObjById(com.wjstc.WebTable.activeTable.af+'_remax')){"+"com.wjstc.Common.getObjById(com.wjstc.WebTable.activeTable.af+'_remax').value=com.wjstc.WebTable.activeTable.m;"+"}; ";ss+=fun+"}; return false;\""+" onmouseover = \"window.status='Filter records started with "+c+"'; return true;\""+" onmouseout = \"window.status='';return true;\" title='Filter records started with "+c+"'>"+c+"<\/a>";return ss;};com.wjstc.TabControls.Controls.prototype.I=function(num,fun){if(typeof(num)=='undefined'){num=true;}if(typeof(fun)=='undefined'){fun='';}var ss='';var c;ss+="<b>Filter:<\/b>&nbsp;\n";for(var ii=65;ii<91;++ii){c=String.fromCharCode(ii);if(ii>65){ss+="\n";}ss+=this.m(c,fun);}if(num){ss+="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";ss+=this.m('-',fun);for(var ii=48;ii<58;++ii){ss+="\n"+this.m(String.fromCharCode(ii),fun);}}return(ss);};com.wjstc.TabControls.Controls.prototype.createFilterIndex=function(containerId,num,fun){if(typeof(num)=='undefined'){num=true;}if(typeof(fun)=='undefined'){fun='';}var o=com.wjstc.Common.getObjById(containerId);if(o){o.innerHTML=this.I(num,fun);}};com.wjstc.TabControls.Controls.prototype.L=function(c,fun){var ss="<a href='#' onclick=\"if(com.wjstc.WebTable.selectedTable){com.wjstc.WebTable.sortTabRec(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf],com.wjstc.WebTable.getColumn(com.wjstc.WebTable.activeTable.forms[com.wjstc.WebTable.selectedTable.saf].fo),1,'first','S');"+"com.wjstc.WebTable.findFirstRec(com.wjstc.WebTable.selectedTable,document.forms[com.wjstc.WebTable.selectedTable.saf],'"+c+"');";ss+=" if(com.wjstc.Common.getObjById(com.wjstc.WebTable.selectedTable.saf+'_remax')){"+"com.wjstc.Common.getObjById(com.wjstc.WebTable.selectedTable.saf+'_remax').value=com.wjstc.WebTable.selectedTable.m;"+"}; ";ss+=fun+"}; return false;\""+" onmouseover = \"window.status='Filter records started with "+c+"'; return true;\""+" onmouseout = \"window.status=''; return true;\" title='Filter records started with "+c+"'>"+c+"<\/a>";return ss;};com.wjstc.TabControls.Controls.prototype.l=function(c,fun){var ss="<a href='#' onclick=\"if(com.wjstc.WebTable.activeTable){com.wjstc.WebTable.sortTabRec(com.wjstc.WebTable.activeTable,document.forms[com.wjstc.WebTable.activeTable.af],com.wjstc.WebTable.getColumn(com.wjstc.WebTable.activeTable.forms[com.wjstc.WebTable.activeTable.af].fo),1,'first','S');"+"com.wjstc.WebTable.findFirstRec(com.wjstc.WebTable.activeTable,document.forms[com.wjstc.WebTable.activeTable.af],'"+c+"');";ss+=" if(com.wjstc.Common.getObjById(com.wjstc.WebTable.activeTable.af+'_remax')){"+"com.wjstc.Common.getObjById(com.wjstc.WebTable.activeTable.af+'_remax').value=com.wjstc.WebTable.activeTable.m;"+"}; ";ss+=fun+"}; return false;\""+" onmouseover = \"window.status='Filter records started with "+c+"'; return true;\""+" onmouseout = \"window.status='';return true;\" title='Filter records started with "+c+"'>"+c+"<\/a>";return ss;};com.wjstc.TabControls.Controls.prototype.F=function(num,fun){if(typeof(num)=='undefined'){num=true;}if(typeof(fun)=='undefined'){fun='';}var ss='';var c;ss+="<b>Index:<\/b>&nbsp;\n";for(var ii=65;ii<91;++ii){c=String.fromCharCode(ii);if(ii>65){ss+="\n";}ss+=this.l(c,fun);}if(num){ss+="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n";ss+=this.l('-',fun);for(var ii=48;ii<58;++ii){ss+="\n"+this.l(String.fromCharCode(ii),fun);}}return(ss);};com.wjstc.TabControls.Controls.prototype.createSearchIndex=function(containerId,num,fun){if(typeof(num)=='undefined'){num=true;}if(typeof(fun)=='undefined'){fun='';}var o=com.wjstc.Common.getObjById(containerId);if(o){o.innerHTML=this.F(num,fun);}};com.wjstc.TabControls.Controls.prototype.D=function(g,j){if(typeof(j)=='undefined'){j='|start|unpack|';}if(typeof(g)=='undefined'){g='';}var _ss='';_ss+="<b>Filter By:<\/b>\n";_ss+="<input type='text' size='3' id='wjstc_"+this.nav_form_name+"_LookUpFilter'";_ss+=" onkeyup=\"";if(j.indexOf('|unpack|')>=0){_ss+=this.nav_tab_name+".m="+this.nav_tab_name+".t;";}if(j.indexOf('|start|')>=0){_ss+="com.wjstc.WebTable.filtStartRec("+this.nav_tab_name+",document.forms['"+this.nav_form_name+"'],this.value);";}if(j.indexOf('|in|')>=0){_ss+="com.wjstc.WebTable.filtInRec("+this.nav_tab_name+",document.forms['"+this.nav_form_name+"'],this.value);";}_ss+=" if(com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax')){"+"com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax').value="+this.nav_tab_name+".m;"+"}; return false;\"";_ss+=" onfocus=\"";if(j.indexOf('|unpack|')>=0){_ss+=this.nav_tab_name+".m="+this.nav_tab_name+".t;";}if(j.indexOf('|start|')>=0){_ss+="com.wjstc.WebTable.filtStartRec("+this.nav_tab_name+",document.forms['"+this.nav_form_name+"'],this.value);";}if(j.indexOf('|in|')>=0){_ss+="com.wjstc.WebTable.filtInRec("+this.nav_tab_name+",document.forms['"+this.nav_form_name+"'],this.value);";}_ss+=" if(com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax')){"+"com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax').value="+this.nav_tab_name+".m;"+"}; return false;\"";if(g!=''){_ss+=" style='"+g+"'";}_ss+=" onmouseover = \"window.status='Filter records started with content of this input'; return true;\""+" onmouseout = \"window.status='';return true;\" \/>";return(_ss);};com.wjstc.TabControls.Controls.prototype.createLookUpFilter=function(containerId,g,type){if(typeof(g)=='undefined'){g='';}var k=com.wjstc.Common.getObjById(containerId);if(k){k.innerHTML=this.D(g,type);}};com.wjstc.TabControls.Controls.prototype.G=function(g,j){if(typeof(g)=='undefined'){g='';}if(typeof(j)=='undefined'){j='';}var _ss='';_ss+="<b>Search By:<\/b>&nbsp;\n";_ss+="<input type='text' size='3' id='wjstc_"+this.nav_form_name+"_LookUpIndex'";_ss+=" onkeyup=\"";if(j==''){_ss+="com.wjstc.WebTable.unpackData("+this.nav_tab_name+",document.forms['"+this.nav_form_name+"'],a"+this.nav_tab_name+");";}_ss+="com.wjstc.WebTable.sortByCol('"+this.imgPath+"',"+this.nav_tab_name+",document.forms['"+this.nav_form_name+"'],'wt_"+this.nav_tab_name+"_"+this.nav_form_name+"_img',com.wjstc.WebTable.getColumn("+this.nav_tab_name+".forms['"+this.nav_form_name+"'].fo),'first',2);"+"com.wjstc.WebTable.findFirstRec("+this.nav_tab_name+",document.forms['"+this.nav_form_name+"'],this.value);"+" if(com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax')){"+"com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax').value="+this.nav_tab_name+".m;"+"}; return false;\"";if(j==''){_ss+=" onfocus=\"";_ss+="com.wjstc.WebTable.unpackData("+this.nav_tab_name+",document.forms['"+this.nav_form_name+"'],a"+this.nav_tab_name+");";_ss+="com.wjstc.WebTable.sortByCol('"+this.imgPath+"',"+this.nav_tab_name+",document.forms['"+this.nav_form_name+"'],'wt_"+this.nav_tab_name+"_"+this.nav_form_name+"_img',com.wjstc.WebTable.getColumn("+this.nav_tab_name+".forms['"+this.nav_form_name+"'].fo),'first',2);"+"com.wjstc.WebTable.findFirstRec("+this.nav_tab_name+",document.forms['"+this.nav_form_name+"'],this.value);"+" if(com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax')){"+"com.wjstc.Common.getObjById('"+this.nav_form_name+"_remax').value="+this.nav_tab_name+".m;"+"}; return false;\"";}if(g!=''){_ss+=" style='"+g+"'";}_ss+=" onmouseover = \"window.status='Filter records started with content of this input'; return true;\""+" onmouseout = \"window.status='';return true;\" \/>";return(_ss);};com.wjstc.TabControls.Controls.prototype.createLookUpIndex=function(containerId,g,j){if(typeof(g)=='undefined'){g='';}if(typeof(j)=='undefined'){j='';}var k=com.wjstc.Common.getObjById(containerId);if(k){k.innerHTML=this.G(g,j);}};com.wjstc.TabControls.Controls.prototype.addText=function(t_text,td_align){td_align=(typeof(td_align)!='undefined')?td_align:'center';var ss='';ss+="<td align='"+td_align+"'  nowrap='nowrap'>"+t_text+"<\/td>\n";return(ss);};com.wjstc.TabControls.Controls.prototype.addContainer=function(J,td_align){td_align=(typeof(td_align)!='undefined')?td_align:'center';var ss='';ss+="<td id='"+J+"' align='"+td_align+"' nowrap='nowrap'><\/td>\n";return(ss);};com.wjstc.TabControls.Controls.prototype.addRecno=function(w){var ss='';ss+="<td align='"+this.recno.td_align+"' nowrap='nowrap'>"+"<input style='text-align: "+this.recno.in_align+";"+this.controlStyle+((typeof(w)!='undefined'&&w!='')?'width:'+w+';':'')+"' type='text' name='"+this.nav_form_name+"_recno' id='"+this.nav_form_name+"_recno' "+"size='"+this.recno.in_size+"' maxlength='"+this.recno.in_size+"' value='' "+" onfocus='this.select();' "+" onkeyup=\"var c=com.wjstc.Util.getKeyValue(event); if(c==13){this.blur();};return true;\" "+" onchange='"+this.recno.s_code+"'><\/td>";return(ss);};com.wjstc.TabControls.Controls.prototype.addRemax=function(w){var ss='';ss+="<td align='"+this.remax.td_align+"' nowrap='nowrap'>"+"<input style='text-align: "+this.remax.in_align+";"+this.controlStyle+((typeof(w)!='undefined'&&w!='')?'width:'+w+';':'')+"' type='text' name='"+this.nav_form_name+"_remax' id='"+this.nav_form_name+"_remax' "+"size='"+this.remax.in_size+"' maxlength='"+this.remax.in_size+"' value='' onfocus='"+this.remax.s_code+"' readonly='readonly'><\/td>";return(ss);};com.wjstc.TabControls.Controls.prototype.addFind=function(){var ss='';ss+="<td align='"+this.find.td_align+"' nowrap='nowrap'>"+"<input style='text-align: "+this.find.in_align+";"+this.controlStyle+"'  type='text' size='"+this.find.in_size+"' "+" name='"+this.nav_form_name+"_comFind' id='"+this.nav_form_name+"_comFind' maxlength='100' value='' "+" onfocus='this.select();' onblur=\""+this.find.s_code+"\"><\/td>";return(ss);};com.wjstc.TabControls.Controls.prototype.addReplace=function(){var ss='';ss+="<td align='"+this.replace.td_align+"' nowrap='nowrap'>"+"<input style='text-align: "+this.replace.in_align+";"+this.controlStyle+"'  type='text' size='"+this.replace.in_size+"' "+" name='"+this.nav_form_name+"_comRep' id='"+this.nav_form_name+"_comRep' maxlength='100' value='' "+" onfocus='this.select();' onblur=\""+this.replace.s_code+"\"><\/td>";return(ss);};com.wjstc.TabControls.Controls.prototype.addMatchCase=function(){var ss='';ss+="<td align='"+this.findCase.td_align+"' nowrap='nowrap'>"+"<input type='checkbox' name='"+this.nav_form_name+"_comCase' id='"+this.nav_form_name+"_comCase' style='background-color: transparent;' "+" onblur=\""+this.findCase.s_code+"\"><\/td>";return(ss);};com.wjstc.TabControls.Controls.prototype.addDefault=function(){var ss='';ss+="<td align='"+this.def.td_align+"' nowrap='nowrap'>"+"<input type='checkbox' name='"+this.nav_form_name+"_default' id='"+this.nav_form_name+"_default' style='background-color: transparent;' "+" onclick=\"com.wjstc.WebTable.setResetDefaults("+this.nav_tab_name+",document."+this.nav_form_name+",this.checked);"+this.def.s_code+"\"><\/td>";return(ss);};com.wjstc.TabControls.Controls.prototype.setConfigs=function(oControlConfigs){com.wjstc.Util.parseObjectConfigs(this,oControlConfigs,'com.wjstc.TabControls.Controls.prototype.setConfigs(oControlConfigs)','oConfig');}