Javascript onload not working IE7 localhost

Any of you smartypants know why my javascript onload function (inside the body tag) is not working (alert pop up box). Using localhost as server and no my pop ups are not blocked:D

Oh happy day’s

So you have come up trumps again thanks logic ali, script was OFFFFFF

If you mean this:

<body onload="alert('Hi')" >

then maybe scripting is disabled for that zone.
Are you saying that it does work from a remote server?
Any console errors (that little yellow triangle at the bottom left)?