<!-- TWO STEPS TO INSTALL CALORIES BURNED: 1. Paste the specified coding into the HEAD of your HTML document 2. Put the last code into the BODY of your HTML document --><!-- STEP ONE: Copy this code into the HEAD your HTML document --><SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin var myWeight; var myDistance; function HowMany(form) { var difference; difference = (myDistance * myWeight) * .653; form.Fdiff.value = difference; if (difference < 100) { form.comment.value="You better start working!"; } if (difference > 101 && difference < 200) { form.comment.value="Nice run, but you can do better."; } if (difference > 201 && difference < 300) { form.comment.value="Very good! Push above 300 next time."; } if (difference > 301 && difference < 500) { form.comment.value="Great! Your a runner.....keep it up!"; } if (difference > 501 && difference < 700) { form.comment.value="Bill Rogers move over!"; } if (difference > 701) { form.comment.value="Your my hero! Have a jelly doughnut."; } } function SetMyWeight(weight) { myWeight = weight.value; } function SetmyDistance(dis) { myDistance = dis.value; } function ClearForm(form){ form.myWeight.value = ""; form.myDistance.value = ""; form.Fdiff.value = ""; form.comment.value = ""; } // End --> </SCRIPT><!-- STEP TWO: Copy this code into the BODY of your HTML document --><center> <form method="post"> <table border="3"> <tbody> <tr> </tr> <tr> <td> <div align="center">KİLO</div> </td> <td> <div align="center">NE KADAR<br /> KOŞTUNUZ</div> </td> <td> <div align="center">KALORİNİ<br /> YAK</div> </td> <td><input onclick="HowMany(this.form)" type="button" value="Calculate" /></td> </tr> <tr> <td> <div align="center"><input onchange="SetMyWeight(this)" size="4" name="myWeight" type="text" /></div> </td> <td> <div align="center"><input onchange="SetmyDistance(this)" size="4" name="myDistance" type="text" /></div> </td> <td> <div align="center"><input size="6" name="Fdiff" type="text" /></div> </td> <td> <div align="center"><input type="button" onClick="ClearForm(this.form)" value=" Reset " /></div> </td> </tr> </tbody> </table> <table border="3"> <tbody> <tr> <td> <div align="center">Comments</div> </td> <td><input size="37" name="comment" type="text" /></td> </tr> </tbody> </table> </form> </center> <p> </p> <center><a href="http://www.htmlxx.tr.gg">www.htmlxx.tr.gg</a></center> <p><!-- Script Size: 2.40 KB --></p>