//Will forward page to appropriate link based on location and service
function navigate(location_box, service_box, server_name){
	var location = document.getElementById(location_box).value;
	var service = document.getElementById(service_box).value;
	var link_to = '';
	
	/////////////////////////
	// LINK DEFINITIONS
	/////////////////////////
	//Europe Links
	var eur_choose 		= 'http://' + server_name + 'commerciaux/global/europe/index.html';
	var eur_accounts 	= 'http://' + server_name + 'commerciaux/global/europe/index.html?sec=accounts';
	var eur_exchange 	= 'http://' + server_name + 'commerciaux/global/europe/index.html?sec=exchange';
	var eur_payments 	= 'http://' + server_name + 'commerciaux/global/europe/index.html?sec=payments';
	var eur_receivables = 'http://' + server_name + 'commerciaux/global/europe/index.html?sec=receivables';
	var eur_management 	= 'http://' + server_name + 'commerciaux/global/europe/index.html?sec=management';
	var eur_funds 		= 'http://' + server_name + 'commerciaux/global/europe/index.html?sec=funds';
	var eur_expenses 	= 'http://' + server_name + 'commerciaux/global/europe/index.html?sec=expenses';
	//US Links
	var us_choose 		= 'http://' + server_name + 'commerciaux/global/us/index.html';
	var us_accounts 	= 'http://' + server_name + 'commerciaux/global/us/index.html?sec=accounts';
	var us_exchange 	= 'http://' + server_name + 'commerciaux/global/us/index.html?sec=exchange';
	var us_payments 	= 'http://' + server_name + 'commerciaux/global/us/index.html?sec=payments';
	var us_receivables  = 'http://' + server_name + 'commerciaux/global/us/index.html?sec=receivables';
	var us_management 	= 'http://' + server_name + 'commerciaux/global/us/index.html?sec=management';
	var us_funds 		= 'http://' + server_name + 'commerciaux/global/us/index.html?sec=funds';
	var us_expenses 	= 'http://' + server_name + 'commerciaux/global/us/index.html?sec=expenses';
	//Asia Links
	var asia_choose 	= 'http://' + server_name + 'commerciaux/global/asia/index.html';
	var asia_accounts 	= 'http://' + server_name + 'commerciaux/global/asia/index.html?sec=accounts';
	var asia_exchange 	= 'http://' + server_name + 'commerciaux/global/asia/index.html?sec=exchange';
	var asia_payments 	= 'http://' + server_name + 'commerciaux/global/asia/index.html?sec=payments';
	var asia_receivables= 'http://' + server_name + 'commerciaux/global/asia/index.html?sec=receivables';
	var asia_management = 'http://' + server_name + 'commerciaux/global/asia/index.html?sec=management';
	var asia_funds 		= 'http://' + server_name + 'commerciaux/global/asia/index.html?sec=funds';
	var asia_expenses 	= 'http://' + server_name + 'commerciaux/global/asia/index.html?sec=expenses';
	//Latin America Links
	var lam_choose 		= 'http://' + server_name + 'commerciaux/global/latin/index.html';
	var lam_accounts 	= 'http://' + server_name + 'commerciaux/global/latin/index.html?sec=accounts';
	var lam_exchange 	= 'http://' + server_name + 'commerciaux/global/latin/index.html?sec=exchange';
	var lam_payments 	= 'http://' + server_name + 'commerciaux/global/latin/index.html?sec=payments';
	var lam_receivables = 'http://' + server_name + 'commerciaux/global/latin/index.html?sec=receivables';
	var lam_management 	= 'http://' + server_name + 'commerciaux/global/latin/index.html?sec=management';
	var lam_funds 		= 'http://' + server_name + 'commerciaux/global/latin/index.html?sec=funds';
	var lam_expenses	= 'http://' + server_name + 'commerciaux/global/latin/index.html?sec=expenses';
	//Other Links
	var oth_choose 		= 'http://' + server_name + 'commerciaux/global/other/index.html';
	var oth_accounts 	= 'http://' + server_name + 'commerciaux/global/other/index.html?sec=accounts';
	var oth_exchange 	= 'http://' + server_name + 'commerciaux/global/other/index.html?sec=exchange';
	var oth_payments 	= 'http://' + server_name + 'commerciaux/global/other/index.html?sec=payments';
	var oth_receivables = 'http://' + server_name + 'commerciaux/global/other/index.html?sec=receivables';
	var oth_management 	= 'http://' + server_name + 'commerciaux/global/other/index.html?sec=management';
	var oth_funds 		= 'http://' + server_name + 'commerciaux/global/other/index.html?sec=funds';
	var oth_expenses 	= 'http://' + server_name + 'commerciaux/global/other/index.html?sec=expenses';
	
	/////////////////////////
	// SET LINKS
	/////////////////////////	
	//Europe
	if (location == "europe") {
		if (service == "choose") 			link_to = eur_choose;
		else if (service == "accounts") 	link_to = eur_accounts;
		else if (service == "exchange")		link_to = eur_exchange;
		else if (service == "payments")		link_to = eur_payments;
		else if (service == "receivables")	link_to = eur_receivables;
		else if (service == "management")	link_to = eur_management;
		else if (service == "funds")		link_to = eur_funds;
		else if (service == "expenses")		link_to = eur_expenses;
	}
	else if (location == "us") {
		if (service == "choose") 			link_to = us_choose;
		else if (service == "accounts") 	link_to = us_accounts;
		else if (service == "exchange")		link_to = us_exchange;
		else if (service == "payments")		link_to = us_payments;
		else if (service == "receivables")	link_to = us_receivables;
		else if (service == "management")	link_to = us_management;
		else if (service == "funds")		link_to = us_funds;
		else if (service == "expenses")		link_to = us_expenses;
	}
	else if (location == "asia") {
		if (service == "choose") 			link_to = asia_choose;
		else if (service == "accounts") 	link_to = asia_accounts;
		else if (service == "exchange")		link_to = asia_exchange;
		else if (service == "payments")		link_to = asia_payments;
		else if (service == "receivables")	link_to = asia_receivables;
		else if (service == "management")	link_to = asia_management;
		else if (service == "funds")		link_to = asia_funds;
		else if (service == "expenses")		link_to = asia_expenses;	
	}
	else if (location == "latin_america") {
		if (service == "choose") 			link_to = lam_choose;
		else if (service == "accounts") 	link_to = lam_accounts;
		else if (service == "exchange")		link_to = lam_exchange;
		else if (service == "payments")		link_to = lam_payments;
		else if (service == "receivables")	link_to = lam_receivables;
		else if (service == "management")	link_to = lam_management;
		else if (service == "funds")		link_to = lam_funds;
		else if (service == "expenses")		link_to = lam_expenses;		
	}
	else if (location == "other") {
		if (service == "choose") 			link_to = oth_choose;
		else if (service == "accounts") 	link_to = oth_accounts;
		else if (service == "exchange")		link_to = oth_exchange;
		else if (service == "payments")		link_to = oth_payments;
		else if (service == "receivables")	link_to = oth_receivables;
		else if (service == "management")	link_to = oth_management;
		else if (service == "funds")		link_to = oth_funds;
		else if (service == "expenses")		link_to = oth_expenses;		
	}	
	
	/////////////////////////
	// GO TO LINK
	/////////////////////////	
	if (link_to != '') document.location.href = link_to;
	else return void(0);
}