English
<!-- Add the following code to the <body> area--> <script language="JavaScript"> <!-- function validform(){ if (document.login.LoginName.value == ""){ document .login.LoginName.focus(); alert ("Note: Please enter your username!"); return false; } if (document.login.passwd.value == "") { document.login.passwd.focus() ; alert ("Note: Please enter your password!"); return false; } if (document.login.selectway.value=="count"){ document.login.action="count.asp"; } if (document. login.selectway.value=="guestbook"){ document.login.action="guestbook.asp"; } } //--> </script> <form method=post name="login" onSubmit="return validform ();"> <input type="text" name="LoginName" size="8" value="Username" onMouseOver="this.focus()" onMouseOut="if(this.value=='') this.value='username';" onFocus="this.select()" onClick="if(this.value=='username')this.value=''"> <input type="password" name ="passwd" size="8" value="******" onMouseOver="this.focus()" onMouseOut="if(this.value=='')this.value='**** **';" onFocus="this.select()" onClick="if(this.value=='******')this.value=''"> <select name="selectway"> < option value="count" selected>Free Counter</option> <option value="guestbook">Free Message Board</option> </select> <input type=submit value="Submit" name="submit"> < /form>