<!-- This script is (c) 2001 Copyright by www.Seniorennet.be -->

var expDays = 9999;
var exp = new Date(); 
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));

function set(){
tekenGrootte = "3";
}
function getCookieVal (offset) {  
var endstr = document.cookie.indexOf (";", offset);  
if (endstr == -1)    
endstr = document.cookie.length;  
return unescape(document.cookie.substring(offset, endstr));
}
function GetCookie (name) {  
var arg = name + "=";  
var alen = arg.length;  
var clen = document.cookie.length;  
var i = 0;  
while (i < clen) {    
var j = i + alen;    
if (document.cookie.substring(i, j) == arg)      
return getCookieVal (j);    
i = document.cookie.indexOf(" ", i) + 1;    
if (i == 0) break;   
}  
return null;
}
function SetCookie (name, value) {
if (escape (value) == "3") { 
var exp = new Date();  
exp.setTime (exp.getTime() - 1);  
var cval = GetCookie (name);  
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
return null 
} ;
var argv = SetCookie.arguments;  
var argc = SetCookie.arguments.length;  
var expires = (argc > 2) ? argv[2] : null;  
var path = (argc > 3) ? argv[3] : null;  
var domain = (argc > 4) ? argv[4] : null;  
var secure = (argc > 5) ? argv[5] : false;  
document.cookie = name + "=" + escape (value) + 
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
((path == null) ? "" : ("; path=" + path)) +  
((domain == null) ? "" : ("; domain=" + domain)) +    
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {  
var exp = new Date();  
exp.setTime (exp.getTime() - 1);  
var cval = GetCookie (name);  
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}

function grootte(){
var tekenGrootte = GetCookie('grootte');
if (tekenGrootte == null) {
tekenGrootte = "3";
}
function doRefresh(){
location.reload();
}

/*  TekenGrootte = Très grand */
if (tekenGrootte == "5") {
document.write('<div class="keuze2">');
document.write('<input type=radio name="grootte" value="2" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">MAX<br>');
document.write('</div>');

document.write('<div class="keuze5">');
document.write('<input type=radio name="grootte" value="5" checked onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Très grand<br>');
document.write('</div>');

document.write('<div class="keuze4">');
document.write('<input type=radio name="grootte" value="4" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand<br>');
document.write('</div>');

document.write('<div class="keuze7">');
document.write('<input type=radio name="grootte" value="7" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand, GRAND CONTRASTE, caractères gras et interligne majeur<br>');
document.write('</div>');

document.write('<div class="keuze6">');
document.write('<input type=radio name="grootte" value="6" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal et caractères gras<br>');
document.write('</div>');

document.write('<div class="keuze3">');
document.write('<input type=radio name="grootte" value="3" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal<br>');
document.write('</div>');

document.write('<div class="keuze1">');
document.write('<input type=radio name="grootte" value="1" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus petit<br>');
document.write('</div>');
}

/*  TekenGrootte = Groter */
if (tekenGrootte == "4") {
document.write('<div class="keuze2">');
document.write('<input type=radio name="grootte" value="2" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">MAX<br>');
document.write('</div>');

document.write('<div class="keuze5">');
document.write('<input type=radio name="grootte" value="5" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Très grand<br>');
document.write('</div>');

document.write('<div class="keuze4">');
document.write('<input type=radio name="grootte" value="4" checked onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand<br>');
document.write('</div>');

document.write('<div class="keuze7">');
document.write('<input type=radio name="grootte" value="7" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand, GRAND CONTRASTE, caractères gras et interligne majeur<br>');
document.write('</div>');

document.write('<div class="keuze6">');
document.write('<input type=radio name="grootte" value="6" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal et caractères gras<br>');
document.write('</div>');

document.write('<div class="keuze3">');
document.write('<input type=radio name="grootte" value="3" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal<br>');
document.write('</div>');

document.write('<div class="keuze1">');
document.write('<input type=radio name="grootte" value="1" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus petit<br>');
document.write('</div>');
}

/*  TekenGrootte = Normaal en vetjes */
if (tekenGrootte == "6") {
document.write('<div class="keuze2">');
document.write('<input type=radio name="grootte" value="2" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">MAX<br>');
document.write('</div>');

document.write('<div class="keuze5">');
document.write('<input type=radio name="grootte" value="5" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Très grand<br>');
document.write('</div>');

document.write('<div class="keuze4">');
document.write('<input type=radio name="grootte" value="4" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand<br>');
document.write('</div>');

document.write('<div class="keuze7">');
document.write('<input type=radio name="grootte" value="7" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand, GRAND CONTRASTE, caractères gras et interligne majeur<br>');
document.write('</div>');

document.write('<div class="keuze6">');
document.write('<input type=radio name="grootte" value="6" checked onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal et caractères gras<br>');
document.write('</div>');

document.write('<div class="keuze3">');
document.write('<input type=radio name="grootte" value="3" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal<br>');
document.write('</div>');

document.write('<div class="keuze1">');
document.write('<input type=radio name="grootte" value="1" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus petit<br>');
document.write('</div>');
}

/*  TekenGrootte = Normaal */
if (tekenGrootte == "3") {
document.write('<div class="keuze2">');
document.write('<input type=radio name="grootte" value="2" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">MAX<br>');
document.write('</div>');

document.write('<div class="keuze5">');
document.write('<input type=radio name="grootte" value="5" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Très grand<br>');
document.write('</div>');

document.write('<div class="keuze4">');
document.write('<input type=radio name="grootte" value="4" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand<br>');
document.write('</div>');

document.write('<div class="keuze7">');
document.write('<input type=radio name="grootte" value="7" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand, GRAND CONTRASTE, caractères gras et interligne majeur<br>');
document.write('</div>');

document.write('<div class="keuze6">');
document.write('<input type=radio name="grootte" value="6" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal et caractères gras<br>');
document.write('</div>');

document.write('<div class="keuze3">');
document.write('<input type=radio name="grootte" value="3" checked onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal<br>');
document.write('</div>');

document.write('<div class="keuze1">');
document.write('<input type=radio name="grootte" value="1" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus petit<br>');
document.write('</div>');
}

/*  TekenGrootte = MAX */
if (tekenGrootte == "2") {
document.write('<div class="keuze2">');
document.write('<input type=radio name="grootte" value="2" checked onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">MAX<br>');
document.write('</div>');

document.write('<div class="keuze5">');
document.write('<input type=radio name="grootte" value="5" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Très grand<br>');
document.write('</div>');

document.write('<div class="keuze4">');
document.write('<input type=radio name="grootte" value="4" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand<br>');
document.write('</div>');

document.write('<div class="keuze7">');
document.write('<input type=radio name="grootte" value="7" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand, GRAND CONTRASTE, caractères gras et interligne majeur<br>');
document.write('</div>');

document.write('<div class="keuze6">');
document.write('<input type=radio name="grootte" value="6" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal et caractères gras<br>');
document.write('</div>');

document.write('<div class="keuze3">');
document.write('<input type=radio name="grootte" value="3" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal<br>');
document.write('</div>');

document.write('<div class="keuze1">');
document.write('<input type=radio name="grootte" value="1" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus petit<br>');
document.write('</div>');
}

/*  TekenGrootte = Plus petit */
if (tekenGrootte == "1") {
document.write('<div class="keuze2">');
document.write('<input type=radio name="grootte" value="2" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">MAX<br>');
document.write('</div>');

document.write('<div class="keuze5">');
document.write('<input type=radio name="grootte" value="5" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Très grand<br>');
document.write('</div>');

document.write('<div class="keuze4">');
document.write('<input type=radio name="grootte" value="4" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand<br>');
document.write('</div>');

document.write('<div class="keuze7">');
document.write('<input type=radio name="grootte" value="7" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand, GRAND CONTRASTE, caractères gras et interligne majeur<br>');
document.write('</div>');

document.write('<div class="keuze6">');
document.write('<input type=radio name="grootte" value="6" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal et caractères gras<br>');
document.write('</div>');

document.write('<div class="keuze3">');
document.write('<input type=radio name="grootte" value="3" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal<br>');
document.write('</div>');

document.write('<div class="keuze1">');
document.write('<input type=radio name="grootte" value="1" checked onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus petit<br>');
document.write('</div>');
}

/*  TekenGrootte = Groter, sterk contrast, vette letters, dubbele regelafstand */
if (tekenGrootte == "7") {
document.write('<div class="keuze2">');
document.write('<input type=radio name="grootte" value="2" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">MAX<br>');
document.write('</div>');

document.write('<div class="keuze5">');
document.write('<input type=radio name="grootte" value="5" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Très grand<br>');
document.write('</div>');

document.write('<div class="keuze4">');
document.write('<input type=radio name="grootte" value="4" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand<br>');
document.write('</div>');

document.write('<div class="keuze7">');
document.write('<input type=radio name="grootte" value="7" checked onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus grand, GRAND CONTRASTE, caractères gras et interligne majeur<br>');
document.write('</div>');

document.write('<div class="keuze6">');
document.write('<input type=radio name="grootte" value="6" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal et caractères gras<br>');
document.write('</div>');

document.write('<div class="keuze3">');
document.write('<input type=radio name="grootte" value="3" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Normal<br>');
document.write('</div>');

document.write('<div class="keuze1">');
document.write('<input type=radio name="grootte" value="1" onClick="SetCookie');
document.write("('grootte', this.value, exp), doRefresh();");
document.write('">Plus petit<br>');
document.write('</div>');
}
var tekenGrootte = ""
return tekenGrootte;
}
document.write(grootte());