// JavaScript Document
// image rotate
function create() {
        this.width = ''
        this.height = ''
		this.alt = ''
 }

images = new Array()
for(var i=0; i<=6; i++) { images[i] = new create() }

images[0].width = "750"
images[0].height = "240"
images[0].src ="images/ec1.jpg"
images[0].alt = ""

images[1].width = "750"
images[1].height = "240"
images[1].src ="images/ec2.jpg"
images[1].alt = ""

images[2].width = "750"
images[2].height = "240"
images[2].src ="images/ec3.jpg"
images[2].alt = ""


images[3].width = "750"
images[3].height = "240"
images[3].src ="images/ec4.jpg"
images[3].alt = ""

images[4].width = "750"
images[4].height = "240"
images[4].src ="images/ec5.jpg"
images[4].alt = ""

images[5].width = "750"
images[5].height = "240"
images[5].src ="images/ec6.jpg"
images[5].alt = ""

images[6].width = "750"
images[6].height = "240"
images[6].src ="images/ec7.jpg"
images[6].alt = ""

var n = Math.floor(Math.random()*7)
var image = images[n]
var im = ""
var layer ="Img"+ n

im += '<img src="' + image.src + '" width= "' + image.width
im += '"\n height="' + image.height + '" align= "middle ' + '" alt="' + image.alt
im += '"\n onmouseover = "MM_showHideLayers(' + "'" + layer +"','', 'show')"
im += '"\n onmouseout =" MM_showHideLayers(' + "'" + layer + "','', 'hide')"
im += '"\n/>'

//document.write(im)
