// JavaScript Document

	function SetBackGround() 
	{
		var theImages = new Array() // do not change this
		theImages[0] = 'images/bks/bk_01.jpg'
		theImages[1] = 'images/bks/bk_02.jpg'
		theImages[2] = 'images/bks/bk_03.jpg'
		theImages[3] = 'images/bks/bk_04.jpg'
				
		var thebgColor = new Array() // do not change this
		thebgColor[0] = '#FFFFFF'
		thebgColor[1] = '#FFFFFF'
		thebgColor[2] = '#FFFFFF'
		thebgColor[3] = '#7A7A7A'
				
		var j = 0
		var p = theImages.length;
		var preBuffer = new Array()
		for (i = 0; i < p; i++){
			preBuffer[i] = new Image()
			preBuffer[i].src = theImages[i]
		}
		var whichImage = Math.round(Math.random()*(p-1));
		
		document.writeln('<style type="text/css">');
		document.writeln('<!--');
		document.writeln('body { background-image: url('+theImages[whichImage]+'); ');
		document.writeln('background-repeat: no-repeat; ');
		document.writeln('background-color:'+thebgColor[whichImage]+'; }');
		document.writeln(' --> ');
		document.writeln('</style>');

	}
