Execute JavaScript in BrowserField Blackberry
How can I run this HTML code in Browser Field. It always gives a time out exception even if i had set it 	BrowserFieldconfig.setProperty(BrowserFieldConfig.JAVASCRIPT_TIMEOUT, new Integer(100000));

here is my script

    <html>
    <head>
    <script type="text/javascript">
    function displayAd()
    {
    OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);
    document.write("<script type='text/javascript'    
    src='http://oascentral.gfradnetwork.net/RealMedia/ads/adstream_jx.ads/apex.pr/movil/iphone/1" + OAS_rns +"@x29'><\/script>");
    }
    window.onload = displayAd;
    </script>
    </head>
    </html> 
Execute JavaScript in BrowserField Blackberry
===

How can I run this HTML code in Browser Field. It always gives a time out exception even if i had set it 	BrowserFieldconfig.setProperty(BrowserFieldConfig.JAVASCRIPT_TIMEOUT, new Integer(100000));

here is my script

    <html>
    <head>
    <script type="text/javascript">
    function displayAd()
    {
    OAS_rn = new String (Math.random()); OAS_rns = OAS_rn.substring (2, 11);
    document.write("<script type='text/javascript'    
    src='http://oascentral.gfradnetwork.net/RealMedia/ads/adstream_jx.ads/apex.pr/movil/iphone/1" + OAS_rns +"@x29'><\/script>");
    }
    window.onload = displayAd;
    </script>
    </head>
    </html> 