function ShowUserSearchStyle4(txtID,txtName) { var args = {"txtBox":document.getElementById(txtName),"hidBox":document.getElementById(txtID)}; var ret = showModalDialog("http://passport.b2b.cn/Manage/dlg/Member/SearchUserStyle14.htm", args, "dialogWidth:640px; dialogHeight:480px; status:0; help:0; scroll:no"); if(window.showModalDialog) { var ret = showModalDialog("http://passport.b2b.cn/Manage/dlg/Member/SearchUserStyle14.htm", args, "dialogWidth:640px; dialogHeight:480px; status:0; help:0; scroll:no"); } else { window["strParams"]=args; var ret = window.open("http://passport.b2b.cn/Manage/dlg/Member/SearchUserStyle14.htm","","left=200,top=200,width=640,height=480,menubar=no,toolbar=no,dependent=yes,chrome=yes,modal=yes"); } } 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://passport.b2b.cn/Dialog/Hangye/index.htm", CategoryDialogArgs, "dialogWidth:800px; dialogHeight:600px; status:0; help:0; scroll:no"); } else { var win = window.open("http://passport.b2b.cn/Dialog/Hangye/index.htm","","left=200,top=200,width=800,height=570,menubar=no,toolbar=no,dependent=yes,chrome=yes,modal=yes"); } } //新添方法 弹出选择产业圈窗口 梁莹莹 2011-05-04 function ShowCategorySelect(txt1,val1) { CategoryDialogArgs = {"txt1":txt1,"val1":val1}; if(window.showModalDialog) { window.showModalDialog("http://passport.b2b.cn/Dialog/Hangye/CategoryMulti.htm", CategoryDialogArgs, "dialogWidth:800px; dialogHeight:600px; status:0; help:0; scroll:no"); } else { var win = window.open("http://passport.b2b.cn/Dialog/Hangye/CategoryMulti.htm","","left=200,top=200,width=800,height=570,menubar=no,toolbar=no,dependent=yes,chrome=yes,modal=yes"); } } function ShowIndustryMultiDialog(txt1,val1,num) { var time =new Date(); CategoryDialogArgs = {"txt1":txt1,"val1":val1,"num":num}; if(window.showModalDialog) { window.showModalDialog("http://passport.b2b.cn/Dialog/Industry/indexMulti.htm?time="+time, CategoryDialogArgs, "dialogWidth:800px; dialogHeight:600px; status:0; help:0; scroll:no"); } else { var win = window.open("http://passport.b2b.cn/Dialog/Industry/indexMulti.htm?time="+time,"","left=200,top=200,width=800,height=570,menubar=no,toolbar=no,dependent=yes,chrome=yes,modal=yes"); } } function ShowCategoryMultiDialogSelect(txt1,val1) { CategoryDialogArgs = {"txt1":txt1,"val1":val1}; if(window.showModalDialog) { window.showModalDialog("http://passport.b2b.cn/Dialog/Industry/CategoryMulti.htm", CategoryDialogArgs, "dialogWidth:800px; dialogHeight:600px; status:0; help:0; scroll:no"); } else { var win = window.open("http://passport.b2b.cn/Dialog/Industry/CategoryMulti.htm","","left=200,top=200,width=800,height=570,menubar=no,toolbar=no,dependent=yes,chrome=yes,modal=yes"); } } function EnShowCategoryDialog(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://passport.b2b.cn/DLG/EnCategory/index.htm", CategoryDialogArgs, "dialogWidth:800px; dialogHeight:600px; status:0; help:0; scroll:no"); } else { var win = window.open("http://passport.b2b.cn/DLG/EnCategory/index.htm","","left=200,top=200,width=800,height=570,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 maxlimit) field.value = field.value.substring(0, maxlimit); else document.getElementById(ShowObj).value = maxlimit - field.value.length; } function MyTrim(s) { var m = s.match(/^\s*(\S+(\s+\S+)*)\s*$/); return (m == null) ? "" : m[1]; } var mylastclsid = null; if(!window.XMLHttpRequest) { function getXmlHttp(clsid) { var xmlHttp = null; try { xmlHttp = new ActiveXObject(clsid); mylastclsid = clsid; return xmlHttp; } catch(ex) {} } window.XMLHttpRequest = function() { if(mylastclsid != null) { return getXmlHttp(mylastclsid); } var xmlHttp = null; var clsids = ["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.5.0","Msxml2.XMLHTTP.4.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP.2.6","Microsoft.XMLHTTP.1.0","Microsoft.XMLHTTP.1","Microsoft.XMLHTTP"]; for(var i=0; i=0;i--) { if(lstAll.options[i].selected) { var find = false; for(j=0;j=0;i--) { if(lstSelected.options[i].selected) { var find = false; for(j=0;j