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.00},
			{"Tracking": "LPL",
			 "Purchase": "id=3264&id=16661&id=10256",
			 "Price": 22.45},
			{"Tracking": "LPX",
			 "Purchase": "id=3264&id=16661&id=10258",
			 "Price": 26.95}
		],[
			{"Tracking": "LLM",
			 "Purchase": "id=3264&id=20&id=3001",
			 "Price": 23.50},
			{"Tracking": "LLL",
			 "Purchase": "id=3264&id=20&id=10256",
			 "Price": 26.95},
			{"Tracking": "LLX",
			 "Purchase": "id=3264&id=20&id=10258",
			 "Price": 31.45}
		],[
			{"Tracking": "LXM",
			 "Purchase": "id=21&id=3001&id=3264",
			 "Price": 35.50 },
			{"Tracking": "LXL",
			 "Purchase": "id=3264&id=21&id=10256",
			 "Price": 38.95 },
			{"Tracking": "LXX",
			 "Purchase": "id=3264&id=21&id=10258",
			 "Price": 43.45 }
		]
	],[
		[
			{"Tracking": "XPM",
			 "Purchase": "id=16661&id=14927",
			 "Price": 26.50},
			{"Tracking": "XPL",
			 "Purchase": "id=3246&id=16661&id=10256",
			 "Price": 29.95},
			{"Tracking": "XPX",
			 "Purchase": "id=3246&id=16661&id=10258",
			 "Price": 34.45}
		],[
			{"Tracking": "XLM",
			 "Purchase": "id=3246&id=20&id=3001",
			 "Price": 31.00},
			{"Tracking": "XLL",
			 "Purchase": "id=3246&id=20&id=10256",
			 "Price": 34.45},
			{"Tracking": "XLX",
			 "Purchase": "id=3246&id=20&id=10258",
			 "Price": 38.95}
		],[
			{"Tracking": "XXM",
			 "Purchase": "id=3246&id=21&id=3001",
			 "Price": 43.00 },
			{"Tracking": "XXL",
			 "Purchase": "id=3246&id=21&id=10256",
			 "Price": 46.45 },
			{"Tracking": "XXX",
			 "Purchase": "id=3246&id=21&id=10258",
			 "Price": 46.01,
			 "Discounts": [[1,4]] }
		]
	],[
		[
			{"Tracking": "5PM",
			 "Purchase": "id=15208&id=16661&id=3001",
			 "Price": 34.50},
			{"Tracking": "5PL",
			 "Purchase": "id=15208&id=16661&id=10256",
			 "Price": 37.95},
			{"Tracking": "5PX",
			 "Purchase": "id=15208&id=16661&id=10258",
			 "Price": 42.45}
		],[
			{"Tracking": "5LM",
			 "Purchase": "id=15208&id=20&id=3001",
			 "Price": 39},
			{"Tracking": "5LL",
			 "Purchase": "id=15208&id=20&id=10256",
			 "Price": 42.45},
			{"Tracking": "5LX",
			 "Purchase": "id=15208&id=20&id=10258",
			 "Price": 45.95}
		],[
			{"Tracking": "5XM",
			 "Purchase": "id=15208&id=21&id=3001",
			 "Price": 51.00 },
			{"Tracking": "5XL",
			 "Purchase": "id=15208&id=21&id=10256",
			 "Price": 54.45 },
			{"Tracking": "5XX",
			 "Purchase": "id=15208&id=21&id=10258",
			 "Price": 54.01,
			 "Discounts": [[1,4]] }
		]
	] ],
	"Discounts": [ 
		[ {
			"Duration": 2,
			"ServicePrice": 0
		  },{
			"Duration": 2,
			"ServicePrice": 3.45
		  },{
			"Duration": 2,
			"ServicePrice": 7.95
		  },{
			"Duration": 2,
			"ServicePrice": 3.01
		} ],
/* 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": -6.25
		  },{
			"Discount": -6.25
		  },{
			"Discount": 6.25
		  },{
			"Discount": 6.25
		} ],
		[ {
			"Discount": -6.25
		  },{
			"Discount": -6.25
		  },{
			"Discount": 6.25
		  },{
			"Discount": 6.25
		} ]
	]
};

