Thought i would give some more info...
This is the code in the <head> tag of the Master page...
<script src="<%= Url.Content("~/Content/Scripts/extJS/adapter/ext/ext-base.js") %>" type="text/javascript"></script>
<script src="<%= Url.Content("~/Content/Scripts/extJS/ext-all-debug.js") %>" type="text/javascript"></script>
<script src="<%= Url.Content("~/Content/Scripts/Modules/Portal/AdminMenuPanel.js") %>" type="text/javascript"></script>
<script src="<%= Url.Content("~/Content/Scripts/Modules/Portal/Portal.js") %>" type="text/javascript"></script>
<script type="text/javascript">
Ext.onReady(function(){
Ext.QuickTips.init();
ff //does not show errors with this here but works fine without it
var e = new Ext.ux.AdminPortal();
});
</script>
EDIT - Rendered page code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="ctl00_Head1"><title>
</title><link href="Content/Site.css" rel="stylesheet" type="text/css" />
<!-- ExtJS Library Files -->
<link href="Content/Scripts/extJS/resources/css/ext-all.css" rel="stylesheet" type="text/css" />
<script src="/Content/Scripts/extJS/adapter/ext/ext-base.js" type="text/javascript"></script>
<script src="/Content/Scripts/extJS/ext-all-debug.js" type="text/javascript"></script>
<script src="/Content/Scripts/Modules/Portal/AdminMenuPanel.js" type="text/javascript"></script>
<script src="/Content/Scripts/Modules/Portal/Portal.js" type="text/javascript"></script>
<script type="text/javascript">
Ext.onReady(function(){
Ext.QuickTips.init();
ff
var e = new Ext.ux.AdminPortal();
});
</script>
</head>
<body>
</body>
</html>
Thanks for the suggestions so far!