﻿function onProductOptionChange(attKey, elemId)
{
	var elSel = document.getElementById(elemId);
	if (null != elSel)
	{
		if (attKey == 5)
		{
			var elLining = document.getElementById("option^Lining");
			var selValue = elSel.options[elSel.selectedIndex].text;
			var idx = selValue.indexOf("Lazer Georgette");
			if (idx != -1)
			{
				if (elLining != null)
				{
					elLining.selectedIndex = 0;
					elLining.disabled = true;
				}
			}
			else
			{
				if (elLining != null)
				{
					elLining.disabled = false;
				}
			}
		}
	}
}
