var photoprint = {
	1:{
		element:'tbody',
		attributes:{"id":'calc_tbody'},
		textnode:
		{
			1:{
				element:'tr',
				textnode:
				{
					1:{
						element:'td',
						textnode:
						{
							1:{
								element:'label',
								attributes:{"for":'count_15x21'},
								textnode:'Формат 15x21'
							},
							2:{
								element:'input',
								listeners:{"keyup":photocalc},
								attributes:{"name":'count_15x21', "id":'count_15x21', "type":'text', "class":'int', "maxlength":'3', "value":'0'}
							},
							3:{
								element:'textnode',
								textnode:'x'
							},
							4:{
								element:'input',
								attributes:{"name":'price_15x21', "id":'price_15x21', "type":'text', "class":'int2', "value":'1.25'}
							},
							5:{
								element:'textnode',
								textnode:'='
							},
							6:{
								element:'input',
								attributes:{"name":'sum_15x21', "id":'sum_15x21', "type":'text', "class":'int3', "value":'0.00'}
							}
						}
					}
				}
			},
			2:{
				element:'tr',
				textnode:
				{
					1:{
						element:'td',
						textnode:
						{
							1:{
								element:'label',
								attributes:{"for":'count_20x30'},
								textnode:'Формат 20x30'
							},
							2:{
								element:'input',
								listeners:{"keyup":photocalc},
								attributes:{"name":'count_20x30', "id":'count_20x30', "type":'text', "class":'int', "maxlength":'3', "value":'0'}
							},
							3:{
								element:'textnode',
								textnode:'x'
							},
							4:{
								element:'input',
								attributes:{"name":'price_20x30', "id":'price_20x30', "type":'text', "class":'int2', "value":'2.60'}
							},
							5:{
								element:'textnode',
								textnode:'='
							},
							6:{
								element:'input',
								attributes:{"name":'sum_20x30', "id":'sum_20x30', "type":'text', "class":'int3', "value":'0.00'}
							}
						}
					}
				}
			},
			3:{
				element:'tr',
				textnode:
				{
					1:{
						element:'td',
						textnode:
						{
							1:{
								element:'label',
								attributes:{"for":'count_30x40'},
								textnode:'Формат 30x40'
							},
							2:{
								element:'input',
								listeners:{"keyup":photocalc},
								attributes:{"name":'count_30x40', "id":'count_30x40', "type":'text', "class":'int', "maxlength":'3', "value":'0'}
							},
							3:{
								element:'textnode',
								textnode:'x'
							},
							4:{
								element:'input',
								attributes:{"name":'price_30x40', "id":'price_30x40', "type":'text', "class":'int2', "value":'8.00'}
							},
							5:{
								element:'textnode',
								textnode:'='
							},
							6:{
								element:'input',
								attributes:{"name":'sum_30x40', "id":'sum_30x40', "type":'text', "class":'int3', "value":'0.00'}
							}
						}
					}
				}
			},
			4:{
				element:'tr',
				textnode:
				{
					1:{
						element:'td',
						textnode:
						{
							1:{
								element:'label',
								attributes:{"for":'count_30x60'},
								textnode:'Формат 30x60'
							},
							2:{
								element:'input',
								listeners:{"keyup":photocalc},
								attributes:{"name":'count_30x60', "id":'count_30x60', "type":'text', "class":'int', "maxlength":'3', "value":'0'}
							},
							3:{
								element:'textnode',
								textnode:'x'
							},
							4:{
								element:'input',
								attributes:{"name":'price_30x60', "id":'price_30x60', "type":'text', "class":'int2', "value":'12.00'}
							},
							5:{
								element:'textnode',
								textnode:'='
							},
							6:{
								element:'input',
								attributes:{"name":'sum_30x60', "id":'sum_30x60', "type":'text', "class":'int3', "value":'0.00'}
							}
						}
					}
				}
			},
			5:{
				element:'tr',
				textnode:
				{
					1:{
						element:'td',
						textnode:
						{
							1:{
								element:'label',
								attributes:{"for":'count_30x90'},
								textnode:'Формат 30x90'
							},
							2:{
								element:'input',
								listeners:{"keyup":photocalc},
								attributes:{"name":'count_30x90', "id":'count_30x90', "type":'text', "class":'int', "maxlength":'3', "value":'0'}
							},
							3:{
								element:'textnode',
								textnode:'x'
							},
							4:{
								element:'input',
								attributes:{"name":'price_30x90', "id":'price_30x90', "type":'text', "class":'int2', "value":'18.00'}
							},
							5:{
								element:'textnode',
								textnode:'='
							},
							6:{
								element:'input',
								attributes:{"name":'sum_30x90', "id":'sum_30x90', "type":'text', "class":'int3', "value":'0.00'}
							}
						}
					}
				}
			},
			6:{
				element:'tr',
				textnode:
				{
					1:{
						element:'td',
						attributes:{"align":'right'},
						textnode:
						{
							1:{
								element:'input',
								attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
							}
						}
					}
				}
			}
		}
	}
}

