	function Write_Login() {		var sHTML;		var iFldLength;              if (navigator.appName.indexOf("Netscape") != -1) {                      iFldLength=7;}              else {			iFldLength=15;}              //alert( iFldLength);              sHTML = "";              sHTML = "<form action=\"#\" method=\"get\" name=\"loginfrm\" onSubmit=\"ValidateForm(document.loginfrm)\">";		sHTML = sHTML + "<table width=\"157\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"black\">";		//sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td width=\"14\"><img src=\"images/pixclear.gif\" width=\"14\" height=\"1\" alt=\"\" border=\"0\"></td>";		sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td colspan=\"3\"><img src=\"images/pixclear.gif\" width=\"9\" height=\"1\" alt=\"\" border=\"0\"><span class=\"loginhdr\">EXISTING USERS</span></td></tr>";		sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td width=\"157\" colspan=\"3\" ><img src=\"images/pixclear.gif\" width=\"157\" height=\"10\" alt=\"\" border=\"0\"></td></tr>";		sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td width=\"14\"></td><td width=\"118\"><input type=\"text\" name=\"UName\" size=\""+ iFldLength+"\"></td><td width=\"25\"><img src=\"images/pixclear.gif\" width=\"25\" height=\"1\" alt=\"\" border=\"0\"></td></tr>";				sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td width=\"14\"><img src=\"images/pixclear.gif\" width=\"14\" height=\"1\" alt=\"\" border=\"0\"></td><td width=\"118\"><span class=\"cpyright\">Login Name</span></td><td width=\"25\"></td></tr>";		sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td colspan=\"3\"><img src=\"images/pixclear.gif\" width=\"157\" height=\"10\" alt=\"\" border=\"0\"></td></tr>";		sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td width=\"14\"><img src=\"images/pixclear.gif\" width=\"14\" height=\"1\" alt=\"text\" border=\"0\"></td>";		sHTML = sHTML + "<td width=\"118\"><input type=\"password\" name=\"Pword\" size=\""+ iFldLength+"\"></td><td width=\"25\"></td></tr>";				sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td width=\"14\"><img src=\"images/pixclear.gif\" width=\"14\" height=\"1\" alt=\"text\" border=\"0\"></td>";		sHTML = sHTML + "<td width=\"118\"><span class=\"cpyright\">Password</span></td><td width=\"25\"><img src=\"images/pixclear.gif\" width=\"25\" height=\"1\" alt=\"\" border=\"0\"></td></tr>";		sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td colspan=\"3\"><img src=\"images/pixclear.gif\" width=\"157\" height=\"10\" alt=\"\" border=\"0\"></td></tr>";		sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td colspan=\"2\" align=\"right\"><input type=\"image\" src=\"images/lnav_go_btn.gif\" border=\"0\"></td><td width=\"25\"></td></tr>";		sHTML = sHTML + "<tr align=\"left\" valign=\"top\"><td colspan=\"3\" width=\"157\"><img src=\"images/pixclear.gif\" width=\"157\" height=\"10\" alt=\"\" border=\"0\"></td></tr></table></form>";		document.write(sHTML);}function ValidateForm(frmname) {		// Check form fields for entered values		if ((frmname.UName.value == "") || (frmname.Pword.value == "" )) {			alert("Please enter both Username and Password");			return false;}		else {			// Uncomment this when hooking up form to login script			// return true;		      return true;		}		}	