Нечего страшнего.
1.В мужду тегами <head> </head> Вставляем
<style type="text/css">
<!--
body
{background-color:#FAFDFF; margin:0px; padding:0px; font-size:12px; color:#000; font-family:Arial, Helvetica, sans-serif;}
b
{color:#00008B}
.promo
{color:#AF0032; font-size:12px; text-align:center; margin-top:20px}
.promo a:link, .promo a:visited, .promo a:hover {color:#0066CC; text-decoration:underline;}
-->
</style>
И тамже этот скрипт
<SCRIPT language="javascript">
<!-- Random Background
function RandomBackground(images,btags)
{
/* si: start index
** i: current index
** ei: end index
** cc: current count
*/
si = 0;
ci=0;
cc=0;
imageSet = new Array();
ei = images.length;
for (i=1;i<ei;i++) {
if (images.charAt(i) == ' ' || images.charAt(i) == ',') {
imageSet[cc] = images.substring(si,i);
cc++;
si=i+1;
}
}
ind = Math.floor(Math.random() *cc);
document.writeln("<body "+btags+" background=\""+imageSet[ind]+"\">");
}
//function RandomBackground(images)
//{
//RandomBackground(images,"");
//}
// End Script -->
</SCRIPT>
Ну и после к тегу <body> class="promo" должно быть что то вроде этого
<body class="promo">
Картинки кидаем в домен-сайта.ру/1.jpg
В такой деректории они должны быть.
Проверял я на обычной html страничке все работало