<html>
<head>
<title>Feedback</title>
<h2 align = "center">Feedback Form</h2>
<Script language = "javascript">
function readCookies(){
userName = ""
eMail = ""
if(document.cookie !=""

{
allCookies = document.cookie.split("; "

for (x=0; x<allCookies.length; x++){
if (allCookies[x].split[0] == "userName"

{
userName = allCookies[x].split[1]
}
else if (allCookies[x].split[0] == "eMail"

{
eMail = allCookies[x].split[1]
}
}
}
document.myForm.From_name.value = userName
document.myForm.From_Email.value = eMail
}
function setCookies(){
expires = new Date
expires.setMonth = (expires.getMonth + 3)
userName = document.myForm.From_name.value
eMail = document.myForm.From_Email.value
document.cookie = "userName=" + userName + ";expires=" + expires.toGMTString()
document.cookie = "eMail=" + eMail+ ";expires=" + expires.toGMTString()
}
</script>
</head>
<body
onLoad="readCookies()">
<p><b>This site was created to collect feedback and opinons on other sites. Simply fill in the details in the form below and we will pass your comments to the relevant people. Thank You.</b></p>
<FORM NAME="myForm" method="POST" action="
<input type="hidden" name="To_Email" value="0102704"@tay.ac.uk"><div align="center"><center><table border="1">
<tr>
<td valign="top" align="right">Enter your Full Name: </td>
<td><input type="text" name="From_name" size="53"
onBlur="setCookies()"></></td>
</tr>
<tr>
<td valign="top" align="right">Enter your Email Address: </td>
<td><input type="text" name="From_Email" size="53"
onBlur="setCookies()"></td>
</tr>
<tr>
<td valign="top" align="right">Enter a Subject: </td>
<td><input type="text" name="subject" size="53"></td>
</tr>
<tr>
<td valign="top" align="right">Enter your Message: </td>
<td><textarea rows="12" name="Message" cols="46"></textarea></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><input type="submit" value="Send Message" name="B1">
</td>
<td><input type="reset" value="Reset" name="B2"></td>
</tr>
<td>
</table>
</center></div>
</form>
</form>
</body>
</html>
Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)