// JavaScript Document
function SearchRegion(vID,vName)
{
	if (vID != "xx")
		{
			if (vID.substr(0,1) == "-") //this means it is a country
			{
				location.href="Results.asp?name=" + vName + "&PageNum=1&Country=" + vID.substr(1,1) + "&Region=" + vID
				}
				else
				{
				location.href="Results.asp?name=" + vName + "&PageNum=1&Region=" + vID
				}	
			}
	}
	
	// JavaScript Document
function SearchAgentRegion(vID,vCountryID,vName)
{
	if (vCountryID != "xx")
		{
			if (vCountryID.substr(0,1) == "-") //this means it is a country
			{
				location.href="AgentHome.asp?ID=" + vID + "&name=" + vName + "&PageNum=1&Country=" + vCountryID.substr(1,1) + "&Region=" + vCountryID
				}
				else
				{
				location.href="AgentHome.asp?ID=" + vID + "&name=" + vName + "&PageNum=1&Region=" + vCountryID
				}	
			}
	}