window.onload=function() 
{
	var o=document.createElement('img');
	o.setAttribute('id', 'image');
	o.setAttribute('src', pictureArchive[0]);
	o.setAttribute('alt', '');
	document.getElementById('slideshow').appendChild(o);
	rotate(pictureArchive.length);
}
function rotate(idx) 
{
	if(idx>=pictureArchive.length) {
		idx=0;
	}
	document.getElementById('image').src=pictureArchive[idx++];
	timerID=setTimeout('rotate('+idx+')', intTimer);
}
function setSpeed(speed) {
	intTimer = 	speed;
}