<!--

    var imgsrc_array = new Array();
    var referencesrc_array = new Array();
    var referencetxt_array = new Array();

    var last_img = '';
    var lastreference_img = '';

    var browser_b = '';

    imgsrc_array.push('/WEBSITE/IMG/onder_de_kastanje_56.jpg');
    imgsrc_array.push('/WEBSITE/IMG/onder_de_kastanje_57.jpg');
    imgsrc_array.push('/WEBSITE/IMG/onder_de_kastanje_58.jpg');
    imgsrc_array.push('/WEBSITE/IMG/onder_de_kastanje_59.jpg');
    imgsrc_array.push('/WEBSITE/IMG/onder_de_kastanje_60.jpg');

    referencesrc_array.push('/WEBSITE/IMG/referentie_blanco.jpg');
    referencetxt_array.push('&nbsp;');

    function getBrowser()
    {
        if (navigator.appName.indexOf('Microsoft') != '-1')
        {
        	browser_b = 1;
        }
    }

    function getRandomInt(min_int, max_int)
    {
        return Math.floor(Math.random() * (max_int - min_int + 1)) + min_int;
    }

    function setImage()
    {
        var randomimage = getRandomInt(0, (imgsrc_array.length - 1));

        if (last_img != imgsrc_array[randomimage])
        {
            if (browser_b)
            {
            	document.all('streamer_td').style.background = 'url(' + imgsrc_array[randomimage] + ')';
            }
            else
            {
            	document.getElementById('streamer_td').style.background = 'url(' + imgsrc_array[randomimage] + ')';
            }

            last_img = imgsrc_array[randomimage];
        }
        else
        {
            setImage();
        }
    }

    function setReference()
    {
        var randomimage = getRandomInt(0, (referencesrc_array.length - 1));

        //if (lastreference_img != referencesrc_array[randomimage])
        if (lastreference_img != referencesrc_array[randomimage])
        {
            if (browser_b)
            {
            	document.all('referenceimg_td').style.background = 'url(' + referencesrc_array[randomimage] + ')';
                document.all['referencetxt_td'].innerHTML = referencetxt_array[randomimage];
            }
            else
            {
            	document.getElementById('referenceimg_td').style.background = 'url(' + referencesrc_array[randomimage] + ')';
                document.getElementById('referencetxt_td').innerHTML = referencetxt_array[randomimage];
            }

            lastreference_img = referencesrc_array[randomimage];
        }
        else
        {
            setReference();
        }

    }

    function swithImage()
    {
        setInterval(setImage, 8000);
    }

    function setBodyLoad(expand_name_s)
    {
    	var menu_c = new menu_expand_c();
		menu_c.setMenu(expand_name_s);

    	getBrowser();
        setImage();
        setReference();
    }

    function changeLocation()
    {
		if(document.snel_naar.locatie.options[document.snel_naar.locatie.selectedIndex].value)
		{
			document.location.href=document.snel_naar.locatie.options[document.snel_naar.locatie.selectedIndex].value;
		}
    }

//-->