function validar(FormName)
{
	if (FormName.custom1.selectedIndex==0)
	{
		alert('Please choose a product type')
		FormName.custom1.focus();
		return (false);
	}
	if (FormName.custom2.selectedIndex==0)
	{
		alert('Please choose a color')
		FormName.custom2.focus();
		return (false);
	}
	if (FormName.custom4.selectedIndex==0)
	{
		alert('Please choose a stone color')
		FormName.custom4.focus();
		return (false);
	}
	if (FormName.custom1.selectedIndex==1 && FormName.custom3.selectedIndex==0)
	{
		alert('Please choose a size')
		FormName.custom3.focus();
		return (false);
	}
	if (FormName.custom1.selectedIndex==2 && FormName.custom5.selectedIndex==0)
	{
		alert('Please choose a size')
		FormName.custom5.focus();
		return (false);
	}
	if (FormName.custom1.selectedIndex==3 && FormName.custom6.selectedIndex==0)
	{
		alert('Please choose a size')
		FormName.custom6.focus();
		return (false);
	}
	if (FormName.custom1.selectedIndex==4 && FormName.custom7.selectedIndex==0)
	{
		alert('Please choose a size')
		FormName.custom7.focus();
		return (false);
	}
	if (FormName.quantity.value < 1)
	{
		alert('Please enter a valid quantity')
		FormName.quantity.focus();
		return (false);
	}
}

function validateit(FormName)
{
	if (FormName.custom1.selectedIndex==0)
	{
		alert('Please choose a product type')
		FormName.custom1.focus();
		return (false);
	}
	if (FormName.custom2.selectedIndex==0)
	{
		alert('Please choose a shirt color')
		FormName.custom2.focus();
		return (false);
	}
	if (FormName.custom3.selectedIndex==0)
	{
		alert('Please choose a size')
		FormName.custom3.focus();
		return (false);
	}
	if (FormName.custom4.selectedIndex==0)
	{
		alert('Please choose a stone color')
		FormName.custom4.focus();
		return (false);
	}
	if (FormName.quantity.value < 1)
	{
		alert('Please enter a valid quantity')
		FormName.quantity.focus();
		return (false);
	}
}
