// JavaScript Document


	var txtCurrentRep = "";

	function changeCountry() {
		//alert(txtCurrentRep);
		var cboFindCountry = document.findRep.find_country;
		var txtSelectedCountry = cboFindCountry.options[cboFindCountry.selectedIndex].value;
		
		switch(txtSelectedCountry) {
		
			case "United States":
				Effect.BlindDown('FindState');
				Effect.BlindUp('FindProvince');
				hideRep(txtCurrentRep);
				txtCurrentRep = "";
				break;
			case "Canada":
				Effect.BlindDown('FindProvince');
				Effect.BlindUp('FindState');
				hideRep(txtCurrentRep);
				txtCurrentRep = "";
				break;
			case "Mexico":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Belize":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Costa Rica":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "El Salvador":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
				
			case "Guatemala":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Honduras":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Nicaragua":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Panama":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;

			case "Argentina":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;

			case "Bolivia":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
				
			case "Brazil":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Chile":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Colombia":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Ecuador":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Guyana":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Paraguay":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;

			case "Peru":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Suriname":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Uruguay":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Venezuela":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
				
			case "Aruba":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;

			case "Cuba":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Dominican Republic":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;

			case "French Guiana":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
				
			case "Guadeloupe":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Haiti":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Martinique":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
				
			case "Netherlands Antilles":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Nicaragua":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Saint Martin":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;
			case "Saint Pierre and Miquelon":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_Mario');
				break;

			case "":
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				hideRep(txtCurrentRep);
				txtCurrentRep = "";
				break;
			default:
				Effect.BlindUp('FindProvince');
				Effect.BlindUp('FindState');
				showRep('REP_International');
				break;
		}
	}
	
	
	function changeState() {
		var cboFindState = document.findRep.find_state;
		var txtSelectedState = cboFindState.options[cboFindState.selectedIndex].value;
		
		//Anis Somani (West Coast and Canada to Manitoba)
//Ramsey Hemaidan (Navada, Utah, Colo, N. Mex, Arizona)
//Mike Larsen (Texas, Okla, Ark,LA)
//Alan Scates (Miss, ALA, GA, FL)
//Dave Caughlin (ID, MT, WY, ND, SD Nebr, Kansas, MO, IO, Minn, Wis IL, InD, Ohio, Mich)
//Bill Jappy ( The rest of Canada, PA, half of NY state)
//Jim Longworth (DE and North eastern US, the other half of NY state)
//Cliff Jones (KY, Tenn, SC, NC, VA, WV, DC and MD)
//Mario Hasbum (Mexico, Latin America)
//Dave Roy (Internatanl)

		switch(txtSelectedState) {
			case "AL":
				showRep("REP_MyronShenkiryk");
				break;

			case "AK":
				showRep("REP_StewartDay");
				break;
			case "AR":
				showRep("REP_DavidKurtz");
				break;
				
			case "AZ":
				showRep("REP_Bethany");
				break;

			case "CA":
				showRep("REP_Bethany");
				break;
			case "CO":
				showRep("REP_Bethany");
				break;
	

			case "DE":
				showRep("REP_JeffRice");
				break;

			case "FL":
				showRep("REP_MyronShenkiryk");
				break;
			case "IA":
				showRep("REP_MikeLivermore");
				break;
				
			case "ID":
				showRep("REP_Bethany");
				break;
			case "IL":
				showRep("REP_MikeLivermore");
				break;
				
			case "IN":
				showRep("REP_MikeLivermore");
				break;
			case "KN":
				showRep("REP_MikeLivermore");
				break;
			case "KY":
				showRep("REP_MyronShenkiryk");
				break;

			case "GA":
				showRep("REP_MyronShenkiryk");
				break;
			case "KS":
				showRep("REP_DavidKurtz");
				break;
				
			case "LA":
				showRep("REP_DavidKurtz");
				break;
			

			case "MI":
				showRep("REP_MikeLivermore");
				break;
				
			case "MN":
				showRep("REP_MikeLivermore");
				break;
				
			
			case "MO":
				showRep("REP_DavidKurtz");
				break;
			case "MS":
				showRep("REP_DavidKurtz");
				break;
				
			case "MT":
				showRep("REP_Bethany");
				break;
		
			case "ND":
				showRep("REP_MikeLivermore");
				break;
			case "NE":
				showRep("REP_DavidKurtz");
				break;
				
			case "NM":
				showRep("REP_DavidKurtz");
				break;

			case "NY":
				showRep("REP_JeffRice");
				break;
			case "NV":
				showRep("REP_Bethany");
				break;
			case "OK":
				showRep("REP_DavidKurtz");
				break;

			case "OH":
				showRep("REP_MikeLivermore");
				break;
				
			case "OR":
				showRep("REP_Bethany");
				break;
			case "PA":
				showRep("REP_JeffRice");
				break;

		
				
			case "SD":
				showRep("REP_MikeLivermore");
				break;
			case "TN":
				showRep("REP_MyronShenkiryk");
				break;
				
			case "TX":
				showRep("REP_DavidKurtz");
				break;
				
			case "UT":
				showRep("REP_Bethany");
				break;
			case "WA":
				showRep("REP_Bethany");
				break;
			case "WI":
				showRep("REP_MikeLivermore");
				break;
			case "WV":
				showRep("REP_MyronShenkiryk");
				break;

			case "WY":
				showRep("REP_Bethany");
				break;

		

			default:
				showRep("REP_JeffRice");
				break;
		}
		
	}
	
		function changeProvince() {
		var cboFindProvince = document.findRep.find_province;
		var txtSelectedProvince = cboFindProvince.options[cboFindProvince.selectedIndex].value;
		
		//Anis Somani (West Coast and Canada to Manitoba)
		//Bill Jappy ( The rest of Canada, PA, half of NY state)

		switch(txtSelectedProvince) {
			case "BC":
				showRep("REP_StewartDay");
				break;
			case "AB":
				showRep("REP_StewartDay");
				break;
			case "SK":
				showRep("REP_StewartDay");
				break;
			case "MB":
				showRep("REP_StewartDay");
				break;
			case "NT":
				showRep("REP_StewartDay");
				break;
			case "YT":
				showRep("REP_StewartDay");
				break;

			default:
				showRep("REP_StewartDay");
				break;
		}
		
	}

	function hideRep(txtRep) {
		if(txtRep != "") {
			//alert("Hiding : " + txtRep);
			Effect.BlindUp(txtRep);
		}
	}
	
	function showRep(txtRep) {
		if(txtRep != txtCurrentRep) {
			hideRep(txtCurrentRep);
			txtCurrentRep = txtRep;
			Effect.BlindDown(txtCurrentRep);
		}
	}


