// used on quote form
function customerType(sel)
{
	if(sel.options.selectedIndex == 1)
	{

		document.getElementById('homeowner').style.display="block";
		document.getElementById('company').style.display="none";
	}
	else
	{
		document.getElementById('homeowner').style.display="none";
		document.getElementById('company').style.display="block";
	}

}

// used on home page
function looking(value)
{
	var iama = document.mainsearch.iama.value;
	var looking = document.mainsearch.lookingfor.value;

	if(looking == "Retaining Walls")
	{
		window.location.href="/retaining_walls/?" + iama;
	}
	if(looking == "Landscape Products")
	{
		window.location.href="/landscape_products/?" + iama
	}
	if(looking == "Brick Masonry")
	{
		window.location.href="/brick_masonry/?" + iama
	}
	if(looking == "Stone Products")
	{
		window.location.href="/stone_products/?" + iama
	}
	if(looking == "Ready Mix Services")
	{
		window.location.href="/ready_mix_services/?" + iama
	}
	if(looking == "Masonry Products and Tools")
	{
		window.location.href="/masonry_products__tools/?" + iama
	}
	if(looking == "Concrete Products")
	{
		window.location.href="/concrete_products/?" + iama
	}

/*	alert(iama);
	alert(looking);
*/
}
