



 
var theImages = new Array() 

theImages[0] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/flash-bg-wide.jpg'
theImages[1] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000000459529Small.jpg'
theImages[2] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000002744496.jpg'
theImages[3] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000002744760.jpg'
theImages[4] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000003532150.jpg'
theImages[5] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000004475783.jpg'
theImages[6] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000004867985Medium.jpg'
theImages[7] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000005881724.jpg'
theImages[8] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000006266528.jpg'
theImages[9] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000006349227Small.jpg'
theImages[10] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000006518740Medium.jpg'
theImages[11] = '/export/system/modules/org.opencms.versivo/resources/images/masthead/Versivo_000006987550.jpg'


var p = theImages.length;

var whichImage = Math.round(Math.random()*(p-1));

var rightimages=new Array()
var imagelinks=new Array()

rightimages[0] = '/export/system/modules/org.opencms.versivo/resources/images/rightpane/new-right-panel.jpg'
imagelinks[0] = ''


var r = rightimages.length;
var whichRightImage = Math.round(Math.random()*(r-1));

function showImage(){
	document.write('<img src="'+theImages[whichImage]+'">');
}

function showRightImage(){
	if (imagelinks[whichRightImage] == "") {
		document.write('<img src="'+rightimages[whichRightImage]+'" class="right_square">');	
	} else {
		document.write('<a href='+'"'+imagelinks[whichRightImage]+'"'+'><img src="'+rightimages[whichRightImage]+'" border=0 class="right_square"></a>')
	}
}