function countryLink()
{
	// The countryLink function determines what country is selected.  Using that along with a global language variable it changes the link to register to the software so that country and language settings will be pre-populated on the registration page.

	// Declaration of variables.  This determines the country that is currently selected, and creates the link.
	// ** DON'T FORGET TO RENAME THE T VARIABLE AND THE TESTBUTTON ID **
	var w = document.countrySelector.countrySelection.selectedIndex;
	var t = document.getElementById('registerButton');
	var selected_text = document.countrySelector.countrySelection.options[w].value

	register = ("https://www.planpluswebadvisor.com/wa/content/register.jsp?lang=" + lang + "&country=" + selected_text + "&branch=PLANIT");
	t.href=register;
}

