function sendProdCodeData(){
	document.cmsForm.s_product1.value=""
	document.cmsForm.s_product3.value=""
	document.cmsForm.s_product2.value=document.whhForm.T2.value
	document.cmsForm.submit()
	
	document.hrForm.Product.value=document.whhForm.T2.value
	document.hrForm.submit()
	
	document.dsForm.partnumsearch.value=document.whhForm.T2.value
	//document.dsForm.submit()
}

function sendPartNumData(){
	document.whhForm.T2.value=""
	tTemp = document.whhForm.T1.value
	document.cmsForm.s_product1.value=tTemp.slice(0,5)
	document.cmsForm.s_product2.value=tTemp.slice(6,9)
	document.cmsForm.s_product3.value=tTemp.slice(10,20)
	document.cmsForm.submit()
	
	document.hrForm.partNumber.value=tTemp
	document.hrForm.submit()
	
	
	document.betForm.partnumber.value=tTemp
	document.betForm.submit()
	
	tTempA = tTemp.slice(0,5) + tTemp.slice(6,9)+ tTemp.slice(10,20)
	document.dsForm_pn.partnumsearch.value = tTempA
	//document.dsForm_pn.submit()
}

function setProdCode(which){

	document.whhForm.T2.value=document.whhForm.prodCodeSelect.value
}

function setNumResults(){
	which = document.whhForm.D1.value
	if (which == "All"){
		which = 500
	}
	document.cmsForm.partslistPageSize.value  = which
	document.cmsForm.totalresults.value  = which
	
}
