var CategoryDialogArgs; function ShowCategoryDialog(txt1,val1,txt2,val2,txt3,val3) { CategoryDialogArgs = {"txt1":txt1,"val1":val1,"txt2":txt2,"val2":val2,"txt3":txt3,"val3":val3}; if(window.showModalDialog) { window.showModalDialog("http://union.mainone.com/DLG/Category/index.htm", CategoryDialogArgs, "dialogWidth:800px; dialogHeight:600px; status:0; help:0; scroll:no"); } else { var win = window.open("http://union.mainone.com/DLG/Category/index.htm","","left=200,top=200,width=800,height=600,menubar=no,toolbar=no,dependent=yes,chrome=yes,modal=yes"); } } function ShowCategoryDialog_Trade(txt1,val1,txt2,val2,txt3,val3) { CategoryDialogArgs = {"txt1":txt1,"val1":val1,"txt2":txt2,"val2":val2,"txt3":txt3,"val3":val3}; if(window.showModalDialog) { window.showModalDialog("http://union.mainone.com/DLG/Category/index_trade.htm", CategoryDialogArgs, "dialogWidth:800px; dialogHeight:600px; status:0; help:0; scroll:no"); } else { var win = window.open("http://union.mainone.com/DLG/Category/index_trade.htm","","left=200,top=200,width=800,height=600,menubar=no,toolbar=no,dependent=yes,chrome=yes,modal=yes"); } } function GetCategoryDialogVal() { return CategoryDialogArgs; } var OnCategoryReturn; //ȫѡ function SelAllCheck(tabID) { var Tab = document.getElementById(tabID); if(Tab == null ) return; var chks = Tab.getElementsByTagName("input"); if(chks == null ) return; for(i=0;i