function LoadLoginBox_1() { var LoginBoxHtml="
"; LoginBoxHtml+=""; LoginBoxHtml+=""; LoginBoxHtml+=""; LoginBoxHtml+=""; LoginBoxHtml+=""; LoginBoxHtml+="
"; document.write("
"+LoginBoxHtml+"
"); } LoadLoginBox_1(); function login_box_check_1() { var ShowCode="0"; if(ShowCode=="1") { document.loginbox_1.action="/member/index.aspx?type=login&language=cn"; } else { document.loginbox_1.action="/member/index.aspx?type=login&language=cn&code=false"; } document.loginbox_1.target="_self"; var obj_username = document.loginbox_1.login_box_username; var obj_passowrd = document.loginbox_1.login_box_password; var username_checked,pass_checked; if (obj_username.value.length <4 || obj_username.value.length > 16) { alert("用户名长度需要在4-16之间!"); obj_username.focus(); return false; } if(!IsStr_1(obj_username.value)) { alert("用户名只能由数字,字母和下划线组成!"); obj_username.focus(); return false; } if (obj_passowrd.value.length <6 || obj_passowrd.valuelength > 16) { alert("密码长度需要在6-16之间!"); obj_passowrd.focus(); return false; } if(!IsStr_1(obj_passowrd.value)) { alert("密码只能由数字,字母和下划线组成!"); obj_passowrd.focus(); return false; } return true; } function IsStr_1(temp) { validStr=new String("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_"); for(i=0;i=0) { Obj.src="/incs/yzm1.aspx"; } else { Obj.src="/incs/yzm.aspx" } }