	var logoWidth = 0;
	var logoHeight = 0;
	var btNieuwsWidth = 0;
	var btAanbodWidth = 0;
	var btTeamWidth = 0;
	var btDienstenWidth = 0;
	var btMakelaardijWidth = 0;
	var btReferentiesWidth = 0;
	var btContactWidth = 0;
	var btBouwregelgevingWidth = 0;
	var btFaqWidth = 0;
	var btRoutebeschrijvingWidth = 0;
	var zoomStepSpeed = 133 / 16
	var ScrollStepSpeed = 133 / 8
	var pageOpacity = 100;

	function StartAnimation()
	{
//		body.style.filter="blendTrans(duration=1)";
//		body.filters.blendTrans.apply();
//		body.style.visibility="visible";
//		body.filters.blendTrans.play();
//		setTimeout("pageFade()", 1000);
		pageFade();

	}
	function pageFade()
	{
		pageOpacity = 100;
//		pageOpacity += 8;
//		if ( pageOpacity > 100 ) pageOpacity = 100;
//		document.getElementById('body').style.filter = 'alpha(opacity=' + pageOpacity + ')';
		if ( pageOpacity < 100 )
		{
			setTimeout("pageFade()", 50);
		} else {
//			document.getElementById('body').style.filter = '';

			setTimeout("ZoomLogo()", 10);

//			setTimeout("ScrollButtonAanbod()", 300);

//			setTimeout("ScrollButtonTeam()", 450);

//			setTimeout("ScrollButtonDiensten()", 600);

//			setTimeout("ScrollButtonReferenties()", 750);

//			setTimeout("ScrollButtonNieuws()", 900);

//			setTimeout("ScrollButtonBouwregelgeving()", 1050);

//			setTimeout("ScrollButtonFaq()", 1200);

//			setTimeout("ScrollButtonContact()", 1350);

//			setTimeout("ScrollButtonRoutebeschrijving()", 1500);

		}
	}

	function ZoomLogo()
	{
		if ( (logoWidth < 153) || (logoHeight < 153) )
		{
			if (logoWidth < 153) { logoWidth += zoomStepSpeed; if(logoWidth>153) { logoWidth = 153; } }
			if (logoHeight < 153) { logoHeight += zoomStepSpeed; if(logoHeight>153) { logoHeight = 153; } }
			document.getElementById("logo").style.width = logoWidth + 'px';
			document.getElementById("logo").style.height = logoHeight + 'px';
			setTimeout("ZoomLogo()", 25);
		}
	}

	function ScrollButtonAanbod()
	{
		if ( btAanbodWidth < 153 )
		{
			btAanbodWidth += ScrollStepSpeed;
			if(btAanbodWidth > 153) { btAanbodWidth = 153; }
			document.getElementById('btAanbod').style.width = btAanbodWidth + 'px';
			setTimeout("ScrollButtonAanbod()", 25);
		}
	}

	function ScrollButtonTeam()
	{
		if ( btTeamWidth < 153 )
		{
			btTeamWidth += ScrollStepSpeed;
			if(btTeamWidth > 153) { btTeamWidth = 153; }
			document.getElementById('btTeam').style.width = btTeamWidth + 'px';
			setTimeout("ScrollButtonTeam()", 25);
		}
	}

	function ScrollButtonDiensten()
	{
		if ( btDienstenWidth < 153 )
		{
			btDienstenWidth += ScrollStepSpeed;
			if(btDienstenWidth > 153) { btDienstenWidth = 153; }
			document.getElementById('btDiensten').style.width = btDienstenWidth + 'px';
			setTimeout("ScrollButtonDiensten()", 25);
		}
	}

	function ScrollButtonReferenties()
	{
		if ( btReferentiesWidth < 153 )
		{
			btReferentiesWidth += ScrollStepSpeed;
			if(btReferentiesWidth > 153) { btReferentiesWidth = 153; }
			document.getElementById('btReferenties').style.width = btReferentiesWidth + 'px';
			setTimeout("ScrollButtonReferenties()", 25);
		}
	}

	function ScrollButtonNieuws()
	{
		if ( btNieuwsWidth < 153 )
		{
			btNieuwsWidth += ScrollStepSpeed;
			if(btNieuwsWidth > 153 ) { btNieuwsWidth = 153; }
			document.getElementById('btNieuws').style.width = btNieuwsWidth + 'px';
			setTimeout("ScrollButtonNieuws()", 25);
		}
	}

	function ScrollButtonBouwregelgeving()
	{
		if ( btBouwregelgevingWidth < 153 )
		{
			btBouwregelgevingWidth += ScrollStepSpeed;
			if(btBouwregelgevingWidth > 153) { btBouwregelgevingWidth = 153 }
			document.getElementById('btBouwregelgeving').style.width = btBouwregelgevingWidth + 'px';
			setTimeout("ScrollButtonBouwregelgeving()", 25);
		}
	}

	function ScrollButtonFaq()
	{
		if ( btFaqWidth < 153 )
		{
			btFaqWidth += ScrollStepSpeed;
			if(btFaqWidth>153) { btFaqWidth = 153; }
			document.getElementById('btFAQ').style.width = btFaqWidth + 'px';
			setTimeout("ScrollButtonFaq()", 25);
		}
	}

	function ScrollButtonContact()
	{
		if ( btContactWidth < 153 )
		{
			btContactWidth += ScrollStepSpeed;
			if(btContactWidth>153) { btContactWidth = 153; }
			document.getElementById('btContact').style.width = btContactWidth + 'px';
			setTimeout("ScrollButtonContact()", 25);
		}
	}

	function ScrollButtonRoutebeschrijving()
	{
		if ( btRoutebeschrijvingWidth < 153 )
		{
			btRoutebeschrijvingWidth += ScrollStepSpeed;
			if(btRoutebeschrijvingWidth > 153) { btRoutebeschrijvingWidth = 153 }
			document.getElementById('btRoutebeschrijving').style.width = btRoutebeschrijvingWidth + 'px';
			setTimeout("ScrollButtonRoutebeschrijving()", 25);
		}
	}

	function MouseOver(Button)
	{
		document.getElementById(Button).style.marginBottom = '2px';
		document.getElementById(Button).style.borderBottom = '3px red solid';
	}

	function MouseOut(Button)
	{
		document.getElementById(Button).style.marginBottom = '5px';
		document.getElementById(Button).style.borderBottom = '0px';
	}
