/* LOGO CARROUSSEL */

var booPauze=false;
var intDivHoogte=0;

function clip() {
	id1=document.getElementById('carroussel1');
	id1.style.top=parseInt(id1.style.top)-1;
	
	id2=document.getElementById('carroussel2');
	id2.style.top=parseInt(id2.style.top)-1;

	var height=id1.offsetHeight;
	carrousselHeight=height/2;

	//document.getElementById('carroussel_container').style.height=carrousselHeight;
	//document.getElementById('carroussel_container').style.clip='rect(auto,175,'+carrousselHeight+',auto)';
	id2.style.display='';
	//if(parseFloat(id1.style.top)==-(id1.offsetHeight/2)) {
//		id1.style.top=0;
//	}
	if ( parseFloat(id1.style.top) < -intDivHoogte ){
		id1.style.top = intDivHoogte;
	}
	
	if ( parseFloat(id2.style.top) < -intDivHoogte ){
		id2.style.top = intDivHoogte;
	}
}

function start() {
	id2=document.getElementById('carroussel2');
	if (!booPauze) clip();
	var speed = 25;
	setTimeout("start()",speed)
}

function topnav(id) {
	id=document.getElementById(id);
	id.style.top=document.getElementById('get_bottom_topimage').offsetHeight;
	return true;
}

function alignDivjes(){
	intDivHoogte=document.getElementById('carroussel1').offsetHeight;
	document.getElementById('carroussel2').style.top = intDivHoogte;
}
