function selectMaterials()	{

	var selectSubCatID;		
	selectSubCatID = document.getElementById("materials").options[document.getElementById("materials").selectedIndex].value;
	
	
	if (selectSubCatID>0)
	{
		window.location = "parts_results.asp?cat=1&subCat=" + selectSubCatID;	
	}	
	
	
}


function selectProjects(catID)	
{

	var selectSubCatID;		
	selectSubCatID = document.getElementById("projects").options[document.getElementById("projects").selectedIndex].value;
	
	
	if (selectSubCatID>0)
	{	
		
		switch(catID){
		       case 1:
			window.location = "parts_results.asp?cat=2&subCat=" + selectSubCatID;
			break;
		       case 2:
			window.location = "sites_results.asp?cat=2&subCat=" + selectSubCatID;
			break;
		       case 3:
			window.location = "plans_results.asp?cat=2&subCat=" + selectSubCatID;			
		       
		}
					     
	}	
	
	
}


function selectArtist()	{

	var selectSubCatID;		
	selectSubCatID = document.getElementById("artists").options[document.getElementById("artists").selectedIndex].value;
	
	if (selectSubCatID>0)
	{
		window.location = "parts_results.asp?cat=3&subCat=" + selectSubCatID;
	}		
	
	
}


function selectSitesArtist()	{

	var selectSubCatID;		
	selectSubCatID = document.getElementById("artists").options[document.getElementById("artists").selectedIndex].value;
	
	if (selectSubCatID>0)
	{
		window.location = "sites_results.asp?cat=3&subCat=" + selectSubCatID;
	}		
	
	
}

function selectPlansArtist()	{

	var selectSubCatID;		
	selectSubCatID = document.getElementById("artists").options[document.getElementById("artists").selectedIndex].value;
	
	if (selectSubCatID>0)
	{
		window.location = "plans_results.asp?cat=3&subCat=" + selectSubCatID;
	}		
	
	
}

