function validateForm(formID) 
{
	var error=""; 
	var formularname="formular"+formID;
	
	//alert(typeof(document[formularname].selectedSize));
	
	var vorhandenSize=typeof(document[formularname].selectedSize);
	var vorhandenColor=typeof(document[formularname].selectedColor);

	if(vorhandenColor!="undefined")
	{
		if(document[formularname].selectedColor.selectedIndex==0)
		{
			error+="Bitte wählen Sie eine Farbe!\n";
			document[formularname].selectedColor.focus();
		}
	}

	if(vorhandenSize!="undefined")
	{
		if(document[formularname].selectedSize.selectedIndex==0)
		{
			error+="Bitte wählen Sie eine Größe!";
			document[formularname].selectedSize.focus();
		}
	}
	
	if(error!="") 
	{
		alert(error);
		return false;
	}
	else return true;
}