use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("<script>\n	var jvmTaxes = new Array();\n	\n	function displayTaxInfo()\n	{\n		var selState = document.getElementById(\'SelBillingState\');\n		var selCountry = document.getElementById(\'SelBillingCountry\');\n		var key = selCountry.options[selCountry.selectedIndex].value + \'-\' + selState.options[selState.selectedIndex].value;\n			document.getElementById(\'DivTaxBlock\').style.display = \'none\';\n		document.getElementById(\'DivTaxInfo\').innerHTML = \"\";\n		\n		for (var cs in jvmTaxes)\n		{\n			if (key.indexOf(cs) == 0)\n			{\n				document.getElementById(\'DivTaxBlock\').style.display = \'\';\n				document.getElementById(\'DivTaxInfo\').innerHTML = jvmTaxes[cs][1] == \'1\'\n					? jvmTaxes[cs][0] + \"\% TAX included\"\n					: jvmTaxes[cs][0] + \"\% TAX will be added\";\n				break;\n			}\n		}\n	}\n</script>\n");}