URL parameters are not working
===

I've been racking my brain about this and I can not figure out why this isn't working.

I have a link that looks like this:

    http://exampledomain.com/page.html?var1=42&var2=hello

and page.html is calling a javascript page that says:

    alert(var1);
    alert(var2);

But when I test the page all I get is `function Number() { [native code] }`

Anybody know what I could be going wrong?