var photobook = {
	1:{
		element:'tbody',
		attributes:{"id":'calc_tbody'},
		textnode:
		{
			1:{
				element:'tr',
				textnode:
				{
					1:{
						element:'td',
						textnode:
						{
							1:{
								element:'label',
								attributes:{"for":'school'},
								textnode:'Тип фотокниги:'
							},
							2:{
								element:'input',
								listeners:{"click":initphotobook},
								attributes:{"name":'photobook_type', "id":'school', "type":'radio', "value":'school', "checked":'checked'}
							},
							3:{
								element:'label',
								attributes:{"for":'school'},
								listeners:{"click":initphotobook},
								textnode:'Шкільна, випускна'
							},
							4:{
								element:'input',
								listeners:{"click":initphotobook},
								attributes:{"name":'photobook_type', "id":'wedding', "type":'radio', "value":'wedding'}
							},
							5:{
								element:'label',
								attributes:{"for":'wedding'},
								listeners:{"click":initphotobook},
								textnode:'Весільна, сімейна'
							}
						}
					}
				}
			},
			2:{
				element:'tr',
				attributes:{"id":'photobook_tr'},
				textnode:
				{
					1:{
						element:'td',
						attributes:{"id":'photobook_td'}
					}
				}
			}
		}
	}
}

var photobook_school = {
	1:{
		element:'td',
		attributes:{"id":'photobook_td'},
		textnode:{
			1:{
				element:'label',
				attributes:{"for":'count'},
				textnode:'Тираж:'
			},
			2:{
				element:'input',
				listeners:{"keyup":photobook_school_calc},
				attributes:{"name":'count', "id":'count', "type":'text', "class":'int', "maxlength":'3', "value":'0'}
			},
			3:{
				element:'label',
				attributes:{"for":'format'},
				textnode:'Формат:'
			},
			4:{
				element:'select',
				listeners:{"change":photobook_school_calc_select},
				attributes:{"name":'format', "id":'format', "class":'small'},
				textnode:{
					1:{
						element:'option',
						attributes:{"value":'21x30'},
						textnode:'21x30'
					},
					2:{
						element:'option',
						attributes:{"value":'30x30'},
						textnode:'30x30'
					}
				}
			}
		}
	}
}

var photobook_school_21x30 = {
	1:{
		element:'label',
		attributes:{"for":'page_count', "id":'page_count_label'},
		textnode:'Формат:'
	},
	2:{
		element:'select',
		listeners:{"change":photobook_school_calc},
		attributes:{"name":'page_count', "id":'page_count', "class":'small'},
		textnode:{
			1:{
				element:'option',
				attributes:{"value":'16'},
				textnode:'16'
			},
			2:{
				element:'option',
				attributes:{"value":'12'},
				textnode:'12'
			}
		}
	},
	3:{
		element:'input',
		attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
	}
	
}

