function _initGLCountry()
{

	var ctryLabel		= document.createElement('label');
	ctryLabel.htmlFor	= 'countrycode';
	ctryLabel.innerHTML	= countryText + ':';

	var countryDD 		= document.createElement('select');
	countryDD.name 		= 'countrycode';
	countryDD.id 		= 'countrycode';
	countryDD.onchange	= _handleGLCountrySelection;

	var xmlHttp = getXmlHttpRequest();

	var url = ctrlUrl + 'ajax/all-countries/';

	xmlHttp.open("GET", url, true);

	xmlHttp.onreadystatechange = function()
	{
		if(xmlHttp.readyState < 4){
//
//			document.write(xmlHttp.responseXML + '<br />');
			countryDD.innerHTML = '';
			var countryDDOpt = document.createElement('option');
			countryDDOpt.value = -1;
			var loadingMsg = loadingText;
			for(i=0;i < xmlHttp.readyState; i++){
				loadingMsg = loadingMsg + '.';
			}
			countryDDOpt.innerHTML = loadingMsg;
			countryDDOpt.selected = true;
			countryDD.appendChild(countryDDOpt);

		} else if (xmlHttp.readyState == 4){

			if (xmlHttp.status == 200){
				countryDD.innerHTML = '';
				// Fetch the response tag
				var rspXML = xmlHttp.responseXML;

				// Add the --SELECT-- option in
				var countryDDOpt = document.createElement('option');
				countryDDOpt.value = -1;
				countryDDOpt.innerHTML = pleaseSelectText;
				countryDDOpt.selected = true;
				countryDD.appendChild(countryDDOpt);

				// Now add the newly found options
				var countryElement = rspXML.getElementsByTagName('countryElement');
				for(var i = 0, j = countryElement.length; i < j; i++){
					var countrycode = nodeValue(countryElement[i].getElementsByTagName('countrycode')[0]);
					if('ZZ' != countrycode && 'IL' != countrycode){
						var countryName		= nodeValue(countryElement[i].getElementsByTagName('country')[0]);
						var countryDDOpt 	= document.createElement('option');
						countryDDOpt.value = countrycode;
						countryDDOpt.id = countrycode;
						if (countryName != 'USA'){
							//countryDDOpt.innerHTML = toTitleCase(countryName);
							countryDDOpt.innerHTML = countryName;
						}else{
							countryDDOpt.innerHTML = countryName;
						}
						countryDD.appendChild(countryDDOpt);
					}
				}

				// REQUEST PARAMS CODE
				// 'Select' the country
				if ( (-2 != glRequestParams['countrycode']) && ('all' != glRequestParams['countrycode']) ){
					if (document.getElementById(glRequestParams['countrycode'])){
						try{
							document.getElementById(glRequestParams['countrycode']).selected = true;
						}catch(e){
							// swallow for IE6
						};
						_handleGLCountrySelection();
					}
				}

			}else{
				// Non 200 HTTP status
				alert(errorLoadingCountryText);
			}
		}
	}

	xmlHttp.send(null);

	// Add the elements
	var tmpElement = ajaxFormDiv.appendChild(countryDD);

	ajaxForm.appendChild(ctryLabel);
	ajaxForm.appendChild(tmpElement);

	// Append the master form to the surrounding div
	ajaxDiv.appendChild(ajaxForm);

}
