var numbgs = 3;
var num = Math.floor(Math.random() * numbgs);
document.write("<body background=\"images/bg"+(num+1)+".gif\">");
