// JavaScript Document
function newbarData()
{
if (Math.round(window.document.barform.inches.options[window.document.barform.inches.selectedIndex].value) < 10) 
{(window.document.barform.vwitem.value=window.document.barform.baritemtype.value + Math.round(window.document.barform.inches.options[window.document.barform.inches.selectedIndex].value));}	
if (Math.round(window.document.barform.inches.options[window.document.barform.inches.selectedIndex].value) >= 10) 
{(window.document.barform.vwitem.value=window.document.barform.baritemtype.value + Math.round(window.document.barform.inches.options[window.document.barform.inches.selectedIndex].value));}		
(window.document.barform.baritemtype.disabled=true);
(window.document.barform.submit.disabled=true);
(window.document.barform.inches.options[window.document.barform.inches.selectedIndex].value)=((window.document.barform.inches.options[window.document.barform.inches.selectedIndex].value)+"''")
}
function newbarCheck()
{
if (document.barform.inches.selectedIndex <= 0) {
alert ("Please select the material length that you need.");
barform.inches.focus();
return false}
if (document.barform.Sawcut_Type.selectedIndex <= 0) {
alert ("Please select the type of sawcut that you need.");
barform.Sawcut_Type.focus();
return false}
if (document.barform.vwquantity.selectedIndex <= 0) {
alert ("Please select the number of pieces that you need.");
barform.vwquantity.focus();
return false}
}

