eccolo qua funzionante:

codice:
<!doctype html public "-//W3C//DTD HTML 4.0 //EN">
<html>
<head>
       <title></title>
<SCRIPT language="JavaScript">
<!--
function get_random()
{
var ranNum= Math.floor(Math.random()*2);
return ranNum;
}
</script>
</head>
<body>
<script>
var pippo = get_random();
document.write("[img]{T_IMAGESET_PATH}/logo" + pippo + ".jpg[/img]");
</script>
</body>
</html>