var photobook_school_30x30 = {
	1:{
		element:'label',
		attributes:{"for":'page_count', "id":'page_count_label'},
		textnode:'Формат:'
	},
	2:{
		element:'select',
		listeners:{"change":photobook_school_calc},
		attributes:{"name":'page_count', "id":'page_count', "class":'small'},
		textnode:{
			1:{
				element:'option',
				attributes:{"value":'16'},
				textnode:'16'
			}
		}
	},
	3:{
		element:'input',
		attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
	}
}

var photobook_wedding = {
	1:{
		element:'td',
		attributes:{"id":'photobook_td', "colspan":'2'},
		textnode:{
			1:{
				element:'label',
				attributes:{"for":'count'},
				textnode:'Тираж:'
			},
			2:{
				element:'input',
				listeners:{"keyup":photobook_wedding_calc},
				attributes:{"name":'count', "id":'count', "type":'text', "class":'int', "maxlength":'3', "value":'0'}
			},
			3:{
				element:'label',
				attributes:{"for":'format'},
				textnode:'Формат:'
			},
			4:{
				element:'select',
				listeners:{"change":photobook_wedding_calc_select},
				attributes:{"name":'format', "id":'format', "class":'small'},
				textnode:{
					1:{
						element:'option',
						attributes:{"value":'15x21'},
						textnode:'15x21'
					},
					2:{
						element:'option',
						attributes:{"value":'20x20'},
						textnode:'20x20'
					},
					3:{
						element:'option',
						attributes:{"value":'21x30'},
						textnode:'21x30'
					},
					4:{
						element:'option',
						attributes:{"value":'30x30'},
						textnode:'30x30'
					}
				}
			},
			5:{
				element:'label',
				attributes:{"for":'page_count'},
				textnode:'К-ть сторінок:'
			},
			6:{
				element:'select',
				listeners:{"change":photobook_wedding_calc_select},
				attributes:{"name":'page_count', "id":'page_count', "class":'small'},
				textnode:{
					1:{
						element:'option',
						attributes:{"value":'40'},
						textnode:'40'
					},
					2:{
						element:'option',
						attributes:{"value":'32'},
						textnode:'32'
					},
					3:{
						element:'option',
						attributes:{"value":'24'},
						textnode:'24'
					}
				}
			},
			7:{
				element:'br'
			},
			8:{
				element:'br'
			}
		}
	}
}

