javascript analogue gauge im trying to drive with live values
<p>I have a javascript analogue gauge im trying to drive with live values elsewhere on the page that is dynamicaly updated, i want to display this value on the gauge.js, below is what i have minus the form/post vals i would like to use. I suspect the highlighted lines below are not correctly formatted?</p>

<p>Thanks for the help
cody</p>

<pre><code>&lt;script type="text/javascript"&gt;
         function getReg(){
                 var regVal29 = document.getElementById('reg1029');
         }
    &lt;/script&gt;   
*************************

dc_amperage = new Gauge( document.getElementById( 'dc_amperage' ), {label:     "DCAmperage"});

            **dc_amperage.setValue(parseInt(var regVal29.value 10););**
</code></pre>
