// crate images
pic = new Array(8)
pic[0] = new Image(100,100)
pic[1] = new Image(100,100)
pic[2] = new Image(100,100)
pic[3] = new Image(100,100)
pic[4] = new Image(100,100)
pic[5] = new Image(100,100)
pic[6] = new Image(100,100)
pic[7] = new Image(100,100)
// load the images
pic[0].src = "IMAGE_GALLERY/co_he2147.jpg"
pic[1].src = "IMAGE_GALLERY/co_raqr.jpg"
pic[2].src = "IMAGE_GALLERY/9932b.jpg.jpg"
pic[3].src = "IMAGE_GALLERY/co_bicru.jpg"
pic[4].src = "IMAGE_GALLERY/co_hmsge.jpg"
pic[5].src = "IMAGE_GALLERY/raqr_oii2.jpg"
pic[6].src = "IMAGE_GALLERY/9932a_crop.jpg"
pic[7].src = "IMAGE_GALLERY/chstisG1_crop.jpg"
// create changing image!

function swap_pic() 
{
 var j=0
 for (var i=0; i<document.images.length; i++)
	{
	if (!document.images[i].name.indexOf("conference"))
		{
		var onoff = Math.round(Math.random()*7)
		if ( onoff < 8 ) 
			{
		 	document.images[i].src = pic[onoff].src
			}
		}
	}
var delay = Math.round(Math.random()*1500)+1500
var tid = setTimeout("swap_pic()",delay)
}



