function catalogSearch(){
	var selected = document.getElementById('catalogSelect').options[document.getElementById('catalogSelect').selectedIndex].value;
	if(selected == 'a'){
		window.location.href='http://www.adesisinc.com/Categories.bok?category=Heterocycles%3A'+document.getElementById('lowerInput01').options[document.getElementById('lowerInput01').selectedIndex].value;
	}
	if(selected == 'b'){
		window.location.href='http://www.adesisinc.com/Categories.bok?category=Di-substituted Pyridines%3A'+document.getElementById('lowerInput02').options[document.getElementById('lowerInput02').selectedIndex].value;
	}
	if(selected == 'c'){
		window.location.href='http://www.adesisinc.com/Categories.bok?category=Tri-substituted Pyridines%3A'+document.getElementById('lowerInput03').options[document.getElementById('lowerInput03').selectedIndex].value;
	}
	if(selected == 'd'){
		window.location.href='http://www.adesisinc.com/Categories.bok?category=Tetra-substituted Pyridines%3A'+document.getElementById('lowerInput04').options[document.getElementById('lowerInput04').selectedIndex].value;
	}
	if(selected == 'e'){
		window.location.href='http://www.adesisinc.com/Categories.bok?category=Functional Groups%3A'+document.getElementById('lowerInput05').options[document.getElementById('lowerInput05').selectedIndex].value;
	}
	return false;
}
function lowerFieldSelection(){
	document.getElementById('lowerInput01').style.display='none';
	document.getElementById('lowerInput02').style.display='none';
	document.getElementById('lowerInput03').style.display='none';
	document.getElementById('lowerInput04').style.display='none';
	document.getElementById('lowerInput05').style.display='none';
	var selected = document.getElementById('catalogSelect').options[document.getElementById('catalogSelect').selectedIndex].value;
	if(selected == 'a'){
		document.getElementById('lowerInput01').style.display='block';
	}
	if(selected == 'b'){
		document.getElementById('lowerInput02').style.display='block';
	}
	if(selected == 'c'){
		document.getElementById('lowerInput03').style.display='block';
	}
	if(selected == 'd'){
		document.getElementById('lowerInput04').style.display='block';
	}
	if(selected == 'e'){
		document.getElementById('lowerInput05').style.display='block';
	}
	return false;
}