I think this would be more compatible with most browser versions:
Code:
if ($newpm['messages']==0) {
$pmsound = "";
$lightbulb='off';
} else {
$pmsound = "<embed src=\"gotmail.wav\" autostart=true hidden=true></embed><noembed><bgsound src=\"gotmail.wav\" border=0></noembed>";
$lightbulb='on';
}
I don't have a way to test that out, but I think it should work.
I know a lot of HTML