var photobooks_wedding = {
	'15x21':{
		'24':{
			1:{
				element:'label',
				attributes:{"for":'page_add_count', "id":'page_add_count_label'},
				textnode:'Додаткові сторінки:'
			},
			2:{
				element:'select',
				listeners:{"change":photobook_wedding_calc},
				attributes:{"name":'page_add_count', "id":'page_add_count', "class":'small'},
				textnode:{
					0:{
						element:'option',
						attributes:{"value":'0'},
						textnode:'0'
					},
					1:{
						element:'option',
						attributes:{"value":'8'},
						textnode:'8'
					},
					2:{
						element:'option',
						attributes:{"value":'16'},
						textnode:'16'
					},
					3:{
						element:'option',
						attributes:{"value":'24'},
						textnode:'24'
					},
					4:{
						element:'option',
						attributes:{"value":'32'},
						textnode:'32'
					},
					5:{
						element:'option',
						attributes:{"value":'40'},
						textnode:'40'
					},
					6:{
						element:'option',
						attributes:{"value":'48'},
						textnode:'48'
					},
					7:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					8:{
						element:'option',
						attributes:{"value":'64'},
						textnode:'64'
					},
					9:{
						element:'option',
						attributes:{"value":'72'},
						textnode:'72'
					}
				}
			},
			3:{
				element:'input',
				attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
			}
		},
		'32':{
			1:{
				element:'label',
				attributes:{"for":'page_add_count', "id":'page_add_count_label'},
				textnode:'Додаткові сторінки:'
			},
			2:{
				element:'select',
				listeners:{"change":photobook_wedding_calc},
				attributes:{"name":'page_add_count', "id":'page_add_count', "class":'small'},
				textnode:{
					0:{
						element:'option',
						attributes:{"value":'0'},
						textnode:'0'
					},
					1:{
						element:'option',
						attributes:{"value":'8'},
						textnode:'8'
					},
					2:{
						element:'option',
						attributes:{"value":'16'},
						textnode:'16'
					},
					3:{
						element:'option',
						attributes:{"value":'24'},
						textnode:'24'
					},
					4:{
						element:'option',
						attributes:{"value":'32'},
						textnode:'32'
					},
					5:{
						element:'option',
						attributes:{"value":'40'},
						textnode:'40'
					},
					6:{
						element:'option',
						attributes:{"value":'48'},
						textnode:'48'
					},
					7:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					8:{
						element:'option',
						attributes:{"value":'64'},
						textnode:'64'
					}
				}
			},
			3:{
				element:'input',
				attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
			}
		},
		'40':{
			1:{
				element:'label',
				attributes:{"for":'page_add_count', "id":'page_add_count_label'},
				textnode:'Додаткові сторінки:'
			},
			2:{
				element:'select',
				listeners:{"change":photobook_wedding_calc},
				attributes:{"name":'page_add_count', "id":'page_add_count', "class":'small'},
				textnode:{
					0:{
						element:'option',
						attributes:{"value":'0'},
						textnode:'0'
					},
					1:{
						element:'option',
						attributes:{"value":'8'},
						textnode:'8'
					},
					2:{
						element:'option',
						attributes:{"value":'16'},
						textnode:'16'
					},
					3:{
						element:'option',
						attributes:{"value":'24'},
						textnode:'24'
					},
					4:{
						element:'option',
						attributes:{"value":'32'},
						textnode:'32'
					},
					5:{
						element:'option',
						attributes:{"value":'40'},
						textnode:'40'
					},
					6:{
						element:'option',
						attributes:{"value":'48'},
						textnode:'48'
					},
					7:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					}
				}
			},
			3:{
				element:'input',
				attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
			}
		}
	},
	'20x20':{
		'24':{
			1:{
				element:'label',
				attributes:{"for":'page_add_count', "id":'page_add_count_label'},
				textnode:'Додаткові сторінки:'
			},
			2:{
				element:'select',
				listeners:{"change":photobook_wedding_calc},
				attributes:{"name":'page_add_count', "id":'page_add_count', "class":'small'},
				textnode:{
					0:{
						element:'option',
						attributes:{"value":'0'},
						textnode:'0'
					},
					1:{
						element:'option',
						attributes:{"value":'4'},
						textnode:'4'
					},
					2:{
						element:'option',
						attributes:{"value":'8'},
						textnode:'8'
					},
					3:{
						element:'option',
						attributes:{"value":'12'},
						textnode:'12'
					},
					4:{
						element:'option',
						attributes:{"value":'16'},
						textnode:'16'
					},
					5:{
						element:'option',
						attributes:{"value":'20'},
						textnode:'20'
					},
					6:{
						element:'option',
						attributes:{"value":'24'},
						textnode:'24'
					},
					7:{
						element:'option',
						attributes:{"value":'28'},
						textnode:'28'
					},
					8:{
						element:'option',
						attributes:{"value":'32'},
						textnode:'32'
					},
					9:{
						element:'option',
						attributes:{"value":'36'},
						textnode:'36'
					},
					10:{
						element:'option',
						attributes:{"value":'40'},
						textnode:'40'
					},
					11:{
						element:'option',
						attributes:{"value":'44'},
						textnode:'44'
					},
					12:{
						element:'option',
						attributes:{"value":'48'},
						textnode:'48'
					},
					13:{
						element:'option',
						attributes:{"value":'52'},
						textnode:'52'
					},
					14:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					15:{
						element:'option',
						attributes:{"value":'60'},
						textnode:'60'
					},
					16:{
						element:'option',
						attributes:{"value":'64'},
						textnode:'64'
					},
					17:{
						element:'option',
						attributes:{"value":'68'},
						textnode:'68'
					},
					18:{
						element:'option',
						attributes:{"value":'72'},
						textnode:'72'
					},
					19:{
						element:'option',
						attributes:{"value":'76'},
						textnode:'76'
					}
				}
			},
			3:{
				element:'input',
				attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
			}
		},
		'32':{
			1:{
				element:'label',
				attributes:{"for":'page_add_count', "id":'page_add_count_label'},
				textnode:'Додаткові сторінки:'
			},
			2:{
				element:'select',
				listeners:{"change":photobook_wedding_calc},
				attributes:{"name":'page_add_count', "id":'page_add_count', "class":'small'},
				textnode:{
					0:{
						element:'option',
						attributes:{"value":'0'},
						textnode:'0'
					},
					1:{
						element:'option',
						attributes:{"value":'4'},
						textnode:'4'
					},
					2:{
						element:'option',
						attributes:{"value":'8'},
						textnode:'8'
					},
					3:{
						element:'option',
						attributes:{"value":'12'},
						textnode:'12'
					},
					4:{
						element:'option',
						attributes:{"value":'16'},
						textnode:'16'
					},
					5:{
						element:'option',
						attributes:{"value":'20'},
						textnode:'20'
					},
					6:{
						element:'option',
						attributes:{"value":'24'},
						textnode:'24'
					},
					7:{
						element:'option',
						attributes:{"value":'28'},
						textnode:'28'
					},
					8:{
						element:'option',
						attributes:{"value":'32'},
						textnode:'32'
					},
					9:{
						element:'option',
						attributes:{"value":'36'},
						textnode:'36'
					},
					10:{
						element:'option',
						attributes:{"value":'40'},
						textnode:'40'
					},
					11:{
						element:'option',
						attributes:{"value":'44'},
						textnode:'44'
					},
					12:{
						element:'option',
						attributes:{"value":'48'},
						textnode:'48'
					},
					13:{
						element:'option',
						attributes:{"value":'52'},
						textnode:'52'
					},
					14:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					15:{
						element:'option',
						attributes:{"value":'60'},
						textnode:'60'
					},
					16:{
						element:'option',
						attributes:{"value":'64'},
						textnode:'64'
					},
					17:{
						element:'option',
						attributes:{"value":'68'},
						textnode:'68'
					}
				}
			},
			3:{
				element:'input',
				attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
			}
		},
		'40':{
			1:{
				element:'label',
				attributes:{"for":'page_add_count', "id":'page_add_count_label'},
				textnode:'Додаткові сторінки:'
			},
			2:{
				element:'select',
				listeners:{"change":photobook_wedding_calc},
				attributes:{"name":'page_add_count', "id":'page_add_count', "class":'small'},
				textnode:{
					0:{
						element:'option',
						attributes:{"value":'0'},
						textnode:'0'
					},
					1:{
						element:'option',
						attributes:{"value":'4'},
						textnode:'4'
					},
					2:{
						element:'option',
						attributes:{"value":'8'},
						textnode:'8'
					},
					3:{
						element:'option',
						attributes:{"value":'12'},
						textnode:'12'
					},
					4:{
						element:'option',
						attributes:{"value":'16'},
						textnode:'16'
					},
					5:{
						element:'option',
						attributes:{"value":'20'},
						textnode:'20'
					},
					6:{
						element:'option',
						attributes:{"value":'24'},
						textnode:'24'
					},
					7:{
						element:'option',
						attributes:{"value":'28'},
						textnode:'28'
					},
					8:{
						element:'option',
						attributes:{"value":'32'},
						textnode:'32'
					},
					9:{
						element:'option',
						attributes:{"value":'36'},
						textnode:'36'
					},
					10:{
						element:'option',
						attributes:{"value":'40'},
						textnode:'40'
					},
					11:{
						element:'option',
						attributes:{"value":'44'},
						textnode:'44'
					},
					12:{
						element:'option',
						attributes:{"value":'48'},
						textnode:'48'
					},
					13:{
						element:'option',
						attributes:{"value":'52'},
						textnode:'52'
					},
					14:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					15:{
						element:'option',
						attributes:{"value":'60'},
						textnode:'60'
					}
				}
			},
			3:{
				element:'input',
				attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
			}
		}
	},
	'30x30':{
		'24':{
			1:{
				element:'label',
				attributes:{"for":'page_add_count', "id":'page_add_count_label'},
				textnode:'Додаткові сторінки:'
			},
			2:{
				element:'select',
				listeners:{"change":photobook_wedding_calc},
				attributes:{"name":'page_add_count', "id":'page_add_count', "class":'small'},
				textnode:{
					0:{
						element:'option',
						attributes:{"value":'0'},
						textnode:'0'
					},
					1:{
						element:'option',
						attributes:{"value":'2'},
						textnode:'2'
					},
					2:{
						element:'option',
						attributes:{"value":'4'},
						textnode:'4'
					},
					3:{
						element:'option',
						attributes:{"value":'6'},
						textnode:'6'
					},
					4:{
						element:'option',
						attributes:{"value":'8'},
						textnode:'8'
					},
					5:{
						element:'option',
						attributes:{"value":'10'},
						textnode:'10'
					},
					6:{
						element:'option',
						attributes:{"value":'12'},
						textnode:'12'
					},
					7:{
						element:'option',
						attributes:{"value":'14'},
						textnode:'14'
					},
					8:{
						element:'option',
						attributes:{"value":'16'},
						textnode:'16'
					},
					9:{
						element:'option',
						attributes:{"value":'18'},
						textnode:'18'
					},
					10:{
						element:'option',
						attributes:{"value":'20'},
						textnode:'20'
					},
					11:{
						element:'option',
						attributes:{"value":'22'},
						textnode:'22'
					},
					12:{
						element:'option',
						attributes:{"value":'24'},
						textnode:'24'
					},
					13:{
						element:'option',
						attributes:{"value":'26'},
						textnode:'26'
					},
					14:{
						element:'option',
						attributes:{"value":'28'},
						textnode:'28'
					},
					15:{
						element:'option',
						attributes:{"value":'30'},
						textnode:'30'
					},
					16:{
						element:'option',
						attributes:{"value":'32'},
						textnode:'32'
					},
					17:{
						element:'option',
						attributes:{"value":'34'},
						textnode:'34'
					},
					18:{
						element:'option',
						attributes:{"value":'36'},
						textnode:'36'
					},
					19:{
						element:'option',
						attributes:{"value":'38'},
						textnode:'38'
					},
					20:{
						element:'option',
						attributes:{"value":'40'},
						textnode:'40'
					},
					21:{
						element:'option',
						attributes:{"value":'42'},
						textnode:'42'
					},
					22:{
						element:'option',
						attributes:{"value":'44'},
						textnode:'44'
					},
					23:{
						element:'option',
						attributes:{"value":'46'},
						textnode:'46'
					},
					24:{
						element:'option',
						attributes:{"value":'48'},
						textnode:'48'
					},
					25:{
						element:'option',
						attributes:{"value":'50'},
						textnode:'50'
					},
					26:{
						element:'option',
						attributes:{"value":'54'},
						textnode:'54'
					},
					27:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					28:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					29:{
						element:'option',
						attributes:{"value":'58'},
						textnode:'58'
					},
					30:{
						element:'option',
						attributes:{"value":'60'},
						textnode:'60'
					},
					31:{
						element:'option',
						attributes:{"value":'62'},
						textnode:'62'
					},
					32:{
						element:'option',
						attributes:{"value":'64'},
						textnode:'64'
					},
					33:{
						element:'option',
						attributes:{"value":'66'},
						textnode:'66'
					},
					34:{
						element:'option',
						attributes:{"value":'68'},
						textnode:'68'
					},
					35:{
						element:'option',
						attributes:{"value":'70'},
						textnode:'70'
					},
					36:{
						element:'option',
						attributes:{"value":'72'},
						textnode:'72'
					},
					37:{
						element:'option',
						attributes:{"value":'74'},
						textnode:'74'
					},
					38:{
						element:'option',
						attributes:{"value":'76'},
						textnode:'76'
					}
				}
			},
			3:{
				element:'input',
				attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
			}
		},
		'32':{
			1:{
				element:'label',
				attributes:{"for":'page_add_count', "id":'page_add_count_label'},
				textnode:'Додаткові сторінки:'
			},
			2:{
				element:'select',
				listeners:{"change":photobook_wedding_calc},
				attributes:{"name":'page_add_count', "id":'page_add_count', "class":'small'},
				textnode:{
					0:{
						element:'option',
						attributes:{"value":'0'},
						textnode:'0'
					},
					1:{
						element:'option',
						attributes:{"value":'2'},
						textnode:'2'
					},
					2:{
						element:'option',
						attributes:{"value":'4'},
						textnode:'4'
					},
					3:{
						element:'option',
						attributes:{"value":'6'},
						textnode:'6'
					},
					4:{
						element:'option',
						attributes:{"value":'8'},
						textnode:'8'
					},
					5:{
						element:'option',
						attributes:{"value":'10'},
						textnode:'10'
					},
					6:{
						element:'option',
						attributes:{"value":'12'},
						textnode:'12'
					},
					7:{
						element:'option',
						attributes:{"value":'14'},
						textnode:'14'
					},
					8:{
						element:'option',
						attributes:{"value":'16'},
						textnode:'16'
					},
					9:{
						element:'option',
						attributes:{"value":'18'},
						textnode:'18'
					},
					10:{
						element:'option',
						attributes:{"value":'20'},
						textnode:'20'
					},
					11:{
						element:'option',
						attributes:{"value":'22'},
						textnode:'22'
					},
					12:{
						element:'option',
						attributes:{"value":'24'},
						textnode:'24'
					},
					13:{
						element:'option',
						attributes:{"value":'26'},
						textnode:'26'
					},
					14:{
						element:'option',
						attributes:{"value":'28'},
						textnode:'28'
					},
					15:{
						element:'option',
						attributes:{"value":'30'},
						textnode:'30'
					},
					16:{
						element:'option',
						attributes:{"value":'32'},
						textnode:'32'
					},
					17:{
						element:'option',
						attributes:{"value":'34'},
						textnode:'34'
					},
					18:{
						element:'option',
						attributes:{"value":'36'},
						textnode:'36'
					},
					19:{
						element:'option',
						attributes:{"value":'38'},
						textnode:'38'
					},
					20:{
						element:'option',
						attributes:{"value":'40'},
						textnode:'40'
					},
					21:{
						element:'option',
						attributes:{"value":'42'},
						textnode:'42'
					},
					22:{
						element:'option',
						attributes:{"value":'44'},
						textnode:'44'
					},
					23:{
						element:'option',
						attributes:{"value":'46'},
						textnode:'46'
					},
					24:{
						element:'option',
						attributes:{"value":'48'},
						textnode:'48'
					},
					25:{
						element:'option',
						attributes:{"value":'50'},
						textnode:'50'
					},
					26:{
						element:'option',
						attributes:{"value":'54'},
						textnode:'54'
					},
					27:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					28:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					29:{
						element:'option',
						attributes:{"value":'58'},
						textnode:'58'
					},
					30:{
						element:'option',
						attributes:{"value":'60'},
						textnode:'60'
					},
					31:{
						element:'option',
						attributes:{"value":'62'},
						textnode:'62'
					},
					32:{
						element:'option',
						attributes:{"value":'64'},
						textnode:'64'
					},
					33:{
						element:'option',
						attributes:{"value":'66'},
						textnode:'66'
					},
					34:{
						element:'option',
						attributes:{"value":'68'},
						textnode:'68'
					}
				}
			},
			3:{
				element:'input',
				attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
			}
		},
		'40':{
			1:{
				element:'label',
				attributes:{"for":'page_add_count', "id":'page_add_count_label'},
				textnode:'Додаткові сторінки:'
			},
			2:{
				element:'select',
				listeners:{"change":photobook_wedding_calc},
				attributes:{"name":'page_add_count', "id":'page_add_count', "class":'small'},
				textnode:{
					0:{
						element:'option',
						attributes:{"value":'0'},
						textnode:'0'
					},
					1:{
						element:'option',
						attributes:{"value":'2'},
						textnode:'2'
					},
					2:{
						element:'option',
						attributes:{"value":'4'},
						textnode:'4'
					},
					3:{
						element:'option',
						attributes:{"value":'6'},
						textnode:'6'
					},
					4:{
						element:'option',
						attributes:{"value":'8'},
						textnode:'8'
					},
					5:{
						element:'option',
						attributes:{"value":'10'},
						textnode:'10'
					},
					6:{
						element:'option',
						attributes:{"value":'12'},
						textnode:'12'
					},
					7:{
						element:'option',
						attributes:{"value":'14'},
						textnode:'14'
					},
					8:{
						element:'option',
						attributes:{"value":'16'},
						textnode:'16'
					},
					9:{
						element:'option',
						attributes:{"value":'18'},
						textnode:'18'
					},
					10:{
						element:'option',
						attributes:{"value":'20'},
						textnode:'20'
					},
					11:{
						element:'option',
						attributes:{"value":'22'},
						textnode:'22'
					},
					12:{
						element:'option',
						attributes:{"value":'24'},
						textnode:'24'
					},
					13:{
						element:'option',
						attributes:{"value":'26'},
						textnode:'26'
					},
					14:{
						element:'option',
						attributes:{"value":'28'},
						textnode:'28'
					},
					15:{
						element:'option',
						attributes:{"value":'30'},
						textnode:'30'
					},
					16:{
						element:'option',
						attributes:{"value":'32'},
						textnode:'32'
					},
					17:{
						element:'option',
						attributes:{"value":'34'},
						textnode:'34'
					},
					18:{
						element:'option',
						attributes:{"value":'36'},
						textnode:'36'
					},
					19:{
						element:'option',
						attributes:{"value":'38'},
						textnode:'38'
					},
					20:{
						element:'option',
						attributes:{"value":'40'},
						textnode:'40'
					},
					21:{
						element:'option',
						attributes:{"value":'42'},
						textnode:'42'
					},
					22:{
						element:'option',
						attributes:{"value":'44'},
						textnode:'44'
					},
					23:{
						element:'option',
						attributes:{"value":'46'},
						textnode:'46'
					},
					24:{
						element:'option',
						attributes:{"value":'48'},
						textnode:'48'
					},
					25:{
						element:'option',
						attributes:{"value":'50'},
						textnode:'50'
					},
					26:{
						element:'option',
						attributes:{"value":'54'},
						textnode:'54'
					},
					27:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					28:{
						element:'option',
						attributes:{"value":'56'},
						textnode:'56'
					},
					29:{
						element:'option',
						attributes:{"value":'58'},
						textnode:'58'
					},
					30:{
						element:'option',
						attributes:{"value":'60'},
						textnode:'60'
					}
				}
			},
			3:{
				element:'input',
				attributes:{"name":'total', "id":'total', "type":'text', "class":'int3', "value":'0.00'}
			}
		}
	}
}
