	// JavaScript Document
	

	function newTalentList(selectedPage) {
	var path = "/talent/";		
	var hostName = location.host;

		newPage = selectedPage.options[selectedPage.selectedIndex].value;
		if (newPage != "") {
		    newPage = "http://" + hostName + path + newPage + ".html";
			document.location.href = newPage;
		}
		
	}
	
	function Redirect() {
	
	var selTalentDetail = document.byName.byNameList.value;
	var selTalentDetail_topic = document.byName.byTopicList.value;
	var selTalentDetail_role = document.byName.byRoleList.value;

	var path = "/talent/";		
	var hostName = location.host;
	
	if (selTalentDetail != "")
	{
		//var redirectURL = "http://" + hostName + selTalentDetail;	
		
		//if(selTalentDetail != "talent_list")
		//{
			var redirectURL ="http://" + hostName + path + selTalentDetail + ".html";
		//}
		
		window.location.href=redirectURL;
	}	
	
	
	if (selTalentDetail_topic  != "")
	{
		var redirectURL ="http://" + hostName + path + selTalentDetail_topic + ".html";
		window.location.href=redirectURL;
	}
	
	if (selTalentDetail_role  != "")
	{
		var redirectURL ="http://" + hostName + path + selTalentDetail_role  + ".html";
		window.location.href=redirectURL;
	}
	return false;
	}

	function resetDropdowns(currentDropdown) {
	
	if (currentDropdown == "talentname") {

		document.byName.byRoleList.selectedIndex = 0;
		document.byName.byTopicList.selectedIndex = 0;

	}
	else if (currentDropdown == "topic") {

		document.byName.byRoleList.selectedIndex = 0;
		document.byName.byNameList.selectedIndex = 0;

	}

	else if (currentDropdown == "role") {

		document.byName.byTopicList.selectedIndex = 0;
		document.byName.byNameList.selectedIndex = 0;
	}
	else {

	}

	}	


