function doChange(x) {
if(x.value!='0'){x.blur();x.value=0;x.disabled=true}else{x.value='';x.disabled=false;x.focus()}
}

function showqnty(obj,txt) {
if(obj.innerHTML=='&nbsp;'){
obj.innerHTML='<iframe style="position:relative;height:18pt;width:60px" src="getqnty.cfm?id='+txt+'">'}
else{
obj.innerHTML='&nbsp;'
}
}

function doVerify(){
theForm.DIA_BRO_06.disabled=false
theForm.JWL_CAT_06.disabled=false
theForm.JWLCAT_PL_06.disabled=false
theForm.WTCH_CAT_06.disabled=false
theForm.WTCH_PL_06.disabled=false
if(theForm.DIA_BRO_06.value==""){theForm.DIA_BRO_06.value="1"}
if(theForm.JWL_CAT_06.value==""){theForm.JWL_CAT_06.value="1"}
if(theForm.JWLCAT_PL_06.value==""){theForm.JWLCAT_PL_06.value="1"}
if(theForm.WTCH_CAT_06.value==""){theForm.WTCH_CAT_06.value="1"}
if(theForm.WTCH_PL_06.value==""){theForm.WTCH_PL_06.value="1"}
return true
}

function doItemchk(){
if(theForm.DIA_BRO_06.value !="0"){theForm.DIA_BRO_06.disabled=false;theForm.diabro.checked=true}
if(theForm.JWL_CAT_06.value !="0"){theForm.JWL_CAT_06.disabled=false;theForm.jwlcat.checked=true}
if(theForm.JWLCAT_PL_06.value !="0"){theForm.JWLCAT_PL_06.disabled=false;theForm.jwlpl.checked=true}
if(theForm.WTCH_CAT_06.value !="0"){theForm.WTCH_CAT_06.disabled=false;theForm.wtchcat.checked=true}
if(theForm.WTCH_PL_06.value !="0"){theForm.WTCH_PL_06.disabled=false;theForm.wtchpl.checked=true}
}