|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- if(moz == null)
- {
- var ie = document.all != null;
- var moz = !ie && document.getElementById != null && document.layers == null;
- }
- if(moz) {
- extendEventObject();
- extendElementModel();
- emulateAttachEvent();
- }
-
- function delArc(mid){
- var qstr=getCheckboxItem();
- if(mid==0) mid = getOneItem();
- location="member_do.php?id="+qstr+"&dopost=delmembers";
- }
-
-
- function getCheckboxItem()
- {
- var allSel="";
- if(document.form2.mid.value) return document.form2.mid.value;
- for(i=0;i<document.form2.mid.length;i++)
- {
- if(document.form2.mid[i].checked)
- {
- if(allSel=="")
- allSel=document.form2.mid[i].value;
- else
- allSel=allSel+"`"+document.form2.mid[i].value;
- }
- }
- return allSel;
- }
-
-
- function getOneItem()
- {
- var allSel="";
- if(document.form2.mid.value) return document.form2.mid.value;
- for(i=0;i<document.form2.mid.length;i++)
- {
- if(document.form2.mid[i].checked)
- {
- allSel = document.form2.mid[i].value;
- break;
- }
- }
- return allSel;
- }
-
- function selAll()
- {
- for(i=0;i<document.form2.mid.length;i++)
- {
- if(!document.form2.mid[i].checked)
- {
- document.form2.mid[i].checked=true;
- }
- }
- }
- function noSelAll()
- {
- for(i=0;i<document.form2.mid.length;i++)
- {
- if(document.form2.mid[i].checked)
- {
- document.form2.mid[i].checked=false;
- }
- }
- }
|