//Do not take or copy this code it is illegal, delete it. If you need very low priced rotators
//that rotate like this, go to http://www.mooonbaby.com/scripts/absoluterotators.html/
//Copyright Mooonbaby.com. All rights reserved.

var page=[];
page[0] = ["//www.universityofheavenonearth.com/backgrounds/1.jpg"];
page[1] = ["//www.universityofheavenonearth.com/backgrounds/2.jpg"];
page[2] = ["//www.universityofheavenonearth.com/backgrounds/3.jpg"];
page[3] = ["//www.universityofheavenonearth.com/backgrounds/4.jpg"];
page[4] = ["//www.universityofheavenonearth.com/backgrounds/5.jpg"];
page[5] = ["//www.universityofheavenonearth.com/backgrounds/6.jpg"];
page[6] = ["//www.universityofheavenonearth.com/backgrounds/7.jpg"];
page[7] = ["//www.universityofheavenonearth.com/backgrounds/8.jpg"];
page[8] = ["//www.universityofheavenonearth.com/backgrounds/9.jpg"];
page[9] = ["//www.universityofheavenonearth.com/backgrounds/10.jpg"];
page[10] = ["//www.universityofheavenonearth.com/backgrounds/11.jpg"];
page[11] = ["//www.universityofheavenonearth.com/backgrounds/12.jpg"];
page[12] = ["//www.universityofheavenonearth.com/backgrounds/13.jpg"];
page[13] = ["//www.universityofheavenonearth.com/backgrounds/14.jpg"];
page[14] = ["//www.universityofheavenonearth.com/backgrounds/15.jpg"];
page[15] = ["//www.universityofheavenonearth.com/backgrounds/16.jpg"];
page[16] = ["//www.universityofheavenonearth.com/backgrounds/17.jpg"];
page[17] = ["//www.universityofheavenonearth.com/backgrounds/18.jpg"];
page[18] = ["//www.universityofheavenonearth.com/backgrounds/19.jpg"];
page[19] = ["//www.universityofheavenonearth.com/backgrounds/20.jpg"];
page[20] = ["//www.universityofheavenonearth.com/backgrounds/21.jpg"];
page[21] = ["//www.universityofheavenonearth.com/backgrounds/22.jpg"];
page[22] = ["//www.universityofheavenonearth.com/backgrounds/23.jpg"];
page[23] = ["//www.universityofheavenonearth.com/backgrounds/24.jpg"];
page[24] = ["//www.universityofheavenonearth.com/backgrounds/25.jpg"];

var lasturl="0"; 
function pageimg(){   var randNum = getRand();
document.body.style.background='url('+ page[randNum] +') fixed no-repeat center center';
setTimeout('pageimg()',20000);  }  
function getRand () {   var rnum;   
var id=Math.round(Math.random()*(page.length-1));  
 rnum = id;   if (rnum==lasturl) { rnum = getRand(); }   
lasturl=rnum;   return rnum;  } 
