function background() {};

background = new background();
number = 0;
countImages = 3 ;  //total images + 1

// imageArray 
for (var i=1; i < countImages; i++) {
	// keep adding items here...
	background[number++] = "<style type='text/css'>html #home #header {background:#fff url(images/home/backgrounds/bg-header-0" + i + ".gif) 0 0  no-repeat;}</style>"
	
}

increment = Math.floor(Math.random() * number);
document.write(background[increment]);	