		var theImages = new Array() 
		theImages[0] = 'homepic1'
		theImages[1] = 'homepic2'
		theImages[2] = 'homepic3'
		theImages[3] = 'homepic5'
		theImages[4] = 'homepic6'
		theImages[5] = 'homepic7'
		theImages[6] = 'homepic8'
			
		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));

function imageClass(){
	//(theImages[whichImage]);
	node = $("left");
	node.className = theImages[whichImage];
}



function openWin(url,w,h){
   		var ww = (w == null) ? 391 : w;
    	var wh = (h == null) ? 425 : h;
    	var thisWin = window.open(''+url,'thisWin','width='+ww+',height='+wh+',scrollbars=1');
  }
  
window.onload = function(){
imageClass();
}