function goConfirm(url,domain,newwindow)
{
	var myWidth = 0, myHeight = 0;
	  if( typeof( window.innerWidth ) == 'number' ) {
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
	  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	  }

		var newdiv = document.createElement('div');
		newdiv.setAttribute('id', 'leavedomain');
		newdiv.style.width = 300;
		newdiv.style.height = 30;
		newdiv.style.position = "absolute";
        newdiv.style.left = (myWidth-300)/2;
        newdiv.style.top = (myHeight-30)/2;

		if (newwindow==true) {newwindow=" target='_blank'";}
        newdiv.innerHTML = "U verlaat nu de "+String(domain)+" website.<br/><a href='"+String(url)+"'"+newwindow+">Klik hier om door te gaan</a>.";

		document.body.appendChild(newdiv);
}

function changeFontsize(int_size)
{
	switch (int_size)
	{
		case 2:
			fontsize = 16;
			break;
		case 3:
			fontsize = 20;
			break;
		default:
			fontsize = 12;
	}
	document.getElementById('tekst1').style.fontSize = fontsize;
	document.getElementById("tekst2")
	{
		document.getElementById('tekst2').style.fontSize = fontsize;
	}
	document.getElementById("tekst3")
	{
		document.getElementById('tekst3').style.fontSize = fontsize;
	}
	if(document.getElementById("kruimelpad"))
	{
		document.getElementById('kruimelpad').style.fontSize = fontsize;
	}
}
