OK - the way I have done this (implemented for vBWar

) is as follows:
You need an multi-dimensional array in a single array that javascript can manage...
Try:
Code:
$boofosarray[$header.":".$message] = $displayvalue;
The trick is to generate your Select menu in PHP with values that don't work ($header.":".$message) and then explode it out in your javascript function which then pops up your alert.
Should work

So instead of putting your javascript call right there in the onchange, try putting a function call in there
Code:
onchange="return gimmesomesugar(this.options[selectedIndex].value);"
with the function
Code:
<script type="text/javascript">
<!--
function gimmesomesugar(sugar)
{
var somesugar = sugar.split(":");
parent.applet.document.ChatClient.alert( somesugar[0], somesugar[1] );
}
//-->
</script>
somewhere on your page

prolly better off in the <head>
Let me know how u go pal
[FYI: never name your custom javascript functions with the name of a default js function like "alert"

]