shouldn't the first one have the ; AFTER the " ?
No. Not in any way. 
Okay, probably not.. but the second one, when you use the onLoad (not onload) you need the () in there also, like so:
Also no. 
JS and Flash are pretty simialr and that's how you would use them in Flash
Wrong. ActionScript is also a variant of ECMAScript, so the same rules apply.
If you have:
Code:
function myFunc() {
return true;
}
Then:
Code:
var myVar = myFunc();
myVar will be true. This is syntactically correct, but of a totally different meaning to:
Code:
var myVar = myFunc;
... which will cause the entire function to be assigned to myVar, so that a future:will return true.
rahan: He's completely wrong on this one, don't listen to him
Instead, remove this line:
Code:
onload=getDeterminerPositionLoad;
and edit the onload event like so:
Code:
<body onload="InitializeMainCategory('document.welcome');getDeterminerPositionLoad();">
Bookmarks