"An error has occured in the script on this page" when opening a webpage in my C# program
<p>I am opening up a website www.odds.com.au from within my C# program (wirtten using Microsoft Visual Studio 2008 Version 9.0.21022.8 RTM, Microsoft .NET FrameworkVersion 3.5 SP1) and the following error appears when the website opens:</p>

<hr>

<p>An error has occured in the script on this page<br>
Line:  221<br>
Char:  3<br>
Error: Object doesn't support this property or method<br>
Code:  0<br>
URL:   <a href="http://www.odds.com.au/javascripts/odds.js?1320019370" rel="nofollow">http://www.odds.com.au/javascripts/odds.js?1320019370</a><br>
Do you want to continue running scripts on this page?<br></p>

<hr>

<p><br>My xaml.cs code is:</p>

<pre><code>private void NavigateToUrl(string Url)
{

    wbMain.Navigate(new Uri("http://www.odds.com.au", UriKind.RelativeOrAbsolute));

}
</code></pre>

<p>I have searched the internet and cannot find a definite answer. If anyone could help that would be appreciated.<p></p>

<p>Thanks</p>
