function openScript(url, width, height){ var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=no' ); } function strlength(str) { var l=str.length; var teststr="ͬѧ¼"; var t=l; if (teststr.length==3){ for(i=0;i255){ t=t+1;} } } return t; } var ie = (document.all)? true:false if (ie){function ctlent(eventobject){if(event.ctrlKey && window.event.keyCode==13){this.document.frmgbk.submit();}}} function submitonce(theform){ //if IE 4+ or NS 6+ if (document.all||document.getElementById){ //screen thru every element in the form, and hunt down "submit" and "reset" for (i=0;i