function fncUpdateHiddenAttr(vField,vCount,vForm) {
	var i = 1;
	var attributesString = '';
	for (i=1; i<=vCount; i++ ) {
		vAttributeFieldName = vField + i;
		var vAttribute = document.getElementById(vAttributeFieldName);
		var vAttributeValue = vAttribute.options[vAttribute.selectedIndex].value;
		attributesString += vAttributeValue + ',';			
	}
	
	attributesString = attributesString.substr(0,(attributesString.length-1));
	
	//var vHiddenAttributeField = document.getElementById('attrib');
	document.cartForm.attrib.value = attributesString;
	//alert(document.getElementById('attrib').value);
	//alert(document.cartForm.attrib.value);
	
}

