﻿
	
window.onload=timedCount;	<!-- het script wordt hier gestart met onload, dit kun je wijzigen -->



var c = 0;

var t;
function timedCount() {

    var top =-document.getElementById('nieuwsscrollinhoud').scrollHeight;
    c = c - 0.05;
    if (c ==top)
        {
        c=330;
        t = setTimeout('timedCount()', 1);
        }
    else 
        {
        document.getElementById('nieuwsscrollinhoud').style.top = c+'px';
        t = setTimeout('timedCount()', 1);
        }
}



var c2 = 0;

var t2;
function timedCount2() {

    var top =-document.getElementById('imagescrollinhoud').scrollWidth;
    c2 = c2 - 1;
    if (c2 ==top)
        {
        c2=0;
        t2 = setTimeout('timedCount2()', 1);
        }
    else 
        {
        document.getElementById('imagescrollinhoud').style.left = c2+'px';
        t2 = setTimeout('timedCount2()', 1);
        }
}






















var d = 10010;
function zoomm()
{
 //Change this variable to match your configuration
document.getElementById('container').style.zoom = screen.width/4000;


//alert(d);
    d = d - 100;
    if (d==110)
        {
        document.getElementById('container').style.zoom = 0;
        }
    else 
        {
 
        document.getElementById('container').style.zoom = screen.width/d;
        
        
        t3 = setTimeout('zoomm()', 1);
        }

}












