		function priceChange(formPrefix) {
			var product_num = document.getElementById(formPrefix+'_product').value;
			if (formPrefix == "purchase_form_is") {
				if (product_num == 1) { var price = "2,980"; } 
				else if (product_num == 2) { var price = "4,480"; } 
				else if (product_num == 3) { var price = "5,980";} 
			    else if (product_num == 4) { var price = "3,480"; } 
			    else if (product_num == 5) { var price = "5,280"; } 
			    else if (product_num == 6) { var price = "6,980"; } 
			    else if (product_num == 7) { var price = "9,980"; } 
			    else if (product_num == 8) { var price = "17,360"; } 
			    else if (product_num == 9) { var price = "3,990"; } 
			    else if (product_num == 10) { var price = "6,700"; } 
			    else if (product_num == 11) { var price = "4,450"; } 
			    else if (product_num == 12) { var price = "8,980"; } 
			    else if (product_num == 13) { var price = "15,600"; }
			    else if (product_num == 14) { var price = "<span style='color:#ff6000;'>5,980円 → 3,980</span>"; }
			} else if (formPrefix == "purchase_form_tc") {
				if (product_num == 1) { var price = "4,980"; } 
				else if (product_num == 2) { var price = "7,480"; } 
				else if (product_num == 3) { var price = "9,980";} 
			    else if (product_num == 4) { var price = "5,800"; }
			} else if (formPrefix == "purchase_form_av") {
				if (product_num == 1) { var price = "2,980"; } 
				else if (product_num == 2) { var price = "4,480"; } 
				else if (product_num == 3) { var price = "5,980";} 
			} else if (formPrefix == "purchase_form_ms") {
				if (product_num == 1) { var price = "1,980"; } 
				else if (product_num == 2) { var price = "2,480"; } 
				else if (product_num == 3) { var price = "1,280";} 
			}
			document.getElementById(formPrefix + '_unit_price').innerHTML = price;
		}
		function submit_form_is(){
	        var product_num = document.getElementById('purchase_form_is_product').value;
	        var prod_quantity = 1;
	        prod_quantity = document.getElementById('Quantity').value;
	        if (product_num == 1) {
			    var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[6nac194h]="+prod_quantity;
		    } else if (product_num == 2) {
	        	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[7jjp5pjp]="+prod_quantity;
	        } else if (product_num == 3) {
	        	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[ctpm35k8]="+prod_quantity;
		    } else if (product_num == 4) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[9n4tyfqg]="+prod_quantity;
		    } else if (product_num == 5) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[thjx1zul]="+prod_quantity;
		    } else if (product_num == 6) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[e7ugxbo0]="+prod_quantity;
		    } else if (product_num == 7) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[lyktyd7b]="+prod_quantity;
		    } else if (product_num == 8) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[56n2ru0u]="+prod_quantity;
		    } else if (product_num == 9) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[w9tvvfib]="+prod_quantity;
		    } else if (product_num == 10) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[800ij5aa]="+prod_quantity;
		    } else if (product_num == 11) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[x0z4tzqh]="+prod_quantity;
		    } else if (product_num == 12) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[me1dutyl]="+prod_quantity;
		    } else if (product_num == 13) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[u3vycchw]="+prod_quantity;
		    } else if (product_num == 14) {
		    	var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[dxu2lpyn]="+prod_quantity;
		    }
	        document.forms['purchase_form_is'].action = link;
			document.forms['purchase_form_is'].submit();
	    }
	    
	    function submit_form_ms(){
	        var product_num = document.getElementById('purchase_form_ms_product').value;
	        var prod_quantity = 1;
	        prod_quantity = document.getElementById('Quantity').value;
			if (product_num == 1) {
				var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[suj54evp]="+prod_quantity;
			} else if (product_num == 2) {
				var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[uty63ol7]="+prod_quantity;
			} else if (product_num == 3) {
				var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[gelpd6ev]="+prod_quantity;
			}
	        document.forms['purchase_form_ms'].action = link;
			document.forms['purchase_form_ms'].submit();
	    }
	    
		function submit_form_tc(){
	        var product_num = document.getElementById('purchase_form_tc_product').value;
	        var prod_quantity = 1;
	        prod_quantity = document.getElementById('Quantity').value;
			if (product_num == 1) {
				var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[a928k1jq]="+prod_quantity;
			} else if (product_num == 2) {
				var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[bzeqjfe1]="+prod_quantity;
			} else if (product_num == 3) {
				var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[gaylsq9j]="+prod_quantity;
			} else if (product_num == 4) {
				var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[okg9y1uh]="+prod_quantity;
			}
	        document.forms['purchase_form_tc'].action = link;
			document.forms['purchase_form_tc'].submit();
	    }
		function submit_form_av(){
	        var product_num = document.getElementById('purchase_form_av_product').value;
	        var prod_quantity = 1;
	        prod_quantity = document.getElementById('Quantity').value;
			if (product_num == 1) {
				var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[3kuejp53]="+prod_quantity;
			} else if (product_num == 2) {
				var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[oln2hh02]="+prod_quantity;
			} else if (product_num == 3) {
				var link = "https://gdata.degica.com/cart.html?REFSITE=GDATA_JA&CURR=JPY&LANG=ja_JP&ITM[7d53sxej]="+prod_quantity;
			}
	        document.forms['purchase_form_av'].action = link;
			document.forms['purchase_form_av'].submit();
	    }
