var images = new Array;

// set path from root for each image
images[0]  = "/aanbod/_images/tuin_achteraan_120.jpg";
images[1]  = "/_images/ferme_1.jpg";
images[2]  = "/_images/ferme_2.jpg";
images[3]  = "/aanbod/_images/kampeer_slaapzaal_120.jpg";
images[4]  = "/aanbod/_images/kampeer_slaapzaal2_120.jpg";
images[5]  = "/aanbod/_images/kampeer_wc_120.jpg";
images[6]  = "/aanbod/_images/kampeer_keuken_120.jpg";
images[7]  = "/aanbod/_images/kampeer_eetplaats2_120.jpg";
images[8]  = "/aanbod/_images/kampeer_eetplaats_120.jpg";
images[9]  = "/aanbod/_images/renard_stapelbed2_120.jpg";
images[10] = "/aanbod/_images/renard_wc_120.jpg";
images[11] = "/aanbod/_images/renard_zitplaats_120.jpg";
images[12] = "/aanbod/_images/zicht_hangar_120.jpg";
images[13] = "/aanbod/_images/zicht_achteraan_120.jpg";
images[14] = "/aanbod/_images/omgeving_restaurant_120.jpg";
images[15] = "/aanbod/_images/omgeving_eau_blanche2_120.jpg";
images[16] = "/aanbod/_images/omgeving_eau_blanche1_120.jpg";
images[17] = "/aanbod/_images/zicht_vooraan3_120.jpg";
images[18] = "/aanbod/_images/zicht_vooraan2_120.jpg";
images[19] = "/aanbod/_images/zicht_vooraan1_120.jpg";
images[20] = "/aanbod/_images/omgeving_meer_van_virelles_120.jpg";
images[21] = "/aanbod/_images/omgeving_flora2_120.jpg";
images[22] = "/aanbod/_images/omgeving_flora1_120.jpg";
images[23] = "/aanbod/_images/renard_slaapkamer1_120.jpg";
images[24] = "/aanbod/_images/renard_slaapkamer2_120.jpg";
images[25] = "/aanbod/_images/renard_ingang_120.jpg";
images[26] = "/aanbod/_images/boeuf_badkamer_120.jpg";
images[27] = "/aanbod/_images/boeuf_slaapkamer2_120.jpg";
images[28] = "/aanbod/_images/boeuf_keuken_trap_120.jpg";
images[29] = "/aanbod/_images/boeuf_slaapkamer1_120.jpg";
images[30] = "/aanbod/_images/boeuf_keuken_120.jpg";
images[31] = "/aanbod/_images/boeuf_living3_120.jpg";
images[32] = "/aanbod/_images/boeuf_living2_120.jpg";
images[33] = "/aanbod/_images/boeuf_living_120.jpg";


var randomno = Math.floor((Math.random()*images.length));

if ( RandomNr != 999 && RandomNr == randomno ) {
    randomno = random_nr(images.length);
}

RandomNr = randomno;

document.write('<img src="' + images[randomno] + '">')


function random_nr(total) {
    var randomno2 = Math.floor((Math.random()*total));
    if ( RandomNr == randomno2 ) {
        random_nr(total)
    }
    else {
        return randomno2;
    }
}


