


	

//********************************************************************************
// BEGIN LOCALIZATION
//--------------------------------------------------------------------------------
var bInDesktop			= false;
var sDelimiter			= '|';
var sSubDelimiter		= ';';
var sFormError			= 'The form is in error.  Errors are highlighted in yellow.';
var sFormHiddenError	= 'A field on an undisplayed part of the form is invalid.  Please enter a new value and try again.';
var sFormUnsavedChanges	= 'You have made changes that have not been saved. Is it OK to lose these changes?';
var sConfirmLogout		= 'Logging out.  Confirm or cancel.';
var sConfirmDelete		= 'This record will be PERMANENTLY deleted.  Are you sure you want to do this?';
var sDeleteRowWarning	= 'First select a record to delete.';
var sMultiSelect		= 'Use Ctrl-click to (un)select multiple items.';
var MonthNames			= 'January' + sDelimiter +
						  'February' + sDelimiter +
						  'March' + sDelimiter +
						  'April' + sDelimiter +
						  'May' + sDelimiter +
						  'June' + sDelimiter +
						  'July' + sDelimiter +
						  'August' + sDelimiter +
						  'September' + sDelimiter +
						  'October' + sDelimiter +
						  'November' + sDelimiter +
						  'December' + sDelimiter;
var MonthAbbreviations	= 'Jan' + sDelimiter +
						  'Feb' + sDelimiter +
						  'Mar' + sDelimiter +
						  'Apr' + sDelimiter +
						  'May' + sDelimiter +
						  'Jun' + sDelimiter +
						  'Jul' + sDelimiter +
						  'Aug' + sDelimiter +
						  'Sep' + sDelimiter +
						  'Oct' + sDelimiter +
						  'Nov' + sDelimiter +
						  'Dec' + sDelimiter;
var DayNames			= 'Sunday' + sDelimiter +
						  'Monday' + sDelimiter +
						  'Tuesday' + sDelimiter +
						  'Wednesday' + sDelimiter +
						  'Thursday' + sDelimiter +
						  'Friday' + sDelimiter +
						  'Saturday' + sDelimiter;
var AmPmMarkers			= 'AM' + sDelimiter + 
						  'PM' + sDelimiter;
