// JavaScript Document
window.addEvent('domready', function() {
									 
									 
var myFxs = new Fx.Morph('white_box').set({
      'opacity': 0
});

 


									 
//var myVerticalSlide = new Fx.Slide('slide_out');
var myFx = new Fx.Tween('slide_out_pic');

	$('slide_it_down').addEvent('click', function(e){
		e.stop();
		myFx.start('height', '150', '540');
		document.getElementById('link_slide').style.display="none";
		document.getElementById('link_slide1').style.display="block";
		myFxs.start({  'opacity': 1  });
	});
	
	$('slide_it_up').addEvent('click', function(e){
		e.stop();
		myFx.start('height', '540', '150');
		document.getElementById('link_slide').style.display="block";
		document.getElementById('link_slide1').style.display="none";
		myFxs.start({  'opacity': 0  });

	});

var myFxc = new Fx.Tween('nieuws_content');

	$('slide_nieuws_down').addEvent('click', function(e){
		e.stop();
		myFxc.start('height', '0', '400');
		document.getElementById('nieuws_slide').style.display="none";
		document.getElementById('nieuws_slide1').style.display="block";
	});
	
	$('slide_nieuws_up').addEvent('click', function(e){
		e.stop();
		myFxc.start('height', '400', '0');
		document.getElementById('nieuws_slide').style.display="block";
		document.getElementById('nieuws_slide1').style.display="none";

	});
});	



//Transitions the background color of the Element from black to red:

//Transitions the background color of the Element from its current color to blue:
//myFx.start('background-color', '#00f');
