<!---Hide from old Browsers

function checkItem(form)
{
whatItem=form.itemname.selectedIndex     //Was price selected?
whatBead=form.coloroption.selectedIndex   //Was bead selected?
var limit = parseInt("4")

     if(form.itemname.options[whatItem].value == "NoChoiceMade")
        {
           alert("You must select metal(s) and bead option for your item. Thank you.");
           form.itemname.focus();
           return false;
        }
        
                 
    if (form.itemquant.value < "1")
     {
        alert("You must select a quantity of 1 item or more.  Thank you.");
        form.itemquant.focus();
        return false;

     }
     
     
    if((form.itemname.selectedIndex > limit) && (form.coloroption.selectedIndex <= "1"))
        {
           alert("You must select bead size and color. Thank you.");
           form.coloroption.focus();
           return false;
         }
         
    if((form.itemname.selectedIndex <= limit) && (form.coloroption.selectedIndex > "1"))
        { 
    
          alert("You have selected a bead size and color, though you have selected NOT to have a bead?  Please correct your selections. Thank you."); 
          return false;
        } 
        
     
     if((form.itemname.options[whatItem].value != "NoChoiceMade") && (form.itemquant.value > "0")) 
         {
              
              getpriceR();
              return true;
          }
    

}

//End Hiding From Old Browsers-->

<!---Hide from old browsers
function warn(form)
	{
		var decide = confirm("Have you finished shopping at Miller Designs Store? If you have finished, then thank you for ordering from Miller Designs. See you at the check-out.")
		     if ((decide == "0") || (decide == "false"))
		     	{
		     	 return false;
		     	}
		     	else{
		     	return true;
		     	}
	}
//End hiding from old browsers-->      