<html> <!-- ARCHIVE by FORTUNECITY.ws --> <head> <SCRIPT LANGUAGE="JavaScript"> function clearField(field) { if (field.value == field.defaultValue) { field.value = ""; } } function checkField(field) { // Check if user has entered information in the field if (field.value == "") { alert("Woah there! You must enter your age!"); return (false); } else if (field.value < 18) { alert("Sorry there, young person. You must be 18 to access this site."); return (false); } else if (field.value > 120) { alert("Are you really that old? If so, this is called a computer."); return (false); } } </script> <title>Week 4 - 341.htm</title> </head> <body bgcolor="#FFFFFF"><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-47423994-1', 'fortunecity.ws'); ga('send', 'pageview'); </script> <center> <br> <div> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </div> </center> <center> <br> <div style="height:5px"></div> </center> <p align="center"><strong><font color="#808080"><big><big><big><big>Week 4</big></big></big></big></font><br> <big>341.htm</big></strong></p> <div align="center"><center> <table border="0" width="95%" cellspacing="0" cellpadding="0"> <tr> <td width="100%" align="center"><form METHOD="POST"> <div align="center"><center><table border="2" cellpadding="5" bgcolor="#FAFAC8"> <tr> <td align="center"><input TYPE="text" NAME="name" VALUE="Name" onFocus="clearField(this);" size="20"></td> </tr> <tr> <td align="center"><input TYPE="text" NAME="email" VALUE="E-mail Address" onFocus="clearField(this);" size="20"></td> </tr> <tr> <td align="center"><input TYPE="text" NAME="age" VALUE="Your Age" onFocus="clearField(this);" onBlur="checkField(this);" size="20"></td> </tr> </table> </center></div> </form> </td> </tr> </table> </center></div> </body> <!-- ARCHIVE by FORTUNECITY.ws --> <center> <div> <br> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250&cache=0"></script> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250"></script> </div> <br> <br> </center> </html>