if(!bundleBuilder) var bundleBuilder = {};

bundleBuilder.productData = {
	"Services": [ {
		"Name": "Broadband",
		"Img": "/images/bundle-builder/icon-broadband.gif",
		"Products": [
			{"Size": "L",
			 "Link": "/websales/product.do?id=3264",
			 "Summary": "Up to 10Mb fibre optic broadband"},
			{"Size": "XL",
			 "Link": "/websales/product.do?id=3246",
			 "Summary": "Up to 20Mb fibre optic broadband"},
			{"Size": "XXL",
			 "Link": "/websales/product.do?id=15208",
			 "Summary": "Up to 50Mb fibre optic broadband"}]
		},{
		"Name": "TV",
		"Img": "/images/bundle-builder/icon-tv.gif",
		"Products": [
			{"Size": "M+",
			 "Link": "/websales/product.do?id=16661",
			 "Summary": "Over 65 digital TV channels"},
			{"Size": "L",
			 "Link": "/websales/product.do?id=20",
			 "Summary": "Over 100 digital TV channels",
			 "Extras": [[2,2]]},
			{"Size": "XL",
			 "Link": "/websales/product.do?id=21",
			 "Summary": "Over 165 digital TV channels",
			 "Extras": [[1,2],[2,3],[3,2]]}]
		},{
		"Name": "Phone",		
		"Img": "/images/bundle-builder/icon-phone.gif",
		"Products": [
			{"Size": "M",
			 "Link": "/websales/product.do?id=3001",
			 "Summary": "Unlimited weekend UK landline calls",
			 "Discounts": [[1,1]]},
			{"Size": "L",
			 "Link": "/websales/product.do?id=10256",
			 "Summary": "Unlimited evening and weekend UK landline calls",
			 "Discounts": [[1,2]]},
			{"Size": "XL",
			 "Link": "/websales/product.do?id=10258",
			 "Summary": "Unlimited anytime UK landline calls",
			 "Discounts": [[1,3]]}]
		}
	],
	"Bundles": [ [
		[
			{"Tracking": "LPM",
			 "Purchase": "id=3264&id=16661&id=3001",
			 "Price": 19.50},
			{"Tracking": "LPL",
			 "Purchase": "id=3264&id=16661&id=10256",
			 "Price": 22.95},
			{"Tracking": "LPX",
			 "Purchase": "id=3264&id=16661&id=10258",
			 "Price": 27.45}
		],[
			{"Tracking": "LLM",
			 "Purchase": "id=3264&id=20&id=3001",
			 "Price": 24.00},
			{"Tracking": "LLL",
			 "Purchase": "id=3264&id=20&id=10256",
			 "Price": 27.45},
			{"Tracking": "LLX",
			 "Purchase": "id=3264&id=20&id=10258",
			 "Price": 31.95}
		],[
			{"Tracking": "LXM",
			 "Purchase": "id=21&id=3001&id=3264",
			 "Price": 35.00 },
			{"Tracking": "LXL",
			 "Purchase": "id=3264&id=21&id=10256",
			 "Price": 38.45 },
			{"Tracking": "LXX",
			 "Purchase": "id=3264&id=21&id=10258",
			 "Price": 42.95 }
		]
	],[
		[
			{"Tracking": "XPM",
			 "Purchase": "id=16661&id=14927",
			 "Price": 25.50},
			{"Tracking": "XPL",
			 "Purchase": "id=3246&id=16661&id=10256",
			 "Price": 28.95},
			{"Tracking": "XPX",
			 "Purchase": "id=3246&id=16661&id=10258",
			 "Price": 33.45}
		],[
			{"Tracking": "XLM",
			 "Purchase": "id=3246&id=20&id=3001",
			 "Price": 30},
			{"Tracking": "XLL",
			 "Purchase": "id=3246&id=20&id=10256",
			 "Price": 33.45},
			{"Tracking": "XLX",
			 "Purchase": "id=3246&id=20&id=10258",
			 "Price": 37.95}
		],[
			{"Tracking": "XXM",
			 "Purchase": "id=3246&id=21&id=3001",
			 "Price": 41.50 },
			{"Tracking": "XXL",
			 "Purchase": "id=3246&id=21&id=10256",
			 "Price": 44.95 },
			{"Tracking": "XXX",
			 "Purchase": "id=3246&id=21&id=10258",
			 "Price": 47,
			 "Discounts": [[1,4]] }
		]
	],[
		[
			{"Tracking": "5PM",
			 "Purchase": "id=15208&id=16661&id=3001",
			 "Price": 33.50},
			{"Tracking": "5PL",
			 "Purchase": "id=15208&id=16661&id=10256",
			 "Price": 36.95},
			{"Tracking": "5PX",
			 "Purchase": "id=15208&id=16661&id=10258",
			 "Price": 41.45}
		],[
			{"Tracking": "5LM",
			 "Purchase": "id=15208&id=20&id=3001",
			 "Price": 38},
			{"Tracking": "5LL",
			 "Purchase": "id=15208&id=20&id=10256",
			 "Price": 41.45},
			{"Tracking": "5LX",
			 "Purchase": "id=15208&id=20&id=10258",
			 "Price": 45.95}
		],[
			{"Tracking": "5XM",
			 "Purchase": "id=15208&id=21&id=3001",
			 "Price": 49.50 },
			{"Tracking": "5XL",
			 "Purchase": "id=15208&id=21&id=10256",
			 "Price": 52.95 },
			{"Tracking": "5XX",
			 "Purchase": "id=15208&id=21&id=10258",
			 "Price": 55,
			 "Discounts": [[1,4]] }
		]
	] ],
	"Discounts": [ 
		[ {
			"Duration": 2,
			"ServicePrice": 0
		  },{
			"Duration": 2,
			"ServicePrice": 3.45
		  },{
			"Duration": 2,
			"ServicePrice": 7.95
		  },{
			"Duration": 2,
			"ServicePrice": 5.50
		} ],
/* Slightly convoluted way of handling interaction between Sky Movies and Sky Sports collections. */
/* With neither selected there is no discount, when either one is selected the two discounts will */
/* add to 0, only when both are selected will a total discount apply.                             */
		[ {
			"Discount": -8.50
		  },{
			"Discount": -6.25
		  },{
			"Discount": 8.50
		  },{
			"Discount": 6.25
		} ],
		[ {
			"Discount": -8.50
		  },{
			"Discount": -6.25
		  },{
			"Discount": 8.50
		  },{
			"Discount": 6.25
		} ]
	]
};
