	var c = readCookie('style');	if (c == 'normal' || c == 'largeText' || c == 'smallText') {		switchStylestyle(c);	}else{		createCookie('style', 'normal', 365)	}$(document).ready(function() {	var c = readCookie('style');	if (c != 'normal') {		$('#styleswitcher a').text('A-');		$('#styleswitcher a').attr('title', 'Tekst verkleinen');		$('#styleswitcher a').attr('rel', 'normal');	} else {		$('#styleswitcher a').text('A+');		$('#styleswitcher a').attr('title', 'Tekst vergroten');		$('#styleswitcher a').attr('rel', 'textLarger');  }		$('#styleswitcher a').click(function(e) {    if ($(this).attr('rel') == 'normal') {			toNormal(this);		}	else if ($(this).attr('rel') == 'textLarger') {			toLarge(this);		}    e.preventDefault();	});});/** * Tekst vergroten */											function toLarge(el) {	$(el).attr('rel', 'normal');	$(el).attr('title', 'Tekst verkleinen');	switchStylestyle('largeText');  $(el).text('A-');}function toNormal(el) {  $(el).attr('rel', 'textLarger');	$(el).attr('title', 'Tekst vergroten');	switchStylestyle('normal');  $(el).text('A+');}function switchStylestyle(styleName) {	$('link[rel*=style]').each(function(i)	{		if(this.getAttribute('title')!='normal') {			this.disabled = true;			if (this.getAttribute('title') == styleName) this.disabled = false;		}else{			this.disabled = false;		}	});	createCookie('style', styleName, 365);}// cookie functions http://www.quirksmode.org/js/cookies.htmlfunction createCookie(name,value,days){	if (days)	{		var date = new Date();		date.setTime(date.getTime()+(days*24*60*60*1000));		var expires = "; expires="+date.toGMTString();	}	else var expires = "";	document.cookie = name+"="+value+expires+"; path=/";}function readCookie(name){	var nameEQ = name + "=";	var ca = document.cookie.split(';');	for(var i=0;i < ca.length;i++)	{		var c = ca[i];		while (c.charAt(0)==' ') c = c.substring(1,c.length);		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);	}	return null;}function eraseCookie(name){	createCookie(name,"",-1);}
