
function ZipSubmit()
	{
		//if (Button_Type == "Submit")
 
				if (document.office_main.zip.value.length < 5)
					{
						alert ("Please enter a valid City & State or zip code")
						return false;
					}
				else
					{
						if (document.office_main.term.value == "")
							{
								alert ("Please select a term");
								return false;
							}
						else
							{
								if (document.office_main.action_name.value == "Submit_Designer") 
								{
									document.office_main.action = "office_main.aspx?myaction=read";
									document.office_main.submit();
								}
								
								if (document.office_main.action_name.value == "Submit_Custom") 
								{
									document.office_main.action = "/catalog/catalog.aspx";
									document.office_main.submit();
								}								
 
							}
					}
				
			
		//else
			//{
				//document.brian_zip.action = "brian_zip.asp?myaction=reset"
				//document.brian_zip.submit()
				//document.residential_main1.action = "residential_main1.asp?myaction=reset"
				//document.residential_main1.submit()
			//}
	}


function imageon(category,imgsrc){

	if(document.images){
		document.images[category].src= imgsrc;
		
	}
}
function imageoff(category,imgsrc){

	if(document.images){
		document.images[category].src= imgsrc;
		
	}
}

function setSRDelAction()
	{
		
		document.office_shop.srdel.value = "Delete";
		
	}

function addtoRequest(txtobj, ovalue){
	//alert(ovalue)
	var objFValue = document.getElementById(txtobj);
	//alert(objFValue.name);


	if(ovalue == objFValue.value)
	{
		objFValue.value = ovalue + 1;
	}

	//return false;	
	document.office_shop.submit();
	
}