{
	"productVariables": [
		{
			"element": "dropdown",
			"variableId": "{glassType}",
			"attributes": {
				"required": true
			},
			"options": [
				{
					"value": "{GlasstypeTextClearGlass}",
					"display": "{GlasstypeTextClearGlass}",
					"attributes": {
						"selected": true
					}
				},
				{
					"value": "{GlasstypeTextExtraClearGlass}",
					"display": "{GlasstypeTextExtraClearGlass}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextSatinGlass}",
					"display": "{GlasstypeTextSatinGlass}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextExtraClearSatinGlass}",
					"display": "{GlasstypeTextExtraClearSatinGlass}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextGrayGlass}",
					"display": "{GlasstypeTextGrayGlass}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{GlasstypeTextBronzeGlass}",
					"display": "{GlasstypeTextBronzeGlass}",
					"attributes": {
						"selected": false
					}
				}
			],
			"reminderText": "",
			"variableText": "{glassTypeText}",
			"errorText": "",
			"sortOrder": 2
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{width}",
			"attributes": {
				"min": 100,
				"max": 2500,
				"required": true,
				"validation": [],
				"valueSets": [
					{
						"updateruleset": "[[width0400]]",
						"max": 2500
					},
					{
						"updateruleset": "[[width0500]]",
						"max": 2500
					},
					{
						"updateruleset": "[[width0600]]",
						"max": 3000
					},
					{
						"updateruleset": "[[width0800]]",
						"max": 3000
					},
					{
						"updateruleset": "[[width1000]]",
						"max": 3000
					},
					{
						"updateruleset": "[[width1200]]",
						"max": 3000
					},
					{
						"updateruleset": "[[widthLimit0400]]",
						"max": 2000
					},
					{
						"updateruleset": "[[widthLimit0500]]",
						"max": 2000
					},
					{
						"updateruleset": "[[widthLimit0600]]",
						"max": 2400
					},
					{
						"updateruleset": "[[widthLimit0800]]",
						"max": 2400
					},
					{
						"updateruleset": "[[widthLimit1000]]",
						"max": 2500
					},
					{
						"updateruleset": "[[widthLimit1200]]",
						"max": 2400
					}
				]
			},
			"reminderText": "{widthReminderText}",
			"variableText": "{widthVariableText}",
			"errorText": "{widthVariableErrorText}",
			"sortOrder": 4,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{height}",
			"attributes": {
				"min": 300,
				"max": 2000,
				"required": true,
				"validation": [],
				"valueSets": [
					{
						"updateruleset": "[[hight0400]]",
						"max": 2500
					},
					{
						"updateruleset": "[[hight0500]]",
						"max": 2500
					},
					{
						"updateruleset": "[[hight0600]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hight0800]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hight1000]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hight1200]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hightLimit0400]]",
						"max": 2000
					},
					{
						"updateruleset": "[[hightLimit0500]]",
						"max": 2000
					},
					{
						"updateruleset": "[[hightLimit0600]]",
						"max": 2400
					},
					{
						"updateruleset": "[[hightLimit0800]]",
						"max": 2400
					},
					{
						"updateruleset": "[[hightLimit1000]]",
						"max": 2500
					},
					{
						"updateruleset": "[[hightLimit1200]]",
						"max": 2400
					}
				]
			},
			"reminderText": "{heightReminderText}",
			"variableText": "{heightVariableText}",
			"errorText": "{heightVariableErrorText}",
			"sortOrder": 6,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{width1}",
			"attributes": {
				"min": 0,
				"max": 3000,
				"required": true,
				"validation": [
					{
						"compare": "[[{width1}]] <= [[{width}]]",
						"errorText": "{maxWidth1ErrorText}"
					}
				],
				"valueSets": [
					{
						"updateruleset": "[[width0400]]",
						"max": 2500
					},
					{
						"updateruleset": "[[width0500]]",
						"max": 2500
					},
					{
						"updateruleset": "[[width0600]]",
						"max": 3000
					},
					{
						"updateruleset": "[[width0800]]",
						"max": 3000
					},
					{
						"updateruleset": "[[width1000]]",
						"max": 3000
					},
					{
						"updateruleset": "[[width1200]]",
						"max": 3000
					},
					{
						"updateruleset": "[[widthLimit0400]]",
						"max": 2000
					},
					{
						"updateruleset": "[[widthLimit0500]]",
						"max": 2000
					},
					{
						"updateruleset": "[[widthLimit0600]]",
						"max": 2400
					},
					{
						"updateruleset": "[[widthLimit0800]]",
						"max": 2400
					},
					{
						"updateruleset": "[[widthLimit1000]]",
						"max": 2500
					},
					{
						"updateruleset": "[[widthLimit1200]]",
						"max": 2400
					}
				]
			},
			"reminderText": "{width1ReminderText}",
			"variableText": "{width1VariableText}",
			"errorText": "{width1VariableErrorText}",
			"sortOrder": 10,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{height1}",
			"attributes": {
				"min": 0,
				"max": 2000,
				"required": true,
				"validation": [
					{
						"compare": "[[{height1}]] <= [[{height}]]",
						"errorText": "{maxHeight1ErrorText}"
					}
				],
				"valueSets": [
					{
						"updateruleset": "[[hight0400]]",
						"max": 2500
					},
					{
						"updateruleset": "[[hight0500]]",
						"max": 2500
					},
					{
						"updateruleset": "[[hight0600]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hight0800]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hight1000]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hight1200]]",
						"max": 3000
					},
					{
						"updateruleset": "[[hightLimit0400]]",
						"max": 2000
					},
					{
						"updateruleset": "[[hightLimit0500]]",
						"max": 2000
					},
					{
						"updateruleset": "[[hightLimit0600]]",
						"max": 2400
					},
					{
						"updateruleset": "[[hightLimit0800]]",
						"max": 2400
					},
					{
						"updateruleset": "[[hightLimit1000]]",
						"max": 2500
					},
					{
						"updateruleset": "[[hightLimit1200]]",
						"max": 2400
					}
				]
			},
			"reminderText": "{height1ReminderText}",
			"variableText": "{height1VariableText}",
			"errorText": "{height1VariableErrorText}",
			"sortOrder": 12,
			"unit": "mm",
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{glassThicknessVariableText}",
			"variableId": "{glassThickness}",
			"errorText": "{glassThicknessVariableErrorText}",
			"options": [
				{
					"value": "{glassThickness0400}",
					"display": "{glassThickness0400}",
					"attributes": {
						"selected": true,
						"updateRuleset": "[[glassTypeVisioCheck]]"
					}
				},
				{
					"value": "{glassThickness0500}",
					"display": "{glassThickness0500}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeClearCheck]]"
					}
				},
				{
					"value": "{glassThickness0600}",
					"display": "{glassThickness0600}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeVisioCheck]]"
					}
				},
				{
					"value": "{glassThickness0800}",
					"display": "{glassThickness0800}",
					"attributes": {
						"selected": false
					}
				},
				{
					"value": "{glassThickness1000}",
					"display": "{glassThickness1000}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeVisioCheck]]"
					}
				},
				{
					"value": "{glassThickness1200}",
					"display": "{glassThickness1200}",
					"attributes": {
						"selected": false,
						"updateRuleset": "[[glassTypeCheck]]"
					}
				}
			],
			"attributes": {
				"required": true
			},
			"sortOrder": 2,
			"tooltip": {}
		},
		{
			"element": "dropdown",
			"variableText": "{BaseCostVariableText}",
			"variableId": "{BaseCostVariableID}",
			"options": [
				{
					"value": "TPF-GPSH",
					"display": "Facon tillæg - Lige kanter",
					"attributes": {
						"selected": true
					}
				}
			],
			"attributes": {
				"required": true
			},
			"sortOrder": 980,
			"tooltip": {}
		},
		{
			"element": "input",
			"type": "number",
			"variableId": "{figurID}",
			"attributes": {
				"min": 17,
				"max": 17,
				"required": true,
				"value": 17,
				"validation": [],
				"style": "display:none;"
			},
			"sortOrder": 999
		}
	],
	"images": [],
	"accessories": [],
	"extra": [],
	"formulas": [
		{
			"id": "base_elements",
			"formula": "[[{width}]] + [[{height}]]]] / 1000000) * [[baseProductPrice]] * 1.25"
		},
		{
			"id": "glassTypeClearCheck",
			"rule": "[[{glassType}]] == \"{GlasstypeTextClearGlass}\""
		},
		{
			"id": "glassTypeCheck",
			"rule": "[[{glassType}]] == \"{GlasstypeTextClearGlass}\" || [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\""
		},
		{
			"id": "glassTypeVisioCheck",
			"rule": "!([[{glassType}]] == \"{GlasstypeTextVISIOSUN8MMVEGlass}\" || [[{glassType}]] == \"{GlasstypeTextVISIOSUN8MMHOGlass}\")"
		},
		{
			"id": "glassthicknessCheck",
			"rule": "[[{glassThickness}]] == \"5 mm\" || [[{glassThickness}]] == \"4 mm\""
		},
		{
			"id": "weightCal17_18",
			"formula": "( ([[{width}]] * [[{height}]]) - ( ([[{width}]]-[[{width1}]]) * [[{height}]] / 2 ) - ( ([[{height}]]-[[{height1}]]) * [[{width1}]] / 2) ) / 1000000"
		},
		{
			"id": "width0400",
			"rule": "[[{glassThickness}]] == \"{glassThickness0400}\""
		},
		{
			"id": "width0500",
			"rule": "[[{glassThickness}]] == \"{glassThickness0500}\""
		},
		{
			"id": "width0600",
			"rule": "[[{glassThickness}]] == \"{glassThickness0600}\""
		},
		{
			"id": "width0800",
			"rule": "[[{glassThickness}]] == \"{glassThickness0800}\""
		},
		{
			"id": "width1000",
			"rule": "[[{glassThickness}]] == \"{glassThickness1000}\""
		},
		{
			"id": "width1200",
			"rule": "[[{glassThickness}]] == \"{glassThickness1200}\""
		},
		{
			"id": "widthLimit0400",
			"rule": "[[{glassThickness}]] == \"{glassThickness0400}\" && [[{height}]] > 2000"
		},
		{
			"id": "widthLimit0500",
			"rule": "[[{glassThickness}]] == \"{glassThickness0500}\" && [[{height}]] > 2000"
		},
		{
			"id": "widthLimit0600",
			"rule": "[[{glassThickness}]] == \"{glassThickness0600}\" && [[{height}]] > 2400"
		},
		{
			"id": "widthLimit0800",
			"rule": "[[{glassThickness}]] == \"{glassThickness0800}\" && [[{height}]] > 2400"
		},
		{
			"id": "widthLimit1000",
			"rule": "[[{glassThickness}]] == \"{glassThickness1000}\" && [[{height}]] > 2500"
		},
		{
			"id": "widthLimit1200",
			"rule": "[[{glassThickness}]] == \"{glassThickness1200}\" && [[{height}]] > 2400"
		},
		{
			"id": "hight0400",
			"rule": "[[{glassThickness}]] == \"{glassThickness0400}\""
		},
		{
			"id": "hight0500",
			"rule": "[[{glassThickness}]] == \"{glassThickness0500}\""
		},
		{
			"id": "hight0600",
			"rule": "[[{glassThickness}]] == \"{glassThickness0600}\""
		},
		{
			"id": "hight0800",
			"rule": "[[{glassThickness}]] == \"{glassThickness0800}\""
		},
		{
			"id": "hight1000",
			"rule": "[[{glassThickness}]] == \"{glassThickness1000}\""
		},
		{
			"id": "hight1200",
			"rule": "[[{glassThickness}]] == \"{glassThickness1200}\""
		},
		{
			"id": "hightLimit0400",
			"rule": "[[{glassThickness}]] == \"{glassThickness0400}\" && [[{width}]] > 2000"
		},
		{
			"id": "hightLimit0500",
			"rule": "[[{glassThickness}]] == \"{glassThickness0500}\" && [[{width}]] > 2000"
		},
		{
			"id": "hightLimit0600",
			"rule": "[[{glassThickness}]] == \"{glassThickness0600}\" && [[{width}]] > 2400"
		},
		{
			"id": "hightLimit0800",
			"rule": "[[{glassThickness}]] == \"{glassThickness0800}\" && [[{width}]] > 2400"
		},
		{
			"id": "hightLimit1000",
			"rule": "[[{glassThickness}]] == \"{glassThickness1000}\" && [[{width}]] > 2500"
		},
		{
			"id": "hightLimit1200",
			"rule": "[[{glassThickness}]] == \"{glassThickness1200}\" && [[{width}]] > 2400"
		}
	],
	"variantData": [
		{
			"id": "{BaseCostVariableID}",
			"name": "{BaseCostVariableID}"
		}
	],
	"premium": [],
	"summery": false,
	"productVariablesRules": [],
	"baseProductPrices": [
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TP04001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"5 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TP05001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TP06001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TP08001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TP10001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"12 mm\" && [[{glassType}]] == \"{GlasstypeTextClearGlass}\"",
			"productId": "TP12001000",
			"note": "hærdet klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "TP04001001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "TP06001001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "TP08001001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "TP10001001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"12 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearGlass}\"",
			"productId": "TP12001001",
			"note": "hærdet ekstra klar glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "TP04001101-1",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "TP06001102",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "TP08001101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextSatinGlass}\"",
			"productId": "TP10001101",
			"note": "hærdet satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearSatinGlass}\"",
			"productId": "TP104001002",
			"note": "hærdet extra klar satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearSatinGlass}\"",
			"productId": "TP106001002",
			"note": "hærdet extra klar satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearSatinGlass}\"",
			"productId": "TP108001002",
			"note": "hærdet extra klar satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextExtraClearSatinGlass}\"",
			"productId": "TP110001002",
			"note": "hærdet extra klar satin glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "TP04001201",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "TP06001201",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "TP08001201",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextGrayGlass}\"",
			"productId": "TP10001201",
			"note": "hærdet grå glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"4 mm\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "TP04001200",
			"note": "hærdet bronze glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"6 mm\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "TP06001200",
			"note": "hærdet bronze glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "TP08001200",
			"note": "hærdet bronze glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"10 mm\" && [[{glassType}]] == \"{GlasstypeTextBronzeGlass}\"",
			"productId": "TP10001200",
			"note": "hærdet bronze glas",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextVISIOSUN8MMVEGlass}\"",
			"productId": "VISIOSUN8MMVE",
			"note": "8 mm hærdet VISIOSUN lodret mønster med poleret kant",
			"weight": true
		},
		{
			"rule": "[[{glassThickness}]] == \"8 mm\" && [[{glassType}]] == \"{GlasstypeTextVISIOSUN8MMHOGlass}\"",
			"productId": "VISIOSUN8MMHO",
			"note": "8 mm hærdet VISIOSUN vandret mønster med poleret kant",
			"weight": true
		}
	],
	"baseProductPriceFormel": "Math.round(([[{width}]]  * [[{height}]] / 1000000) <= 0.4 ? 0.4 * [[baseProductPrice]] * 1.25 : ([[{width}]]  * [[{height}]] / 1000000) * [[baseProductPrice]] * 1.25)",
	"baseProductWeightFormel": "[[baseProductWeight]] * [[weightCal17_18]]",
	"defaultImgSortOrder": 5
}