<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>Untitled Document</title>
</head>
<body>
<script type="text/javascript">
var variable = Math.ceil(Math.random()*10);
var masiv = new Array();
masiv[0] = "<b>ffffff</b>";
masiv[1] = "<i>gggggg</i>";
masiv[2] = "<span style='color:red;'>Тест</span>";
masiv[3] = "<span style='color:blue;'>Web-Tourist</span>";
//тука си допиши до masiv[10]
document.write(masiv[variable]);
</script>
</body>
</html>