If you're not sure on how to get this code working do the following:
  Here is the source code :

<title>Automatic Script to login to your Hotmail Account</title>

<BODY BGCOLOR="white" TEXT="black" onLoad="document.passwordform.submit();">

<form name="passwordform" action="" method="POST">

<input type="hidden" name="login" size="16" maxlength="16" VALUE="your login name goes here">
<input type="hidden" name="passwd" size="16" maxlength="16" VALUE="your password goes here">
<input type="hidden" name="enter" value="Enter">
<INPUT TYPE="hidden" NAME="frames" VALUE="yes">
<INPUT TYPE="hidden" NAME="frames" VALUE="no">
<INPUT TYPE="hidden" NAME="frames" VALUE="auto" checked>
<input type="hidden" name="curmbox" value="ACTIVE">
<input type="hidden" name="js" value="no">

<script language="JavaScript">

 document.passwordform.passwd.value='your password goes here as well';
 // -->


<p><center><FONT FACE="Comic Sans MS"><FONT COLOR="#3333FF">Connecting to your Hotmail Account...</FONT></FONT></center>