/* variabel required for iframes to resize */

//var siteIframes = new IFrames.iframes();

var arrFunctions = new Array();

function addFunction(fReference) {
	/* Deze functie voegt een functie-pointer toe aan de array van functies die uitgevoerd wordt in de body onload. */
	arrFunctions[arrFunctions.length] = fReference;
}

function callAllFunctions()  {
	for(var i=0; i < arrFunctions.length; i++) { arrFunctions[i](); }	
}

function clearInput(elem) {
    elem.value = "";
}

function chooseStyle(style) 
    {
    if (style == undefined || style=='' ) { newstyle='large'; } else { newstyle = ''; }
    //alert( style + '][' + newstyle );
    var expdate = new Date();
    expdate.setTime(expdate.getTime() + (1000*3600*24*365));
    document.cookie = 'style=' + newstyle + '; expires=' + expdate.toGMTString() + '; path=/';
    window.location.reload(true);
    }