function swapFields() {
	var selObj = document.getElementById('generalType');
	var selIndex = selObj.selectedIndex;
	var txtValueObj = selObj.options[selIndex].value;
	var chosenSizes = '';
	var chosenColors = '';
	
	if (txtValueObj == 'one color' || txtValueObj == 'one color metallic') {
		chosenFields1 = 'color <input name="fileColors[]" class="fileColors input1" type="text" value="" />';
		chosenFields2 = '<li><span class="darkText">extra colors from the same art</span><ul><li>color #1 <input name="fileColors1[]"  class="fileColors" type="text" value="" /> quantity <input name="textField11" type="text" value="0" class="numbers" /></li><li>color #2 <input name="fileColors2[]"  class="fileColors" type="text" value="" /> quantity <input name="textField21" type="text" value="0" class="numbers" /></li></ul></li>';
	}
	if (txtValueObj == 'two colors') {
		chosenFields1 = 'colors <input name="fileColors[]"  class="fileColors input0" type="text" /> <input  name="fileColors[]" class="fileColors input1" type="text" />';
		chosenFields2 = '';
	}
	if (txtValueObj == 'three colors') {
		chosenFields1 = 'colors <input name="fileColors[]" class="fileColors input0" type="text" /> <input  name="fileColors[]" class="fileColors input1" type="text" /> <input name="fileColors[]" class="fileColors input2" type="text" />';
		chosenFields2 = '';
	}
	document.getElementById('chosenFields1').innerHTML = chosenFields1;
	document.getElementById('chosenFields2').innerHTML = chosenFields2;
}
function changePrice() {
	var selObj = document.getElementById('shipping');
	var selIndex = selObj.selectedIndex;
	var txtValueObj = selObj.options[selIndex].value;
	var shipping = parseFloat(selObj.options[selIndex].value);
	var price = parseFloat(document.getElementById('printPrice').value);
	
	document.getElementById('totalPrice').value = '$' + (price + shipping);
	
}
	
	
	
	
	
	