var MaxFloatDecimal		= 3;
var MinFloatDecimal		= 2;
var MaxCurrencyDecimal	= 2;
var MinCurrencyDecimal	= 2;
var DecimalSeparator	= '.';
var GroupSeparator		= ',';
var MinusSign			= '-';
var TimePattern			= 'h:mm ap';
var SimpleTimePattern	= 'h:mm aaa';
var DatePattern			= 'M/d/yyyy';
var FirstDayOfWeek		= '0';
var CurrencySymbol		= '$';
var DurationMode		= 0;	// 0 = 9.99; 1 = hh:mm
var TimeSeparator		= ':';
var sSessionID			= 'D6B5F4F73FFA5ECF60F516877CDD7930';
//--------------------------------------------------------------------------------
var sStartLabel			= 'Start';
var sStopLabel			= 'Stop';
var sHoursLabel			= 'Hours';
var sTaxCodeLabel		= 'Tax Code';
var sNoneLabel			= '- none -';
//--------------------------------------------------------------------------------
var lenJXPInvoiceItem_ItemCode	= 255;
var lenJXPInvoiceItem_ItemName	= 255;
//--------------------------------------------------------------------------------
if (!document.getBoxObjectFor) {
	document.getBoxObjectFor = function(el) { 
		var pos = {};
		pos.x = el.offsetLeft;
		pos.y = el.offsetTop;
		parent = el.offsetParent;
		if (parent != el) {
			while (parent) {
				pos.x += parent.offsetLeft;
				pos.y += parent.offsetTop;
				parent = parent.offsetParent;
			}
		}
		parent = el.offsetParent;
		while (parent && parent != document.body) {
			pos.x -= parent.scrollLeft;                    
			if (parent.tagName != 'TR') {
				pos.y -= parent.scrollTop;
			}
			parent = parent.offsetParent;
		}
		return pos;
	};          
} 
//--------------------------------------------------------------------------------
function getApprovalListOptions(lID) {
	var sApprovalListOptions = '';

	return sApprovalListOptions;
}
//--------------------------------------------------------------------------------
function getDepartmentOptions(lID) {
	var sDepartmentOptions = '';

	return sDepartmentOptions;
}
//--------------------------------------------------------------------------------
function getApproverOptions(zUsers) {
	var sApproverOptions = '';
	var bSelected = false;

	return sApproverOptions;
}
//--------------------------------------------------------------------------------
function getBillableProjectOptions(zProjects) {
	var sBillableProjectOptions = '';

	return sBillableProjectOptions;
}
//--------------------------------------------------------------------------------
function getBillableClientOptions(zClients) {
	var sBillableClientOptions = '';

	return sBillableClientOptions;
}
//--------------------------------------------------------------------------------
function getDayOfWeekOptions(iDayOfWeek) {
	var sDayOfWeekOptions = '';

	sDayOfWeekOptions += '<OPTION value="1" ' + (iDayOfWeek == 1 ? ' selected ' : '') + '>Sunday';

	sDayOfWeekOptions += '<OPTION value="2" ' + (iDayOfWeek == 2 ? ' selected ' : '') + '>Monday';

	sDayOfWeekOptions += '<OPTION value="3" ' + (iDayOfWeek == 3 ? ' selected ' : '') + '>Tuesday';

	sDayOfWeekOptions += '<OPTION value="4" ' + (iDayOfWeek == 4 ? ' selected ' : '') + '>Wednesday';

	sDayOfWeekOptions += '<OPTION value="5" ' + (iDayOfWeek == 5 ? ' selected ' : '') + '>Thursday';

	sDayOfWeekOptions += '<OPTION value="6" ' + (iDayOfWeek == 6 ? ' selected ' : '') + '>Friday';

	sDayOfWeekOptions += '<OPTION value="7" ' + (iDayOfWeek == 7 ? ' selected ' : '') + '>Saturday';

	return sDayOfWeekOptions;
}
//--------------------------------------------------------------------------------
function getShiftGenderOptions(iGender) {
	var sShiftGenderOptions = '';

	sShiftGenderOptions += 	'<OPTION value="0" ' + (iGender == 0 ? ' selected ' : '') + '>not required';

	sShiftGenderOptions += 	'<OPTION value="1" ' + (iGender == 1 ? ' selected ' : '') + '>Male';

	sShiftGenderOptions += 	'<OPTION value="2" ' + (iGender == 2 ? ' selected ' : '') + '>Female';

	return sShiftGenderOptions;
}
//--------------------------------------------------------------------------------
function getWeekHoursCalcOptions(iWeekHoursCalc) {
	var sWeekHoursCalcOptions = '';

	sWeekHoursCalcOptions += 	'<OPTION value="0" ' + (iWeekHoursCalc == 0 ? ' selected ' : '') + '>Include in Week when Shift/Time Slip starts';

	sWeekHoursCalcOptions += 	'<OPTION value="1" ' + (iWeekHoursCalc == 1 ? ' selected ' : '') + '>Include in Week when Hours occur';

	return sWeekHoursCalcOptions;
}
//--------------------------------------------------------------------------------
function getShiftLanguageOptions(iLanguage) {
	var sShiftLanguageOptions = '';

	sShiftLanguageOptions += '<OPTION value="0" ' + (iLanguage == 0 ? ' selected ' : '') + '>not required';

	sShiftLanguageOptions += '<OPTION value="1" ' + (iLanguage == 1 ? ' selected ' : '') + '>English';

	sShiftLanguageOptions += '<OPTION value="2" ' + (iLanguage == 2 ? ' selected ' : '') + '>French';

	sShiftLanguageOptions += '<OPTION value="3" ' + (iLanguage == 3 ? ' selected ' : '') + '>Bilingual';

	return sShiftLanguageOptions;
}
//--------------------------------------------------------------------------------
function getAccrualTypeOptions(iType) {
	var sAccrualTypeOptions = '';

	sAccrualTypeOptions += '<OPTION value="0" ' + (iType == 0 ? ' selected ' : '') + '>Not Accrued';

	sAccrualTypeOptions += '<OPTION value="1" ' + (iType == 1 ? ' selected ' : '') + '>Daily';

	sAccrualTypeOptions += '<OPTION value="2" ' + (iType == 2 ? ' selected ' : '') + '>Weekly';

	sAccrualTypeOptions += '<OPTION value="3" ' + (iType == 3 ? ' selected ' : '') + '>Monthly';

	sAccrualTypeOptions += '<OPTION value="4" ' + (iType == 4 ? ' selected ' : '') + '>Quarterly';

	return sAccrualTypeOptions;
}
//--------------------------------------------------------------------------------
function getProjectStatusOptions(iStatus) {
	var sProjectStatusOptions = '';

	return sProjectStatusOptions;
}
//--------------------------------------------------------------------------------
function getEmployeeStatusOptions(iStatus) {
	var sEmployeeStatusOptions = '';

	sEmployeeStatusOptions += '<OPTION value="0" ' + (iStatus == 0 ? ' selected ' : '') + '>Active';

	sEmployeeStatusOptions += '<OPTION value="1" ' + (iStatus == 1 ? ' selected ' : '') + '>On Leave';

	sEmployeeStatusOptions += '<OPTION value="2" ' + (iStatus == 2 ? ' selected ' : '') + '>Terminated';

	sEmployeeStatusOptions += '<OPTION value="3" ' + (iStatus == 3 ? ' selected ' : '') + '>Contract';

	sEmployeeStatusOptions += '<OPTION value="4" ' + (iStatus == 4 ? ' selected ' : '') + '>Retired';

	return sEmployeeStatusOptions;
}
//--------------------------------------------------------------------------------
function getSeniorityTypeOptions(iType) {
	var sSeniorityTypeOptions = '';

	sSeniorityTypeOptions += '<OPTION value="0" ' + (iType == 0 ? ' selected ' : '') + '>Not Used';

	sSeniorityTypeOptions += '<OPTION value="1" ' + (iType == 1 ? ' selected ' : '') + '>Years of Service';

	sSeniorityTypeOptions += '<OPTION value="2" ' + (iType == 2 ? ' selected ' : '') + '>Hours Worked';

	sSeniorityTypeOptions += '<OPTION value="3" ' + (iType == 3 ? ' selected ' : '') + '>Hours Scheduled';

	sSeniorityTypeOptions += '<OPTION value="4" ' + (iType == 4 ? ' selected ' : '') + '>Base Accumulated Hours';

	sSeniorityTypeOptions += '<OPTION value="5" ' + (iType == 5 ? ' selected ' : '') + '>Capped Hours Worked';

	sSeniorityTypeOptions += '<OPTION value="6" ' + (iType == 6 ? ' selected ' : '') + '>Capped Hours Scheduled';

	return sSeniorityTypeOptions;
}
//--------------------------------------------------------------------------------
function getChangeFieldOptions(iChangeField) {
	var sChangeFieldOptions = '';

	sChangeFieldOptions += '<OPTION value="0" ' + (iChangeField == 0 ? ' selected ' : '') + '>Allow Logon';

	sChangeFieldOptions += '<OPTION value="1" ' + (iChangeField == 1 ? ' selected ' : '') + '>Security Role';

	sChangeFieldOptions += '<OPTION value="2" ' + (iChangeField == 2 ? ' selected ' : '') + '>Employee Type';

	sChangeFieldOptions += '<OPTION value="3" ' + (iChangeField == 3 ? ' selected ' : '') + '>Position';

	sChangeFieldOptions += '<OPTION value="4" ' + (iChangeField == 4 ? ' selected ' : '') + '>Department';

	sChangeFieldOptions += '<OPTION value="5" ' + (iChangeField == 5 ? ' selected ' : '') + '>Status';

	return sChangeFieldOptions;
}
//--------------------------------------------------------------------------------
function getTimeSlipStatusOptions(iStatus) {
	var sTimeSlipStatusOptions = '';

	sTimeSlipStatusOptions += '<OPTION class=TimeSlipStatus0 value="0" ' + (iStatus == 0 ? ' selected ' : '') + '>Active';

	sTimeSlipStatusOptions += '<OPTION class=TimeSlipStatus1 value="1" ' + (iStatus == 1 ? ' selected ' : '') + '>Complete';

	sTimeSlipStatusOptions += '<OPTION class=TimeSlipStatus2 value="2" ' + (iStatus == 2 ? ' selected ' : '') + '>Approved';

	sTimeSlipStatusOptions += '<OPTION class=TimeSlipStatus3 value="3" ' + (iStatus == 3 ? ' selected ' : '') + '>Billed';

	sTimeSlipStatusOptions += '<OPTION class=TimeSlipStatus4 value="4" ' + (iStatus == 4 ? ' selected ' : '') + '>Paused';

	sTimeSlipStatusOptions += '<OPTION class=TimeSlipStatus5 value="5" ' + (iStatus == 5 ? ' selected ' : '') + '>Scheduled';

	return sTimeSlipStatusOptions;
}
//--------------------------------------------------------------------------------
function getExpenseStatusOptions(iStatus) {
	var sExpenseStatusOptions = '';

	sExpenseStatusOptions += '<OPTION value="0" ' + (iStatus == 0 ? ' selected ' : '') + '>Open';

	sExpenseStatusOptions += '<OPTION value="1" ' + (iStatus == 1 ? ' selected ' : '') + '>Approved';

	sExpenseStatusOptions += '<OPTION value="2" ' + (iStatus == 2 ? ' selected ' : '') + '>Billed';

	return sExpenseStatusOptions;
}
//--------------------------------------------------------------------------------
function getExpenseTypeOptions(lOID) {
	var sExpenseTypeOptions = '';

	return sExpenseTypeOptions;
}
//--------------------------------------------------------------------------------
function getPaymentTypeOptions(lOID) {
	var sPaymentTypeOptions = '';

	return sPaymentTypeOptions;
}
//--------------------------------------------------------------------------------
function getGenderOptions(iGender) {
	var sGenderOptions = '';

	sGenderOptions += '<OPTION value="0" ' + (iGender == 0 ? ' selected ' : '') + '>Male';

	sGenderOptions += '<OPTION value="1" ' + (iGender == 1 ? ' selected ' : '') + '>Female';

	return sGenderOptions;
}
//--------------------------------------------------------------------------------
function getBalanceSheetTypeOptions(iType) {
	var sBalanceSheetTypeOptions = '';

	sBalanceSheetTypeOptions += '<OPTION value="0" ' + (iType == 0 ? ' selected ' : '') + '>Asset';

	sBalanceSheetTypeOptions += '<OPTION value="1" ' + (iType == 1 ? ' selected ' : '') + '>Liability';

	sBalanceSheetTypeOptions += '<OPTION value="2" ' + (iType == 2 ? ' selected ' : '') + '>Equity';

	sBalanceSheetTypeOptions += '<OPTION value="3" ' + (iType == 3 ? ' selected ' : '') + '>Expense';

	sBalanceSheetTypeOptions += '<OPTION value="4" ' + (iType == 4 ? ' selected ' : '') + '>Income';

	return sBalanceSheetTypeOptions;
}
//--------------------------------------------------------------------------------
function getLanguageOptions(iLanguage) {
	var sLanguageOptions = '';

	sLanguageOptions += '<OPTION value="0" ' + (iLanguage == 0 ? ' selected ' : '') + '>English';

	sLanguageOptions += '<OPTION value="1" ' + (iLanguage == 1 ? ' selected ' : '') + '>French';

	sLanguageOptions += '<OPTION value="2" ' + (iLanguage == 2 ? ' selected ' : '') + '>Bilingual';

	return sLanguageOptions;
}
//--------------------------------------------------------------------------------
function getCountryOptions(sCountry) {
	var sCountryOptions = '';

	sCountryOptions += '<OPTION value="AF" ' + (sCountry == 'AF' ? ' selected ' : '') + '>AFGHANISTAN';

	sCountryOptions += '<OPTION value="AL" ' + (sCountry == 'AL' ? ' selected ' : '') + '>ALBANIA';

	sCountryOptions += '<OPTION value="DZ" ' + (sCountry == 'DZ' ? ' selected ' : '') + '>ALGERIA';

	sCountryOptions += '<OPTION value="AS" ' + (sCountry == 'AS' ? ' selected ' : '') + '>AMERICAN SAMOA';

	sCountryOptions += '<OPTION value="AD" ' + (sCountry == 'AD' ? ' selected ' : '') + '>ANDORRA';

	sCountryOptions += '<OPTION value="AO" ' + (sCountry == 'AO' ? ' selected ' : '') + '>ANGOLA';

	sCountryOptions += '<OPTION value="AI" ' + (sCountry == 'AI' ? ' selected ' : '') + '>ANGUILLA';

	sCountryOptions += '<OPTION value="AQ" ' + (sCountry == 'AQ' ? ' selected ' : '') + '>ANTARCTICA';

	sCountryOptions += '<OPTION value="AG" ' + (sCountry == 'AG' ? ' selected ' : '') + '>ANTIGUA AND BARBUDA';

	sCountryOptions += '<OPTION value="AR" ' + (sCountry == 'AR' ? ' selected ' : '') + '>ARGENTINA';

	sCountryOptions += '<OPTION value="AM" ' + (sCountry == 'AM' ? ' selected ' : '') + '>ARMENIA';

	sCountryOptions += '<OPTION value="AW" ' + (sCountry == 'AW' ? ' selected ' : '') + '>ARUBA';

	sCountryOptions += '<OPTION value="AU" ' + (sCountry == 'AU' ? ' selected ' : '') + '>AUSTRALIA';

	sCountryOptions += '<OPTION value="AT" ' + (sCountry == 'AT' ? ' selected ' : '') + '>AUSTRIA';

	sCountryOptions += '<OPTION value="AZ" ' + (sCountry == 'AZ' ? ' selected ' : '') + '>AZERBAIJAN';

	sCountryOptions += '<OPTION value="BS" ' + (sCountry == 'BS' ? ' selected ' : '') + '>BAHAMAS';

	sCountryOptions += '<OPTION value="BH" ' + (sCountry == 'BH' ? ' selected ' : '') + '>BAHRAIN';

	sCountryOptions += '<OPTION value="BD" ' + (sCountry == 'BD' ? ' selected ' : '') + '>BANGLADESH';

	sCountryOptions += '<OPTION value="BB" ' + (sCountry == 'BB' ? ' selected ' : '') + '>BARBADOS';

	sCountryOptions += '<OPTION value="BY" ' + (sCountry == 'BY' ? ' selected ' : '') + '>BELARUS';

	sCountryOptions += '<OPTION value="BE" ' + (sCountry == 'BE' ? ' selected ' : '') + '>BELGIUM';

	sCountryOptions += '<OPTION value="BZ" ' + (sCountry == 'BZ' ? ' selected ' : '') + '>BELIZE';

	sCountryOptions += '<OPTION value="BJ" ' + (sCountry == 'BJ' ? ' selected ' : '') + '>BENIN';

	sCountryOptions += '<OPTION value="BM" ' + (sCountry == 'BM' ? ' selected ' : '') + '>BERMUDA';

	sCountryOptions += '<OPTION value="BT" ' + (sCountry == 'BT' ? ' selected ' : '') + '>BHUTAN';

	sCountryOptions += '<OPTION value="BO" ' + (sCountry == 'BO' ? ' selected ' : '') + '>BOLIVIA';

	sCountryOptions += '<OPTION value="BA" ' + (sCountry == 'BA' ? ' selected ' : '') + '>BOSNIA AND HERZEGOWINA';

	sCountryOptions += '<OPTION value="BW" ' + (sCountry == 'BW' ? ' selected ' : '') + '>BOTSWANA';

	sCountryOptions += '<OPTION value="BV" ' + (sCountry == 'BV' ? ' selected ' : '') + '>BOUVET ISLAND';

	sCountryOptions += '<OPTION value="BR" ' + (sCountry == 'BR' ? ' selected ' : '') + '>BRAZIL';

	sCountryOptions += '<OPTION value="IO" ' + (sCountry == 'IO' ? ' selected ' : '') + '>BRITISH INDIAN OCEAN TERRITORY';

	sCountryOptions += '<OPTION value="BN" ' + (sCountry == 'BN' ? ' selected ' : '') + '>BRUNEI DARUSSALAM';

	sCountryOptions += '<OPTION value="BG" ' + (sCountry == 'BG' ? ' selected ' : '') + '>BULGARIA';

	sCountryOptions += '<OPTION value="BF" ' + (sCountry == 'BF' ? ' selected ' : '') + '>BURKINA FASO';

	sCountryOptions += '<OPTION value="BI" ' + (sCountry == 'BI' ? ' selected ' : '') + '>BURUNDI';

	sCountryOptions += '<OPTION value="KH" ' + (sCountry == 'KH' ? ' selected ' : '') + '>CAMBODIA';

	sCountryOptions += '<OPTION value="CM" ' + (sCountry == 'CM' ? ' selected ' : '') + '>CAMEROON';

	sCountryOptions += '<OPTION value="CA" ' + (sCountry == 'CA' ? ' selected ' : '') + '>CANADA';

	sCountryOptions += '<OPTION value="CV" ' + (sCountry == 'CV' ? ' selected ' : '') + '>CAPE VERDE';

	sCountryOptions += '<OPTION value="KY" ' + (sCountry == 'KY' ? ' selected ' : '') + '>CAYMAN ISLANDS';

	sCountryOptions += '<OPTION value="CF" ' + (sCountry == 'CF' ? ' selected ' : '') + '>CENTRAL AFRICAN REPUBLIC';

	sCountryOptions += '<OPTION value="TD" ' + (sCountry == 'TD' ? ' selected ' : '') + '>CHAD';

	sCountryOptions += '<OPTION value="CL" ' + (sCountry == 'CL' ? ' selected ' : '') + '>CHILE';

	sCountryOptions += '<OPTION value="CN" ' + (sCountry == 'CN' ? ' selected ' : '') + '>CHINA';

	sCountryOptions += '<OPTION value="CX" ' + (sCountry == 'CX' ? ' selected ' : '') + '>CHRISTMAS ISLAND';

	sCountryOptions += '<OPTION value="CC" ' + (sCountry == 'CC' ? ' selected ' : '') + '>COCOS (KEELING) ISLANDS';

	sCountryOptions += '<OPTION value="CO" ' + (sCountry == 'CO' ? ' selected ' : '') + '>COLOMBIA';

	sCountryOptions += '<OPTION value="KM" ' + (sCountry == 'KM' ? ' selected ' : '') + '>COMOROS';

	sCountryOptions += '<OPTION value="CD" ' + (sCountry == 'CD' ? ' selected ' : '') + '>CONGO, Democratic Republic of (was Zaire)';

	sCountryOptions += '<OPTION value="CG" ' + (sCountry == 'CG' ? ' selected ' : '') + '>CONGO, People\'s Republic of';

	sCountryOptions += '<OPTION value="CK" ' + (sCountry == 'CK' ? ' selected ' : '') + '>COOK ISLANDS';

	sCountryOptions += '<OPTION value="CR" ' + (sCountry == 'CR' ? ' selected ' : '') + '>COSTA RICA';

	sCountryOptions += '<OPTION value="CI" ' + (sCountry == 'CI' ? ' selected ' : '') + '>COTE D\'IVOIRE';

	sCountryOptions += '<OPTION value="HR" ' + (sCountry == 'HR' ? ' selected ' : '') + '>CROATIA (local name: Hrvatska)';

	sCountryOptions += '<OPTION value="CU" ' + (sCountry == 'CU' ? ' selected ' : '') + '>CUBA';

	sCountryOptions += '<OPTION value="CY" ' + (sCountry == 'CY' ? ' selected ' : '') + '>CYPRUS';

	sCountryOptions += '<OPTION value="CZ" ' + (sCountry == 'CZ' ? ' selected ' : '') + '>CZECH REPUBLIC';

	sCountryOptions += '<OPTION value="DK" ' + (sCountry == 'DK' ? ' selected ' : '') + '>DENMARK';

	sCountryOptions += '<OPTION value="DJ" ' + (sCountry == 'DJ' ? ' selected ' : '') + '>DJIBOUTI';

	sCountryOptions += '<OPTION value="DM" ' + (sCountry == 'DM' ? ' selected ' : '') + '>DOMINICA';

	sCountryOptions += '<OPTION value="DO" ' + (sCountry == 'DO' ? ' selected ' : '') + '>DOMINICAN REPUBLIC';

	sCountryOptions += '<OPTION value="TL" ' + (sCountry == 'TL' ? ' selected ' : '') + '>EAST TIMOR';

	sCountryOptions += '<OPTION value="EC" ' + (sCountry == 'EC' ? ' selected ' : '') + '>ECUADOR';

	sCountryOptions += '<OPTION value="EG" ' + (sCountry == 'EG' ? ' selected ' : '') + '>EGYPT';

	sCountryOptions += '<OPTION value="SV" ' + (sCountry == 'SV' ? ' selected ' : '') + '>EL SALVADOR';

	sCountryOptions += '<OPTION value="GQ" ' + (sCountry == 'GQ' ? ' selected ' : '') + '>EQUATORIAL GUINEA';

	sCountryOptions += '<OPTION value="ER" ' + (sCountry == 'ER' ? ' selected ' : '') + '>ERITREA';

	sCountryOptions += '<OPTION value="EE" ' + (sCountry == 'EE' ? ' selected ' : '') + '>ESTONIA';

	sCountryOptions += '<OPTION value="ET" ' + (sCountry == 'ET' ? ' selected ' : '') + '>ETHIOPIA';

	sCountryOptions += '<OPTION value="FK" ' + (sCountry == 'FK' ? ' selected ' : '') + '>FALKLAND ISLANDS (MALVINAS)';

	sCountryOptions += '<OPTION value="FO" ' + (sCountry == 'FO' ? ' selected ' : '') + '>FAROE ISLANDS';

	sCountryOptions += '<OPTION value="FJ" ' + (sCountry == 'FJ' ? ' selected ' : '') + '>FIJI';

	sCountryOptions += '<OPTION value="FI" ' + (sCountry == 'FI' ? ' selected ' : '') + '>FINLAND';

	sCountryOptions += '<OPTION value="FR" ' + (sCountry == 'FR' ? ' selected ' : '') + '>FRANCE';

	sCountryOptions += '<OPTION value="FX" ' + (sCountry == 'FX' ? ' selected ' : '') + '>FRANCE, METROPOLITAN';

	sCountryOptions += '<OPTION value="GF" ' + (sCountry == 'GF' ? ' selected ' : '') + '>FRENCH GUIANA';

	sCountryOptions += '<OPTION value="PF" ' + (sCountry == 'PF' ? ' selected ' : '') + '>FRENCH POLYNESIA';

	sCountryOptions += '<OPTION value="TF" ' + (sCountry == 'TF' ? ' selected ' : '') + '>FRENCH SOUTHERN TERRITORIES';

	sCountryOptions += '<OPTION value="GA" ' + (sCountry == 'GA' ? ' selected ' : '') + '>GABON';

	sCountryOptions += '<OPTION value="GM" ' + (sCountry == 'GM' ? ' selected ' : '') + '>GAMBIA';

	sCountryOptions += '<OPTION value="GE" ' + (sCountry == 'GE' ? ' selected ' : '') + '>GEORGIA';

	sCountryOptions += '<OPTION value="DE" ' + (sCountry == 'DE' ? ' selected ' : '') + '>GERMANY';

	sCountryOptions += '<OPTION value="GH" ' + (sCountry == 'GH' ? ' selected ' : '') + '>GHANA';

	sCountryOptions += '<OPTION value="GI" ' + (sCountry == 'GI' ? ' selected ' : '') + '>GIBRALTAR';

	sCountryOptions += '<OPTION value="GR" ' + (sCountry == 'GR' ? ' selected ' : '') + '>GREECE';

	sCountryOptions += '<OPTION value="GL" ' + (sCountry == 'GL' ? ' selected ' : '') + '>GREENLAND';

	sCountryOptions += '<OPTION value="GD" ' + (sCountry == 'GD' ? ' selected ' : '') + '>GRENADA';

	sCountryOptions += '<OPTION value="GP" ' + (sCountry == 'GP' ? ' selected ' : '') + '>GUADELOUPE';

	sCountryOptions += '<OPTION value="GU" ' + (sCountry == 'GU' ? ' selected ' : '') + '>GUAM';

	sCountryOptions += '<OPTION value="GT" ' + (sCountry == 'GT' ? ' selected ' : '') + '>GUATEMALA';

	sCountryOptions += '<OPTION value="GN" ' + (sCountry == 'GN' ? ' selected ' : '') + '>GUINEA';

	sCountryOptions += '<OPTION value="GW" ' + (sCountry == 'GW' ? ' selected ' : '') + '>GUINEA-BISSAU';

	sCountryOptions += '<OPTION value="GY" ' + (sCountry == 'GY' ? ' selected ' : '') + '>GUYANA';

	sCountryOptions += '<OPTION value="HT" ' + (sCountry == 'HT' ? ' selected ' : '') + '>HAITI';

	sCountryOptions += '<OPTION value="HM" ' + (sCountry == 'HM' ? ' selected ' : '') + '>HEARD AND MC DONALD ISLANDS';

	sCountryOptions += '<OPTION value="HN" ' + (sCountry == 'HN' ? ' selected ' : '') + '>HONDURAS';

	sCountryOptions += '<OPTION value="HK" ' + (sCountry == 'HK' ? ' selected ' : '') + '>HONG KONG';

	sCountryOptions += '<OPTION value="HU" ' + (sCountry == 'HU' ? ' selected ' : '') + '>HUNGARY';

	sCountryOptions += '<OPTION value="IS" ' + (sCountry == 'IS' ? ' selected ' : '') + '>ICELAND';

	sCountryOptions += '<OPTION value="IN" ' + (sCountry == 'IN' ? ' selected ' : '') + '>INDIA';

	sCountryOptions += '<OPTION value="ID" ' + (sCountry == 'ID' ? ' selected ' : '') + '>INDONESIA';

	sCountryOptions += '<OPTION value="IR" ' + (sCountry == 'IR' ? ' selected ' : '') + '>IRAN (ISLAMIC REPUBLIC OF)';

	sCountryOptions += '<OPTION value="IQ" ' + (sCountry == 'IQ' ? ' selected ' : '') + '>IRAQ';

	sCountryOptions += '<OPTION value="IE" ' + (sCountry == 'IE' ? ' selected ' : '') + '>IRELAND';

	sCountryOptions += '<OPTION value="IL" ' + (sCountry == 'IL' ? ' selected ' : '') + '>ISRAEL';

	sCountryOptions += '<OPTION value="IT" ' + (sCountry == 'IT' ? ' selected ' : '') + '>ITALY';

	sCountryOptions += '<OPTION value="JM" ' + (sCountry == 'JM' ? ' selected ' : '') + '>JAMAICA';

	sCountryOptions += '<OPTION value="JP" ' + (sCountry == 'JP' ? ' selected ' : '') + '>JAPAN';

	sCountryOptions += '<OPTION value="JO" ' + (sCountry == 'JO' ? ' selected ' : '') + '>JORDAN';

	sCountryOptions += '<OPTION value="KZ" ' + (sCountry == 'KZ' ? ' selected ' : '') + '>KAZAKHSTAN';

	sCountryOptions += '<OPTION value="KE" ' + (sCountry == 'KE' ? ' selected ' : '') + '>KENYA';

	sCountryOptions += '<OPTION value="KI" ' + (sCountry == 'KI' ? ' selected ' : '') + '>KIRIBATI';

	sCountryOptions += '<OPTION value="KP" ' + (sCountry == 'KP' ? ' selected ' : '') + '>KOREA, DEMOCRATIC PEOPLE\'S REPUBLIC OF';

	sCountryOptions += '<OPTION value="KR" ' + (sCountry == 'KR' ? ' selected ' : '') + '>KOREA, REPUBLIC OF';

	sCountryOptions += '<OPTION value="KW" ' + (sCountry == 'KW' ? ' selected ' : '') + '>KUWAIT';

	sCountryOptions += '<OPTION value="KG" ' + (sCountry == 'KG' ? ' selected ' : '') + '>KYRGYZSTAN';

	sCountryOptions += '<OPTION value="LA" ' + (sCountry == 'LA' ? ' selected ' : '') + '>LAO PEOPLE\'S DEMOCRATIC REPUBLIC';

	sCountryOptions += '<OPTION value="LV" ' + (sCountry == 'LV' ? ' selected ' : '') + '>LATVIA';

	sCountryOptions += '<OPTION value="LB" ' + (sCountry == 'LB' ? ' selected ' : '') + '>LEBANON';

	sCountryOptions += '<OPTION value="LS" ' + (sCountry == 'LS' ? ' selected ' : '') + '>LESOTHO';

	sCountryOptions += '<OPTION value="LR" ' + (sCountry == 'LR' ? ' selected ' : '') + '>LIBERIA';

	sCountryOptions += '<OPTION value="LY" ' + (sCountry == 'LY' ? ' selected ' : '') + '>LIBYAN ARAB JAMAHIRIYA';

	sCountryOptions += '<OPTION value="LI" ' + (sCountry == 'LI' ? ' selected ' : '') + '>LIECHTENSTEIN';

	sCountryOptions += '<OPTION value="LT" ' + (sCountry == 'LT' ? ' selected ' : '') + '>LITHUANIA';

	sCountryOptions += '<OPTION value="LU" ' + (sCountry == 'LU' ? ' selected ' : '') + '>LUXEMBOURG';

	sCountryOptions += '<OPTION value="MO" ' + (sCountry == 'MO' ? ' selected ' : '') + '>MACAU';

	sCountryOptions += '<OPTION value="MK" ' + (sCountry == 'MK' ? ' selected ' : '') + '>MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF';

	sCountryOptions += '<OPTION value="MG" ' + (sCountry == 'MG' ? ' selected ' : '') + '>MADAGASCAR';

	sCountryOptions += '<OPTION value="MW" ' + (sCountry == 'MW' ? ' selected ' : '') + '>MALAWI';

	sCountryOptions += '<OPTION value="MY" ' + (sCountry == 'MY' ? ' selected ' : '') + '>MALAYSIA';

	sCountryOptions += '<OPTION value="MV" ' + (sCountry == 'MV' ? ' selected ' : '') + '>MALDIVES';

	sCountryOptions += '<OPTION value="ML" ' + (sCountry == 'ML' ? ' selected ' : '') + '>MALI';

	sCountryOptions += '<OPTION value="MT" ' + (sCountry == 'MT' ? ' selected ' : '') + '>MALTA';

	sCountryOptions += '<OPTION value="MH" ' + (sCountry == 'MH' ? ' selected ' : '') + '>MARSHALL ISLANDS';

	sCountryOptions += '<OPTION value="MQ" ' + (sCountry == 'MQ' ? ' selected ' : '') + '>MARTINIQUE';

	sCountryOptions += '<OPTION value="MR" ' + (sCountry == 'MR' ? ' selected ' : '') + '>MAURITANIA';

	sCountryOptions += '<OPTION value="MU" ' + (sCountry == 'MU' ? ' selected ' : '') + '>MAURITIUS';

	sCountryOptions += '<OPTION value="YT" ' + (sCountry == 'YT' ? ' selected ' : '') + '>MAYOTTE';

	sCountryOptions += '<OPTION value="MX" ' + (sCountry == 'MX' ? ' selected ' : '') + '>MEXICO';

	sCountryOptions += '<OPTION value="FM" ' + (sCountry == 'FM' ? ' selected ' : '') + '>MICRONESIA, FEDERATED STATES OF';

	sCountryOptions += '<OPTION value="MD" ' + (sCountry == 'MD' ? ' selected ' : '') + '>MOLDOVA, REPUBLIC OF';

	sCountryOptions += '<OPTION value="MC" ' + (sCountry == 'MC' ? ' selected ' : '') + '>MONACO';

	sCountryOptions += '<OPTION value="MN" ' + (sCountry == 'MN' ? ' selected ' : '') + '>MONGOLIA';

	sCountryOptions += '<OPTION value="MS" ' + (sCountry == 'MS' ? ' selected ' : '') + '>MONTSERRAT';

	sCountryOptions += '<OPTION value="MA" ' + (sCountry == 'MA' ? ' selected ' : '') + '>MOROCCO';

	sCountryOptions += '<OPTION value="MZ" ' + (sCountry == 'MZ' ? ' selected ' : '') + '>MOZAMBIQUE';

	sCountryOptions += '<OPTION value="MM" ' + (sCountry == 'MM' ? ' selected ' : '') + '>MYANMAR';

	sCountryOptions += '<OPTION value="NA" ' + (sCountry == 'NA' ? ' selected ' : '') + '>NAMIBIA';

	sCountryOptions += '<OPTION value="NR" ' + (sCountry == 'NR' ? ' selected ' : '') + '>NAURU';

	sCountryOptions += '<OPTION value="NP" ' + (sCountry == 'NP' ? ' selected ' : '') + '>NEPAL';

	sCountryOptions += '<OPTION value="NL" ' + (sCountry == 'NL' ? ' selected ' : '') + '>NETHERLANDS';

	sCountryOptions += '<OPTION value="AN" ' + (sCountry == 'AN' ? ' selected ' : '') + '>NETHERLANDS ANTILLES';

	sCountryOptions += '<OPTION value="NC" ' + (sCountry == 'NC' ? ' selected ' : '') + '>NEW CALEDONIA';

	sCountryOptions += '<OPTION value="NZ" ' + (sCountry == 'NZ' ? ' selected ' : '') + '>NEW ZEALAND';

	sCountryOptions += '<OPTION value="NI" ' + (sCountry == 'NI' ? ' selected ' : '') + '>NICARAGUA';

	sCountryOptions += '<OPTION value="NE" ' + (sCountry == 'NE' ? ' selected ' : '') + '>NIGER';

	sCountryOptions += '<OPTION value="NG" ' + (sCountry == 'NG' ? ' selected ' : '') + '>NIGERIA';

	sCountryOptions += '<OPTION value="NU" ' + (sCountry == 'NU' ? ' selected ' : '') + '>NIUE';

	sCountryOptions += '<OPTION value="NF" ' + (sCountry == 'NF' ? ' selected ' : '') + '>NORFOLK ISLAND';

	sCountryOptions += '<OPTION value="MP" ' + (sCountry == 'MP' ? ' selected ' : '') + '>NORTHERN MARIANA ISLANDS';

	sCountryOptions += '<OPTION value="NO" ' + (sCountry == 'NO' ? ' selected ' : '') + '>NORWAY';

	sCountryOptions += '<OPTION value="OM" ' + (sCountry == 'OM' ? ' selected ' : '') + '>OMAN';

	sCountryOptions += '<OPTION value="PK" ' + (sCountry == 'PK' ? ' selected ' : '') + '>PAKISTAN';

	sCountryOptions += '<OPTION value="PW" ' + (sCountry == 'PW' ? ' selected ' : '') + '>PALAU';

	sCountryOptions += '<OPTION value="PS" ' + (sCountry == 'PS' ? ' selected ' : '') + '>PALESTINIAN TERRITORY, Occupied';

	sCountryOptions += '<OPTION value="PA" ' + (sCountry == 'PA' ? ' selected ' : '') + '>PANAMA';

	sCountryOptions += '<OPTION value="PG" ' + (sCountry == 'PG' ? ' selected ' : '') + '>PAPUA NEW GUINEA';

	sCountryOptions += '<OPTION value="PY" ' + (sCountry == 'PY' ? ' selected ' : '') + '>PARAGUAY';

	sCountryOptions += '<OPTION value="PE" ' + (sCountry == 'PE' ? ' selected ' : '') + '>PERU';

	sCountryOptions += '<OPTION value="PH" ' + (sCountry == 'PH' ? ' selected ' : '') + '>PHILIPPINES';

	sCountryOptions += '<OPTION value="PN" ' + (sCountry == 'PN' ? ' selected ' : '') + '>PITCAIRN';

	sCountryOptions += '<OPTION value="PL" ' + (sCountry == 'PL' ? ' selected ' : '') + '>POLAND';

	sCountryOptions += '<OPTION value="PT" ' + (sCountry == 'PT' ? ' selected ' : '') + '>PORTUGAL';

	sCountryOptions += '<OPTION value="PR" ' + (sCountry == 'PR' ? ' selected ' : '') + '>PUERTO RICO';

	sCountryOptions += '<OPTION value="QA" ' + (sCountry == 'QA' ? ' selected ' : '') + '>QATAR';

	sCountryOptions += '<OPTION value="RE" ' + (sCountry == 'RE' ? ' selected ' : '') + '>REUNION';

	sCountryOptions += '<OPTION value="RO" ' + (sCountry == 'RO' ? ' selected ' : '') + '>ROMANIA';

	sCountryOptions += '<OPTION value="RU" ' + (sCountry == 'RU' ? ' selected ' : '') + '>RUSSIAN FEDERATION';

	sCountryOptions += '<OPTION value="RW" ' + (sCountry == 'RW' ? ' selected ' : '') + '>RWANDA';

	sCountryOptions += '<OPTION value="KN" ' + (sCountry == 'KN' ? ' selected ' : '') + '>SAINT KITTS AND NEVIS';

	sCountryOptions += '<OPTION value="LC" ' + (sCountry == 'LC' ? ' selected ' : '') + '>SAINT LUCIA';

	sCountryOptions += '<OPTION value="VC" ' + (sCountry == 'VC' ? ' selected ' : '') + '>SAINT VINCENT AND THE GRENADINES';

	sCountryOptions += '<OPTION value="WS" ' + (sCountry == 'WS' ? ' selected ' : '') + '>SAMOA';

	sCountryOptions += '<OPTION value="SM" ' + (sCountry == 'SM' ? ' selected ' : '') + '>SAN MARINO';

	sCountryOptions += '<OPTION value="ST" ' + (sCountry == 'ST' ? ' selected ' : '') + '>SAO TOME AND PRINCIPE';

	sCountryOptions += '<OPTION value="SA" ' + (sCountry == 'SA' ? ' selected ' : '') + '>SAUDI ARABIA';

	sCountryOptions += '<OPTION value="SN" ' + (sCountry == 'SN' ? ' selected ' : '') + '>SENEGAL';

	sCountryOptions += '<OPTION value="SC" ' + (sCountry == 'SC' ? ' selected ' : '') + '>SEYCHELLES';

	sCountryOptions += '<OPTION value="SL" ' + (sCountry == 'SL' ? ' selected ' : '') + '>SIERRA LEONE';

	sCountryOptions += '<OPTION value="SG" ' + (sCountry == 'SG' ? ' selected ' : '') + '>SINGAPORE';

	sCountryOptions += '<OPTION value="SK" ' + (sCountry == 'SK' ? ' selected ' : '') + '>SLOVAKIA (Slovak Republic)';

	sCountryOptions += '<OPTION value="SI" ' + (sCountry == 'SI' ? ' selected ' : '') + '>SLOVENIA';

	sCountryOptions += '<OPTION value="SB" ' + (sCountry == 'SB' ? ' selected ' : '') + '>SOLOMON ISLANDS';

	sCountryOptions += '<OPTION value="SO" ' + (sCountry == 'SO' ? ' selected ' : '') + '>SOMALIA';

	sCountryOptions += '<OPTION value="ZA" ' + (sCountry == 'ZA' ? ' selected ' : '') + '>SOUTH AFRICA';

	sCountryOptions += '<OPTION value="GS" ' + (sCountry == 'GS' ? ' selected ' : '') + '>SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS';

	sCountryOptions += '<OPTION value="ES" ' + (sCountry == 'ES' ? ' selected ' : '') + '>SPAIN';

	sCountryOptions += '<OPTION value="LK" ' + (sCountry == 'LK' ? ' selected ' : '') + '>SRI LANKA';

	sCountryOptions += '<OPTION value="SH" ' + (sCountry == 'SH' ? ' selected ' : '') + '>ST. HELENA';

	sCountryOptions += '<OPTION value="PM" ' + (sCountry == 'PM' ? ' selected ' : '') + '>ST. PIERRE AND MIQUELON';

	sCountryOptions += '<OPTION value="SD" ' + (sCountry == 'SD' ? ' selected ' : '') + '>SUDAN';

	sCountryOptions += '<OPTION value="SR" ' + (sCountry == 'SR' ? ' selected ' : '') + '>SURINAME';

	sCountryOptions += '<OPTION value="SJ" ' + (sCountry == 'SJ' ? ' selected ' : '') + '>SVALBARD AND JAN MAYEN ISLANDS';

	sCountryOptions += '<OPTION value="SZ" ' + (sCountry == 'SZ' ? ' selected ' : '') + '>SWAZILAND';

	sCountryOptions += '<OPTION value="SE" ' + (sCountry == 'SE' ? ' selected ' : '') + '>SWEDEN';

	sCountryOptions += '<OPTION value="CH" ' + (sCountry == 'CH' ? ' selected ' : '') + '>SWITZERLAND';

	sCountryOptions += '<OPTION value="SY" ' + (sCountry == 'SY' ? ' selected ' : '') + '>SYRIAN ARAB REPUBLIC';

	sCountryOptions += '<OPTION value="TW" ' + (sCountry == 'TW' ? ' selected ' : '') + '>TAIWAN';

	sCountryOptions += '<OPTION value="TJ" ' + (sCountry == 'TJ' ? ' selected ' : '') + '>TAJIKISTAN';

	sCountryOptions += '<OPTION value="TZ" ' + (sCountry == 'TZ' ? ' selected ' : '') + '>TANZANIA, UNITED REPUBLIC OF';

	sCountryOptions += '<OPTION value="TH" ' + (sCountry == 'TH' ? ' selected ' : '') + '>THAILAND';

	sCountryOptions += '<OPTION value="TG" ' + (sCountry == 'TG' ? ' selected ' : '') + '>TOGO';

	sCountryOptions += '<OPTION value="TK" ' + (sCountry == 'TK' ? ' selected ' : '') + '>TOKELAU';

	sCountryOptions += '<OPTION value="TO" ' + (sCountry == 'TO' ? ' selected ' : '') + '>TONGA';

	sCountryOptions += '<OPTION value="TT" ' + (sCountry == 'TT' ? ' selected ' : '') + '>TRINIDAD AND TOBAGO';

	sCountryOptions += '<OPTION value="TN" ' + (sCountry == 'TN' ? ' selected ' : '') + '>TUNISIA';

	sCountryOptions += '<OPTION value="TR" ' + (sCountry == 'TR' ? ' selected ' : '') + '>TURKEY';

	sCountryOptions += '<OPTION value="TM" ' + (sCountry == 'TM' ? ' selected ' : '') + '>TURKMENISTAN';

	sCountryOptions += '<OPTION value="TC" ' + (sCountry == 'TC' ? ' selected ' : '') + '>TURKS AND CAICOS ISLANDS';

	sCountryOptions += '<OPTION value="TV" ' + (sCountry == 'TV' ? ' selected ' : '') + '>TUVALU';

	sCountryOptions += '<OPTION value="UG" ' + (sCountry == 'UG' ? ' selected ' : '') + '>UGANDA';

	sCountryOptions += '<OPTION value="UA" ' + (sCountry == 'UA' ? ' selected ' : '') + '>UKRAINE';

	sCountryOptions += '<OPTION value="AE" ' + (sCountry == 'AE' ? ' selected ' : '') + '>UNITED ARAB EMIRATES';

	sCountryOptions += '<OPTION value="GB" ' + (sCountry == 'GB' ? ' selected ' : '') + '>UNITED KINGDOM';

	sCountryOptions += '<OPTION value="US" ' + (sCountry == 'US' ? ' selected ' : '') + '>UNITED STATES';

	sCountryOptions += '<OPTION value="UM" ' + (sCountry == 'UM' ? ' selected ' : '') + '>UNITED STATES MINOR OUTLYING ISLANDS';

	sCountryOptions += '<OPTION value="UY" ' + (sCountry == 'UY' ? ' selected ' : '') + '>URUGUAY';

	sCountryOptions += '<OPTION value="UZ" ' + (sCountry == 'UZ' ? ' selected ' : '') + '>UZBEKISTAN';

	sCountryOptions += '<OPTION value="VU" ' + (sCountry == 'VU' ? ' selected ' : '') + '>VANUATU';

	sCountryOptions += '<OPTION value="VA" ' + (sCountry == 'VA' ? ' selected ' : '') + '>VATICAN CITY STATE (HOLY SEE)';

	sCountryOptions += '<OPTION value="VE" ' + (sCountry == 'VE' ? ' selected ' : '') + '>VENEZUELA';

	sCountryOptions += '<OPTION value="VN" ' + (sCountry == 'VN' ? ' selected ' : '') + '>VIET NAM';

	sCountryOptions += '<OPTION value="VG" ' + (sCountry == 'VG' ? ' selected ' : '') + '>VIRGIN ISLANDS (BRITISH)';

	sCountryOptions += '<OPTION value="VI" ' + (sCountry == 'VI' ? ' selected ' : '') + '>VIRGIN ISLANDS (U.S.)';

	sCountryOptions += '<OPTION value="WF" ' + (sCountry == 'WF' ? ' selected ' : '') + '>WALLIS AND FUTUNA ISLANDS';

	sCountryOptions += '<OPTION value="EH" ' + (sCountry == 'EH' ? ' selected ' : '') + '>WESTERN SAHARA';

	sCountryOptions += '<OPTION value="YE" ' + (sCountry == 'YE' ? ' selected ' : '') + '>YEMEN';

	sCountryOptions += '<OPTION value="YU" ' + (sCountry == 'YU' ? ' selected ' : '') + '>YUGOSLAVIA';

	sCountryOptions += '<OPTION value="ZM" ' + (sCountry == 'ZM' ? ' selected ' : '') + '>ZAMBIA';

	sCountryOptions += '<OPTION value="ZW" ' + (sCountry == 'ZW' ? ' selected ' : '') + '>ZIMBABWE';

	return sCountryOptions;
}
//--------------------------------------------------------------------------------
function getUserTimeOffFromDateTypeOptions(iType) {
	var sUserTimeOffFromDateTypeOptions = '';

	sUserTimeOffFromDateTypeOptions += '<OPTION value="0" ' + (iType == 0 ? ' selected ' : '') + '>January 1st';

	sUserTimeOffFromDateTypeOptions += '<OPTION value="1" ' + (iType == 1 ? ' selected ' : '') + '>Start Date';

	sUserTimeOffFromDateTypeOptions += '<OPTION value="2" ' + (iType == 2 ? ' selected ' : '') + '>Other Date';

	sUserTimeOffFromDateTypeOptions += '<OPTION value="3" ' + (iType == 3 ? ' selected ' : '') + '>Fiscal Date';

	return sUserTimeOffFromDateTypeOptions;
}
//--------------------------------------------------------------------------------
function getInvoiceFormatOptions(iFormat) {
	var sInvoiceFormatOptions = '';

	sInvoiceFormatOptions += 	'<OPTION value="0" ' + (iFormat == 0 ? ' selected ' : '') + '>Simple Invoice';

	sInvoiceFormatOptions += 	'<OPTION value="1" ' + (iFormat == 1 ? ' selected ' : '') + '>Return Payment Invoice';

	sInvoiceFormatOptions += 	'<OPTION value="2" ' + (iFormat == 2 ? ' selected ' : '') + '>Professional Services Invoice';

	sInvoiceFormatOptions += 	'<OPTION value="3" ' + (iFormat == 3 ? ' selected ' : '') + '>Detailed Invoice';

	return sInvoiceFormatOptions;
}
//--------------------------------------------------------------------------------
// END LOCALIZATION
//********************************************************************************

