$(document).ready(function(){


	/* BODY HEIGHT SCRIPT */
	
	wHeight = $(window).height();
	pHeight = ($(document).height());
	//alert($('body').css('height'));
	if(pHeight > wHeight) {
		$('body').css({'height' : pHeight});
	} else {
		$('body').css({'height' : wHeight});
	}

	
	
	
	/* ACTIVATE ACCORDION */
	
	jQuery('#questions').accordion({
			autoheight: false,
			active: false,
			header: '.head',
			event: 'click',
			animated: 'easeslide'
	});

	
	/* FRONTPAGE SWITCH - LANG */



	

});


/* FRONTPAGE SWITCH - LANG */

function switch_text(div) {
	if (document.getElementById('text_nl')) {
		var option=['text_nl','text_uk','text_de','text_fr','text_fi','text_dk'];
		for(var i=0; i<option.length; i++)
		{ obj=document.getElementById(option[i]);
		obj.style.display=(option[i]==div)? "block" : "none"; }
	}
}





