Is there a way to check a list of variables to determine which one is largest?
<p>I am new to javascript, but I have three variables, and I want to determine which one is the largest, is there a way to put the variables into an array, or some easier way to determine which is largest?</p>

<p>The goal is to have the clients ask a number of questions, and with each question it increments the corresponding variable. You will notice on the link below if you test it. Once it determines which variable is largest, it will then do a document write to a span id.</p>

<p>I have searched, but have not found much on this.</p>

<p><a href="http://www.sprayfoamsys.com/cmsdev/index.php?page=rig-constructor" rel="nofollow">http://www.sprayfoamsys.com/cmsdev/index.php?page=rig-constructor</a></p>
