<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<meta name="Author" content="Ravenna">
<meta name="GENERATOR" content="Microsoft FrontPage 2.0">
<title>The John Gotti Tribute Page - Vig Calculator</title>
</head>
<body bgcolor="#FFFFFF" text="#000000" link="#0000EE"
vlink="#551A8B" alink="#FF0000">
<script>
<!--
function compute(form)
{        
        if ((form.owe.value.length !=0) && (form.rate.value.length !=0))        
        {
        owe = eval(form.owe.value);
        rate = eval(form.rate.value);
        juice = owe * rate / 100;
        form.vig.value = round(juice)
        }        
        
else
        {        
        alert("You gotta fill in BOTH the fields!");        
        }        
}
function round(n)
{
pennies = n * 100;
pennies = Math.round(pennies);
strPennies = "" + pennies;
len = strPennies.length;
return strPennies.substring(0, len - 2) + "." + strPennies.substring(len - 2, len);
}
// -->
</script>
<h1 align="center">Ravenna's Vig Calculator<img src="money.gif"
align="texttop" hspace="10" width="40" height="40"></h1>
<hr width="50%">
<p><font size="5"><b>Y</b></font><b>ou know the problem. You
borrow some cash from your local shylock, and he tells you you
gotta come up with the </b><a href="glossary.html#vig"><b>vig</b></a><b>
every week. Or </b><b><i>else</i></b><b>. Well, this is the place
to make sure you don't short him on the juice</b>.</p>
<p><i>Note: This form will only work with a
forms/table/Javascript capable browser such as Netscape 2.0+</i></p>
<p><b>Instructions:</b><i> </i>Fill in the amount you owe
(no commas) and the interest rate. Click on the "calculate
the vig" button, and your necessary payment will magically
appear!</p>
<form>
<table border="3">
<tr>
<td>How much do you owe? ($)</td>
<td><input type="text" size="10" name="owe"></td>
</tr>
<tr>
<td>At how many points? (%)<br>
(Weekly interest rate)</td>
<td><input type="text" size="3" name="rate"></td>
</tr>
</table>
<p><input type="button" value="Calculate the vig!"
onclick="compute(this.form)"></p>
<table border="8">
<tr>
<td>This week's vig payment is: ($)</td>
<td><input type="text" size="12" name="vig"></td>
</tr>
</table>
</form>
<p><font size="4"><b>Disclaimer:</b></font> Use of this vig
calculator does not guarantee your physical well being and the
author takes no responsibility for any outcome resulting from its
application.</p>
<p><a href="mob.html"><img src="123left.gif" border="0"
width="30" height="30"></a></p>
</body>
</html>