/* Author: SCREEN.de - Aktive Medien // IOSTREAM.de */

slideflag = false

function mover(index) {
	document.images['b'+index].src = imagepath + overbuttons[index-1]
	if (index == 1 && slideflag) return
  document.images['i'+index].src = imagepath + overimages[index-1]	
}

function mout(index) {
	document.images['b'+index].src = imagepath + outbuttons[index-1]
	if (index == 1 && slideflag) return
	document.images['i'+index].src = imagepath + outimages[index-1]	
}

preloaded = []
function preload(images) {
  f = images.length
	while (f--) {
    var i = new Image()
   	i.src = imagepath +  images[f]
		preloaded[preloaded.length]	= i
	} 
}
