$(document).ready(function()	{

	// text version menu clicked

	$('a#tekstversie').click(function()	{

		//var newcss = $('#maincss').attr('href').replace(main.css,'staging/js/css/print.css');

		//$('#maincss').attr('href', newcss);

		var newcss = $('#maincss').attr('href');

		if (newcss == 'css/print.css')  {

		  $('#maincss').attr('href', 'main.css');

		} else $('#maincss').attr('href', 'css/print.css');

	})

	// contrast menu clicked

	$('a#contrast').click(function()	{

	  var thebackground = $('body').css('background-color');

	  var theforeground = $('body').css('color');

	  if ((thebackground == 'rgb(0, 0, 0)' || thebackground == '#000') /* checking on IE and Firefox */

	  && (theforeground == 'rgb(255, 255, 255)' || theforeground == '#fff'))

		  $('body').css({ color: '#000',background: '#fff'});

		else  $('body').css({ color: '#fff',background: '#000'});

	});

	// larger font size menu clicked

	$('a#letters-groter').click(function()	{

		$('body').css('fontSize', '110%');

	});

	// smaller font size menu clicked

	$('a#letters-kleiner').click(function()	{

		$('body').css('fontSize', '10pt');

	});

	// mouse over action roll over for icon

	$('#iconen a').hover(function()	{

		thetext  = $(this).text();

		$(this).next().text(thetext);

	}, function()	{

		$(this).next().text('');

	});

});

