OK,
Here is my problem, I have a master page with a HEAD section that contains my JS includes. I have one JS include
<script src="Includes/js/browser.js" language="javascript" type="text/javascript"></script>
In my page i consume it like this:
<body>
<form id="form1" runat="server">
<div>
....
<script type="text/javascript">registerBookmarkButton();</script>
....
</div>
</form>
</body>
And i get this error:
Line: 216
Error: Object expected
Please tell me i just missed something and it's a stupid mistake