function mbover (x) {
document.images[x].src = 'images/'+x+'-over.gif';
}

function mbout (x) {
document.images[x].src = 'images/'+x+'.gif';
}

function rbover (x) {
x="rightb"+x;
document.images[x].src = 'images/rightb-over.gif';
}

function rbout (x) {
x="rightb"+x;
document.images[x].src = 'images/rightb.gif';
}

function nbover (x) {
x="voorkant"+x;
document.images[x].src = 'images/'+x+'-over.gif';
}

function nbout (x) {
x="voorkant"+x;
document.images[x].src = 'images/'+x+'.gif';
}

var n = 4;
var m = 4;

function play(x) {
n = parseInt(x)
document.kaart.src = "kaart/"+n+".gif";
}

function plus() {
if (n < 7) {
n=n+1;
document.kaart.src = "kaart/"+n+".gif";
document.myform.slide.value = n;
}}

function min() {
if (n > 1) {
n=n-1;
document.kaart.src = "kaart/"+n+".gif";
document.myform.slide.value = n;
}}

function preloadmyimg() {
var a=new Array(19);
var myimg=new Array(
"top4-over.gif",
"top5-over.gif",
"top6-over.gif",
"top7-over.gif",
"top8-over.gif",
"rightb-over.gif",
"voorkant5-over.gif",
"voorkant6-over.gif",
"voorkant7-over.gif",
"voorkant8-over.gif",
"voorkant9-over.gif",
"voorkant10-over.gif",
"voorkant11-over.gif",
"voorkant12-over.gif",
"voorkant13-over.gif",
"voorkant14-over.gif",
"voorkant15-over.gif",
"voorkant16-over.gif",
"voorkant17-over.gif",
"voorkant18-over.gif")

for (i = 0; i <= 19; i++) {
if (document.images) {
a[i] = new Image();
a[i].src = "images/"+myimg[i];
}}}