
		var browserName = navigator.appName;
		var browserVer = parseInt(navigator.appVersion);
		var version = "";
		var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
		if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror" || browserName=="Opera") {version = "n3";} else {version = "n2";}
			// Blurring links:
		function blurLink(theObject)	{	//
			if (msie4)	{theObject.blur();}
		}
		function calc(diameter, angle){
			var PI = Math.PI;
			var alpha = 90 - angle;
			var sinalpha = Math.sin(alpha*PI/180);
			var cosalpha = Math.cos(alpha*PI/180);
			var a = diameter / 2;
			var r = a / cosalpha;
			var h = r-(r*sinalpha);
			document.getElementById('droplet_height').value = Math.round(h);
			if (angle<90){
				var cubic_nm = roundIt(((PI/3)*((a*a*a)/(cosalpha*cosalpha*cosalpha))*(2-(3*sinalpha)+(sinalpha*sinalpha*sinalpha))));

			}else{
				var cubic_nm = roundIt(((4*PI/3)*(r*r*r)-((PI/3)*((r*r*r)*(2-(3*sinalpha)+(sinalpha*sinalpha*sinalpha))))));
			}
			document.getElementById('volume_cnm').value = roundIt(cubic_nm);
			document.getElementById('volume_fl').value = roundIt(cubic_nm/1000000000);
			document.getElementById('volume_att').value = roundIt(cubic_nm/1000000);
			document.getElementById('volume_zep').value = roundIt(cubic_nm/1000);
			return true;
		}


		function roundIt(number){
			var result=Math.round(number*100)/100;
			return result;
		}
	