function setOtherFontSize(){	debugger;	if(getActiveStyleSheet() == "largeFont")	{		setActiveStyleSheet("regularFont");	}	else	{		setActiveStyleSheet("largeFont");	}}// 1. Loop through every link element in the document.// 2. Disable all preferred and alternate style sheets that we don’t want active.// 3. Enable all preferred and alternate style sheets that we do want active.function setActiveStyleSheet(title) {  var i, a, main;  for(i=0; (a = document.getElementsByTagName("link")[i]); i++)   {    if(a.getAttribute("rel").indexOf("alternate stylesheet") != -1 && a.getAttribute("title")) 	{      a.disabled = true;      if(a.getAttribute("title") == title) 		a.disabled = false;    }  }}//Return the current style sheetfunction getActiveStyleSheet() {  var i, a;  for(i=0; (a = document.getElementsByTagName("link")[i]); i++)   {    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) 		return a.getAttribute("title");  }  return null;}function RedirectExternalURL(URLLink){        if(URLLink.indexOf("http://") == -1 || URLLink.indexOf("lilly.nl") != -1)    {	if(URLLink.indexOf("http://") == -1)	{	    	    location.href = "http://www.lilly.nl/Nitro/main/" + URLLink;	    	}	else	{ 	    location.href = URLLink;	}    }    else    {        window.open("http://www.lilly.nl/Nitro/main/Legal_Disclaimer.jsp?page=11406&pagina=" + URLLink,'','width=600, height=240');    }}function printSpecial(){	if (document.getElementById != null)	{		var html = '<HTML>\n<HEAD>\n'; 		if (document.getElementsByTagName != null)		{			var headTags = document.getElementsByTagName("head"); 		}		html += '\n</HE>\n<BODY>\n';		 		var printReadyElem = document.getElementById("printReady");		 		if (printReadyElem != null)		{			html += printReadyElem.innerHTML;		}		else		{			alert("Could not find the printReady function");			return;		}		 		html += '\n</BO>\n</HT>';		 		var printWin = window.open("","printSpecial","width=1,height=1");		printWin.document.open();		printWin.document.write(html);		printWin.document.close();		printWin.print();		printWin.close();	}	else	{		alert("Uw browser staat het niet toe om deze pagina te printen.");	}}function calculate_fields(){	var sum = 0;	if (document.ess.Q1[0].checked){		sum = sum + 5;		a1 = 5;	}	if (document.ess.Q1[1].checked){		sum = sum + 4;		a1 = 4;	}	if (document.ess.Q1[2].checked){		sum = sum + 3;		a1 = 3;	}	if (document.ess.Q1[3].checked){		sum = sum + 2;		a1 = 2;	}			if (document.ess.Q1[4].checked){		sum = sum + 1;		a1 = 1;	}	// option 2	if (document.ess.Q2[0].checked){		sum = sum + 1;		a2 = 1;	}	if (document.ess.Q2[1].checked){		sum = sum + 2;		a2 = 2;	}	if (document.ess.Q2[2].checked){		sum = sum + 3;		a2 = 3;	}	if (document.ess.Q2[3].checked){		sum = sum + 4;		a2 = 4;	}	if (document.ess.Q2[4].checked){		sum = sum + 5;		a2 = 5;	}	if (document.ess.Q2[5].checked){		sum = sum + 0;		a2 = 0;	}	// option 3	if (document.ess.Q3[0].checked){		sum = sum + 1;		a3 = 5;	}	if (document.ess.Q3[1].checked){		sum = sum + 2;		a3 = 4;	}	if (document.ess.Q3[2].checked){		sum = sum + 3;		a3 = 3;	}	if (document.ess.Q3[3].checked){		sum = sum + 4;		a3 = 2;	}	if (document.ess.Q3[4].checked){		sum = sum + 5;		a3 = 1;	}	if (document.ess.Q3[5].checked){		sum = sum + 0;		a3 = 0;	}	// option 4	if (document.ess.Q4[0].checked){		sum = sum + 1;		a4 = 1;	}	if (document.ess.Q4[1].checked){		sum = sum + 2;		a4 = 2;	}	if (document.ess.Q4[2].checked){		sum = sum + 3;		a4 = 3;	}	if (document.ess.Q4[3].checked){		sum = sum + 4;		a4 = 4;	}			if (document.ess.Q4[4].checked){		sum = sum + 5;		a4 = 5;	}	if (document.ess.Q4[5].checked){		sum = sum + 0;		a4 = 0;	}	// option 5	if (document.ess.Q5[0].checked){		sum = sum + 1;		a5 = 1;	}	if (document.ess.Q5[1].checked){		sum = sum + 2;		a5 = 2;	}	if (document.ess.Q5[2].checked){		sum = sum + 3;		a5 = 3;	}	if (document.ess.Q5[3].checked){		sum = sum + 4;		a5 = 4;	}	if (document.ess.Q5[4].checked){		sum = sum + 5;		a5 = 5;	}	if (document.ess.Q5[5].checked){		sum = sum + 0;		a5 = 0;	}				document.ess.score.value = sum;	document.ess.scorevak.value = sum;}
