function create() {
	this.width = ''
	this.height = ''
	this.src = ''
	this.href = ''
	this.border = ''
}
ads = new Array()
for(var i=1; i<=5; i++) { ads[i] = new create() }
ads[1].width = "60"
ads[1].height = "79"
ads[1].src = "http://nalejandria.com/institucionales/escudos/stmary.gif"
ads[1].href = "http://stmary.esc.edu.ar"
ads[1].border = "0"

ads[2].width = "60"
ads[2].height = "79"
ads[2].src = "http://nalejandria.com/institucionales/escudos/vdevoto.gif"
ads[2].href = "http://vdevoto.esc.edu.ar"
ads[2].border = "0"

ads[3].width = "60"
ads[3].height = "79"
ads[3].src = "http://nalejandria.com/institucionales/escudos/stbrendans.gif"
ads[3].href = "http://stbrendans.esc.edu.ar"
ads[3].border = "0"

ads[4].width = "60"
ads[4].height = "79"
ads[4].src = "http://nalejandria.com/institucionales/escudos/tarbut.gif"
ads[4].href = "http://tarbut.esc.edu.ar"
ads[4].border = "0"

ads[5].width = "60"
ads[5].height = "79"
ads[5].src = "http://nalejandria.com/institucionales/escudos/ISM.gif"
ads[5].href = "http://www.ism.esc.edu.ar"
ads[5].border = "0"

var n = Math.random() + ''
n = parseInt(n.charAt(5))

if(n >5) {
   n = n - 5
}

else if(n==0) {
   n = n + 5
}

n += ""

var image = ads[n]
var ad = ""
ad += '<a href="' + image.href + '" \n'
ad += '><img src="' + image.src + '" width=' + image.width
ad += '\n height=' + image.height + ' border=' + image.border
ad += '\n><br></a>'
