﻿/* images carousel */
var theImages = new Array()
theImages[0] = '/fileadmin/templates/images/boot1homepagina.jpg'
theImages[1] = '/fileadmin/templates/images/Schol3homepage.jpg'
theImages[2] = '/fileadmin/templates/images/Schol4homepage.jpg'
theImages[3] = '/fileadmin/templates/images/Schol2homepage.jpg'

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 randomImg(){
document.write('<img src="'+theImages[whichImage]+'" border="0">');
}
/* End images carousel */

