<html>
<head>
<script>
function setAlign()
{
alert("Some javaScript....");
}
</script>
</head>
<body>
<menu>
<command type="radio" label="Left" icon="left.png" onclick="setAlign('left')">Left</command>
<command type="radio" label="Center" icon="center.png" onclick="setAlign('center')">Center</command>
<command type="radio" label="Right" icon="right.png" onclick="setAlign('right')">Right</command>
</menu>
<p><b>Note:</b> The icon attribute is currently not supported in any of the major browsers.</p>
</body>
</html>