Why is my Javascript core not working?
<p>The link on the bottom should change when you click one of the radio buttons. I validated the Web page and there are no errors. I proofread my Javascript code and theres nothing wrong with it. Should I use another DOCTYPE?</p>

<pre><code>&lt;script type="text/javascript"&gt;
/* &lt;![CDATA[ */
function udpateInvestmentLink(urlText, urlValue) {
      document.getElementById('recommendedInvestment').innerHTML = urlText + " (Yahoo! Finance)";
      document.getElementById('recommendedInvestment').href = urlValue;
}
/* ]]&gt; */
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;form action="" enctype="application/x-www-form-urlencoded"&gt;
&lt;p&gt;
&lt;input type="radio" name="industry" onclick="updateInvestmentLink('Gold', 'http://finance.yahoo.com/q?s=^YH0h714')" /&gt;Basic Materials&lt;br /&gt;
&lt;input type="radio" name="industry" onclick="updateInvestmentLink('General Electric Industries Ltd.', 'http://finance.yahoo.com/q/pr?s=ge')" /&gt;Conglomerates&lt;br /&gt;
&lt;input type="radio" name="industry" onclick="updateInvestmentLink('Tyson Foods Inc.', 'http://finance.yahoo.com/q/pr?s=tsn')" /&gt;Consumer Foods&lt;br /&gt;
&lt;input type="radio" name="industry" onclick="updateInvestmentLink('Catalyst Health Solutions', 'http://finance.yahoo.com/q/pr?s=chsi')" /&gt;Financial&lt;br /&gt;
&lt;input type="radio" name="industry" onclick="updateInvestmentLink('Genentech Inc.', 'http://finance.yahoo.com/q/pr?s=dna')" /&gt;Healthcare&lt;br /&gt;
&lt;input type="radio" name="industry" onclick="updateInvestmentLink('Toll Brothers', 'http://finance.yahoo.com/q/pr?s=tol')" /&gt;Industrial Goods&lt;br /&gt;
&lt;input type="radio" name="industry" onclick="updateInvestmentLink('Sinclair Broadcast Group Inc.', 'http://finance.yahoo.com/q/pr?=sbgi')" /&gt;Services&lt;br /&gt;
&lt;input type="radio" name="industry" onclick="updateInvestmentLink('Verizon Communications Inc.', 'http://finance.yahoo.com/q/pr?s=vz')" /&gt;Technology&lt;br /&gt;
&lt;input type="radio" name="industry" onclick="updateInvestmentLink('Northwest Natural Gas Co.', 'http://finance.yahoo.com/q/pr?s=nwn')" /&gt;Utilities&lt;/p&gt;
&lt;/form&gt;
&lt;p&gt;&lt;a href="http://finance.yahoo.com/" id="recommendedInvestment"&gt;Yahoo! Finance&lt;/a&gt;&lt;/p&gt;
</code></pre>
