<!---Hide from old Browsers

function checkItem(form)
{
whatSize=form.itemsize.selectedIndex     //Was price selected?
whatColor=form.thecolor.selectedIndex    //Was color selected?
angoraChoice = -1


     if(form.itemsize.options[whatSize].value == "NoChoiceMade") 
        {
           alert("You must select a product size. Thank you.");
           return false;
        }
     if(form.thecolor.options[whatColor].value == "NoChoiceMade")   
        {
           alert("You must select a product color. Thank you.");
           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;

     }
      
     
     for (i=0; i<form.angora.length; i++)
                     {
            		if (form.angora[i].checked)
            		    angoraChoice = i
            		}
            		
            		if (angoraChoice == -1)
            		{
            		   alert("You must choose to select Angora or not.  Thank you.")
            		   return false;
            		}   
				
if((form.itemsize.options[whatSize].value != "NoChoiceMade") && (form.thecolor.options[whatColor].value != "NoChoiceMade") &&
    (form.itemquant.value > "0") && (angoraChoice != -1)) 
    {
         if (form.flag.value == "flaps")
         {
         getpriceFA();
         return true;
         }
         else { getpriceNFA();
         return true;
         }
    }    
	
	       

} 
                                            

//End Hiding From Old Browsers-->

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