// !!! PLEASE READ !!!
// Only ADD the follwoing categories if they ARE required. 
// Do NOT leave blank variables in this array. 

// productTitle = Product Title 
// rcode 		= Redemption Code
// rcode_plus	= Redemption Code for same product with points + $
// rpoints		= Points required for purchase
// rpoints_plus = Points + $ requred for purchase
// pClass 		= Product Class Category: "bonusClass", "goldClass", "dollarClass", "goldClass".
// productDesc	= Description
// image_src	= Image Source for Thumbnail 

// IF PAGE BREAKS, check:
// Are all { }, [ ], ; , and " " closed?
// Are there no empty or undefined elements?
// Is the product_array[NUMBER] correct? (No double up objects, no mixed numbers within an object.)

var coles_gift_cards = "Coles offer a great variety of products at everyday low prices, so why not redeem your Rewards Points for a Coles gift card!</i>";
var freedom_gift_cards = "Treat yourself with gift cards to be used for Freedom furniture and homewares. Select from a range of furniture and accessories, including storage solutions, home office, kitchenware, lighting, bathroom accessories and bed linen. For store locations visit www.freedom.com.au <br/><i> Conditions & exclusions apply. Please see instore or visit freedom.com.au/giftcard </i>";
var bunnings_gift_cards = "Use your Rewards Points for gift cards that can be used at Bunnings Warehouse, Australia's leading home improvement centre. For more information visit <strong>www.bunnings.com.au</strong>";
var harvey_norman_gift_cards = "Redeem your Rewards Points for Gift Cards to be used to obtain furniture, electrical goods, small appliances, computers and communications, bedding and manchester from Australia's leading retailer. ";


var page;
var x = 0;

if (page == "automotive") {
	
	var product_array = new Array();


	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Astra Chauffered Limousines - $100 Gift Certificate";
	product_array[x]["rcode"] 				= 3900;
	product_array[x]["rpoints"] 			= "18,000";
	product_array[x]["productDesc"] 		= "The tradition Astra started in 1883 of providing the highest standard of service and style continues today. Astra is one of Australia's oldest chauffeured limousine companies, offering prestige limousine services throughout Australia and New Zealand. <br /><br />For more information and bookings visit <strong>www.astralimousines.com.au</strong> or call <strong>1300 130 855</strong>.";
	product_array[x]["image_src"] 			= "astra";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Beaurepaires - $50 Gift Card";
	product_array[x]["rcode"] 				= 3201;
	product_array[x]["rpoints"] 			= "9,000";
	product_array[x]["productDesc"]			= "As Australia's largest tyre retailer with over 300 stores around the country, Beaurepaires specialise in the sale of tyres, wheels and batteries for almost every application. With a commitment to total customer satisfaction, you can be assured of the highest level of professional service and advice from Beaurepaires. Call <strong>13 23 81</strong> for your local store or visit <strong>www.beaurepaires.com.au</strong>";
	product_array[x]["image_src"] 			= "beaurepaires";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Beaurepaires - $100 Gift Card";
	product_array[x]["rcode"] 				= 3202;
	product_array[x]["rpoints"]				= "18,000";
	product_array[x]["productDesc"]			= "As Australia's largest tyre retailer with over 300 stores around the country, Beaurepaires specialise in the sale of tyres, wheels and batteries for almost every application. With a commitment to total customer satisfaction, you can be assured of the highest level of professional service and advice from Beaurepaires. Call <strong>13 23 81</strong> for your local store or visit <strong>www.beaurepaires.com.au</strong>";
	product_array[x]["image_src"] 			= "beaurepaires";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "$100 BP Stored Value Card";
	product_array[x]["rcode"] 				= 3350;
	product_array[x]["rpoints"]				= "20,000";
	product_array[x]["productDesc"] 		= "BP stored value cards are the easiest way to pay for your petrol. They're practical and convenient, and can be used to purchase goods and services at participating service stations across Australia. For more information on stored and service locations visit <strong>www.bp.com.au</strong>";
	product_array[x]["image_src"] 			= "bp_gas";
	
}
else if (page == "clothing_footware") {
	
	var product_array = new Array();

	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Bras 'n Things $50 Gift Card";
	product_array[x]["rcode"] 				= 5602;
	product_array[x]["rpoints"]				= "8,800";
	product_array[x]["productDesc"]			= "Reward yourself or a loved one with a Gift Card to be used at Bras 'n Things, Australia's largest lingerie chain, boasting approximately 140 stores nationally. Let one of our fitting specialists ensure you walk away with our unique comfort promise. Come in and spoil yourself with our exciting range of women's lingerie, sleepwear, swimwear and accessories.";
	product_array[x]["image_src"] 			= "brasn_things";
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Nine West $50 Gift Voucher";
	product_array[x]["rcode"] 				= 5710;
	product_array[x]["rpoints"]				= "9,000";
	product_array[x]["productDesc"]			= "Indulge yourself at Nine West this season. Your Gift Voucher will allow you to shop at one of the largest & foremost women's footware & accessory companies in the world. Visit <strong>www.ninewest.com.au</strong> for store locations. ";
	product_array[x]["image_src"] 			= "nine_west";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Nine West $100 Gift Voucher";
	product_array[x]["rcode"] 				= 5711;
	product_array[x]["rpoints"]				= "18,000";
	product_array[x]["productDesc"]			= "Indulge yourself at Nine West this season. Your Gift Voucher will allow you to shop at one of the largest & foremost women's footware & accessory companies in the world. Visit <strong>www.ninewest.com.au</strong> for store locations. ";
	product_array[x]["image_src"] 			= "nine_west";
	product_array[x]["multi_end"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "R.M. Williams $50 Gift Card";
	product_array[x]["rcode"] 				= 5720;
	product_array[x]["rpoints"]				= "8,000";
	product_array[x]["productDesc"]			= "R.M.Williams has been producing quality handcrafted boots and clothing for over 70 years. Redeem your Rewards Points for an R.M.Williams Gift Card. For further information on R.M.Williams visit www.rmwilliams.com.au ";
	product_array[x]["image_src"] 			= "rm_will";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "R.M. Williams $100 Gift Card";
	product_array[x]["rcode"] 				= 5721;
	product_array[x]["rpoints"]				= "16,000";
	product_array[x]["productDesc"]			= "R.M.Williams has been producing quality handcrafted boots and clothing for over 70 years. Redeem your Rewards Points for an R.M.Williams Gift Card. For further information on R.M.Williams visit www.rmwilliams.com.au ";
	product_array[x]["image_src"] 			= "rm_will";
	product_array[x]["multi_end"]			= 1;

}
else if (page == "furniture_homeware") {
	
	var product_array = new Array();

	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Freedom Furniture $50 Gift Card";
	product_array[x]["rcode"] 				= 6050;
	product_array[x]["rpoints"] 			= "9,200";
	product_array[x]["productDesc"] 		= freedom_gift_cards;
	product_array[x]["image_src"] 			= "freedom";
	product_array[x]["multi_start"]			= 1;

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Freedom Furniture $100 Gift Card";
	product_array[x]["rcode"] 				= 6051;
	product_array[x]["rpoints"] 			= "18,400";
	product_array[x]["productDesc"] 		= freedom_gift_cards;
	product_array[x]["image_src"] 			= "freedom";
	product_array[x]["multi_end"]			= 1;

	// IF several products of the same brand/company share the SAME DESCRIPTION, create a variable to store the description ONCE and use it as often as needed.

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Bunnings Warehouse $50 Gift Card";
	product_array[x]["rcode"] 				= 6101;
	product_array[x]["rpoints"] 			= "10,000";
	product_array[x]["productDesc"] 		= bunnings_gift_cards;
	product_array[x]["image_src"] 			= "bunnings";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Bunnings Warehouse $100 Gift Card";
	product_array[x]["rcode"] 				= 6102;
	product_array[x]["rpoints"] 			= "20,000";
	product_array[x]["productDesc"] 		= bunnings_gift_cards;
	product_array[x]["image_src"] 			= "bunnings";
	product_array[x]["multi_end"]			= 1;

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Harvey Norman $50 Gift Card";
	product_array[x]["rcode"] 				= 6505;
	product_array[x]["rpoints"] 			= "9,800";
	product_array[x]["productDesc"] 		= harvey_norman_gift_cards;
	product_array[x]["image_src"] 			= "harveyn";
	product_array[x]["multi_start"]			= 1;

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Harvey Norman $100 Gift Card";
	product_array[x]["rcode"] 				= 6506;
	product_array[x]["rpoints"] 			= "19,600";
	product_array[x]["productDesc"] 		= harvey_norman_gift_cards;
	product_array[x]["image_src"] 			= "harveyn";
	product_array[x]["multi"]				= 1;


	
}
else if (page == "retail") {
	

	var product_array = new Array();

	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "$50 WISH Gift Card";
	product_array[x]["rcode"] 				= 6520;
	product_array[x]["rpoints"]				= "9,500";
	product_array[x]["productDesc"]			= "What could be better than giving or receiving a gift that's always perfect? With the WISH Gift Card that's exactly what you get!";
	product_array[x]["image_src"] 			= "wishcard";
	product_array[x]["multi_start"]			= 1;

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "$100 WISH Gift Card";
	product_array[x]["rcode"] 				= 6521;
	product_array[x]["rpoints"]				= "19,000";
	product_array[x]["productDesc"]			= "What could be better than giving or receiving a gift that's always perfect? With the WISH Gift Card that's exactly what you get!";
	product_array[x]["image_src"] 			= "wishcard";
	product_array[x]["multi_end"]			= 1;


	
	x = x + 1;
	
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Bras 'n Things $50 Gift Card";
	product_array[x]["rcode"] 				= 5602;
	product_array[x]["rpoints"]				= "8,800";
	product_array[x]["productDesc"]			= "Reward yourself or a loved one with a Gift Card to be used at Bras 'n Things, Australia's largest lingerie chain, boasting approximately 140 stores nationally. Let one of our fitting specialists ensure you walk away with our unique comfort promise. Come in and spoil yourself with our exciting range of women's lingerie, sleepwear, swimwear and accessories.";
	product_array[x]["image_src"] 			= "brasn_things";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Cerrone $250 Gift Voucher";
	product_array[x]["rcode"] 				= 6007;
	product_array[x]["rpoints"]				= "40,000";
	product_array[x]["productDesc"]			= "Cerrone - $250 Gift Card";
	product_array[x]["image_src"] 			= "cerrone";
	product_array[x]["pClass"]				= new Array("goldClass", "premierClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Coles $50 Gift Card";
	product_array[x]["rcode"] 				= 5150;
	product_array[x]["rpoints"] 			= "9,500";
	product_array[x]["productDesc"] 		= coles_gift_cards;
	product_array[x]["image_src"] 			= "coles";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Coles $100 Gift Card";
	product_array[x]["rcode"] 				= 5151;
	product_array[x]["rpoints"] 			= "19,000";
	product_array[x]["productDesc"] 		= coles_gift_cards;
	product_array[x]["image_src"] 			= "coles";
	product_array[x]["multi_end"]			= 1;


var david_jones = "David Jones is renowned for providing a world-class showcase with the finest range of brands, covering everything from fashion and cosmetics to homewares and fabulous food. So reward yourself with a David Jones gift card and enjoy the choice of products from the best local and international brands.<br /><br />There's no other store like David Jones.";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "David Jones $50 Gift Card";
	product_array[x]["rcode"] 				= 6011;
	product_array[x]["rpoints"]				= "10,000";
	product_array[x]["productDesc"]			= david_jones;
	product_array[x]["image_src"] 			= "david_j";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "David Jones $100 Gift Card";
	product_array[x]["rcode"] 				= 6012;
	product_array[x]["rpoints"]				= "20,000";
	product_array[x]["productDesc"]			= david_jones;
	product_array[x]["image_src"] 			= "david_j";
	product_array[x]["multi"]				= 1;

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "David Jones $150 Gift Card";
	product_array[x]["rcode"] 				= 6013;
	product_array[x]["rpoints"]				= "30,000";
	product_array[x]["productDesc"]			= david_jones;
	product_array[x]["image_src"] 			= "david_j";
	product_array[x]["multi"]				= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "David Jones $250 Gift Card";
	product_array[x]["rcode"] 				= 6018;
	product_array[x]["rpoints"]				= "50,000";
	product_array[x]["productDesc"]			= david_jones;
	product_array[x]["image_src"] 			= "david_j";
	product_array[x]["multi_end"]			= 1;
	product_array[x]["pClass"]				= new Array("goldClass", "premierClass");

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Downtown Duty Free <br />SYD Airport Tax & Duty Free<br /> F1RST Tax & Duty Free $50 Gift Card";
	product_array[x]["rcode"] 				= 6513;
	product_array[x]["rpoints"]				= "9,500";
	product_array[x]["productDesc"]			= "Downtown Duty Free, SYD Airport Tax & Duty Free and F1RST Tax & Duty Free - $50 Gift Card";
	product_array[x]["image_src"] 			= "dutyfree";
	product_array[x]["multi_start"]			= 1;
	
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Downtown Duty Free <br />SYD Airport Tax & Duty Free<br /> F1RST Tax & Duty Free $100 Gift Card";
	product_array[x]["rcode"] 				= 6514;
	product_array[x]["rpoints"]				= "19,000";
	product_array[x]["productDesc"]			= "Downtown Duty Free, SYD Airport Tax & Duty Free and F1RST Tax & Duty Free - $50 Gift Card";
	product_array[x]["image_src"] 			= "dutyfree";
	product_array[x]["multi_end"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Interflora $50 Gift Card";
	product_array[x]["rcode"] 				= 5802;
	product_array[x]["rpoints"]				= "9,000";
	product_array[x]["productDesc"]			= "Indulge yourself with Gift Cards to be used at any participating Interflora florists around the country. For more information visit www.interflora.com.au";
	product_array[x]["image_src"] 			= "interflora";
	product_array[x]["pClass"]				= new Array("bonusClass");

var myer = "Treat yourself with a Myer Gift Card which can be redeemed at any Myer store nationwide. For store locations visit <strong>www.myer.com.au</strong>";	
var myer_con = "Myer Gift Cards are accepted at Myer. Some conditions and exclusions apply. Please see in-store, visit <strong>www.giftcards.com.au</strong>, or call <strong>1300 304 990</strong>.";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "JB Hifi $50 Gift Card";
	product_array[x]["rcode"] 				= 4522;
	product_array[x]["rpoints"]				= "9,800";
	product_array[x]["productDesc"]			= "Choose a gift card from JB Hifi and leave the hard choices to the lucky recipient! With over 200,000 items available on our website and a massive range in our stores, they'll never be stuck for choice. Perfect for that impossible-to-buy-for friend, relative or colleague.";
	product_array[x]["image_src"] 			= "jb_hifi";
	product_array[x]["multi_start"]			= 1;


	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "JB Hifi $100 Gift Card";
	product_array[x]["rcode"] 				= 4523;
	product_array[x]["rpoints"]				= "19,600";
	product_array[x]["productDesc"]			= "Choose a gift card from JB Hifi and leave the hard choices to the lucky recipient! With over 200,000 items available on our website and a massive range in our stores, they'll never be stuck for choice. Perfect for that impossible-to-buy-for friend, relative or colleague.";
	product_array[x]["image_src"] 			= "jb_hifi";
	product_array[x]["multi_end"]			= 1;

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Myer $50 Gift Card";
	product_array[x]["rcode"] 				= 6001;
	product_array[x]["rpoints"]				= "9,200";
	product_array[x]["productDesc"]			= myer;
	product_array[x]["conditions"] 			= myer_con;
	product_array[x]["image_src"] 			= "myer";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Myer $100 Gift Card";
	product_array[x]["rcode"] 				= 6002;
	product_array[x]["rpoints"]				= "18,400";
	product_array[x]["productDesc"]			= myer;
	product_array[x]["conditions"] 			= myer_con;
	product_array[x]["image_src"] 			= "myer";
	product_array[x]["multi"]				= 1;


	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Myer $150 Gift Card";
	product_array[x]["rcode"] 				= 6003;
	product_array[x]["rpoints"]				= "27,600";
	product_array[x]["productDesc"]			= myer;
	product_array[x]["conditions"] 			= myer_con;
	product_array[x]["image_src"] 			= "myer";
	product_array[x]["multi_end"]			= 1;

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Nine West $50 Gift Card";
	product_array[x]["rcode"] 				= 5710;
	product_array[x]["rpoints"]				= "9,000";
	product_array[x]["productDesc"]			= "Indulge yourself at Nine West this season. Your Gift Card will allow you to shop at one of the largest & foremost women's footware & accessory companies in the world. Visit <strong>www.ninewest.com.au</strong> for store locations. ";
	product_array[x]["image_src"] 			= "nine_west";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Nine West $100 Gift Card";
	product_array[x]["rcode"] 				= 5711;
	product_array[x]["rpoints"]				= "18,000";
	product_array[x]["productDesc"]			= "Indulge yourself at Nine West this season. Your Gift Card will allow you to shop at one of the largest & foremost women's footware & accessory companies in the world. Visit <strong>www.ninewest.com.au</strong> for store locations. ";
	product_array[x]["image_src"] 			= "nine_west";
	product_array[x]["multi_end"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Officeworks $50 Gift Card";
	product_array[x]["rcode"] 				= 5950;
	product_array[x]["rpoints"]				= "9,800";
	product_array[x]["productDesc"]			= "Officeworks - $50 Gift Card<sup>*</sup>";
	product_array[x]["conditions"]			= "Officeworks Gift Card redeemable at Officeworks retail stores. Conditions and exclusions apply, please see in-store, visit giftcards.com.au ";
	product_array[x]["image_src"] 			= "officeworks";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Officeworks $100 Gift Card";
	product_array[x]["rcode"] 				= 5951;
	product_array[x]["rpoints"]				= "19,600";
	product_array[x]["productDesc"]			= "";
	product_array[x]["image_src"] 			= "officeworks";
	product_array[x]["multi_end"]			= 1;

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "R.M. Williams $50 Gift Card";
	product_array[x]["rcode"] 				= 5720;
	product_array[x]["rpoints"]				= "8,000";
	product_array[x]["productDesc"]			= "R.M.Williams has been producing quality handcrafted boots and clothing for over 70 years. Redeem your Rewards Points for an R.M.Williams Gift Card. For further information on R.M.Williams visit www.rmwilliams.com.au ";
	product_array[x]["image_src"] 			= "rm_will";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "R.M. Williams $100 Gift Card";
	product_array[x]["rcode"] 				= 5721;
	product_array[x]["rpoints"]				= "16,000";
	product_array[x]["productDesc"]			= "R.M.Williams has been producing quality handcrafted boots and clothing for over 70 years. Redeem your Rewards Points for an R.M.Williams Gift Card. For further information on R.M.Williams visit www.rmwilliams.com.au ";
	product_array[x]["image_src"] 			= "rm_will";
	product_array[x]["multi_end"]			= 1;

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "The Body Shop $50 Gift Card";
	product_array[x]["rcode"] 				= 5202;
	product_array[x]["rpoints"] 			= "9,000";
	product_array[x]["productDesc"] 		= "Choose from a wide range of naturally inspired fragrance, cosmetic and skincare products. For more information visit <b>www.thebodyshop.com.au</b>";
	product_array[x]["image_src"] 			= "body_shop";

}
else if (page == "sporting_outdoors") {
	
	var product_array = new Array();

//	product_array[x] = new Object();
//	product_array[x]["productTitle"] 		= "Barbeques Galore $50 Gift Card";
//	product_array[x]["rcode"] 				= 6130;
//	product_array[x]["rpoints"] 			= "8,000";
//	product_array[x]["productDesc"] 		= "Barbeques Galore can help you turn your backyard into an outdoor room with their range of barbeques, outdoor furniture and backyard accessories. To contact your nearest store call <strong>13 12 54</strong> or visit <strong>www.barbequesgalore.com.au</strong>";
//	product_array[x]["image_src"] 			= "bbq_galore";
//	product_array[x]["multi_start"]			= 1;
	
//	x = x + 1;
//	product_array[x] = new Object();
//	product_array[x]["productTitle"] 		= "Barbeques Galore $100 Gift Card";
//	product_array[x]["rcode"] 				= 6131;
//	product_array[x]["rpoints"] 			= "16,000";
//	product_array[x]["productDesc"] 		= "Barbeques Galore can help you turn your backyard into an outdoor room with their range of barbeques, outdoor furniture and backyard accessories. To contact your nearest store call <strong>13 12 54</strong> or visit <strong>www.barbequesgalore.com.au</strong>";
//	product_array[x]["image_src"] 			= "bbq_galore";
//	product_array[x]["multi_end"]			= 1;
	
//	x = x + 1;

	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Rebel $50 Gift Card";
	product_array[x]["rcode"] 				= 6310;
	product_array[x]["rpoints"] 			= "9,000";
	product_array[x]["productDesc"] 		= "Rebel Sport is Australia's largest sporting goods retailer with over 40 stores around the country. With the biggest range of clothing, footwear and equipment by all the best brands, you'll find everything you need to keep fit at Rebel Sport. For store locations visit <strong>www.rebelsport.com.au</strong>";
	product_array[x]["image_src"] 			= "rebel";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Rebel $100 Gift Card";
	product_array[x]["rcode"] 				= 6311;
	product_array[x]["rpoints"] 			= "18,000";
	product_array[x]["productDesc"] 		= "Rebel Sport is Australia's largest sporting goods retailer with over 40 stores around the country. With the biggest range of clothing, footwear and equipment by all the best brands, you'll find everything you need to keep fit at Rebel Sport. For store locations visit <strong>www.rebelsport.com.au</strong>";
	product_array[x]["image_src"] 			= "rebel";
	product_array[x]["multi_end"]			= 1;

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Paddy Pallin $50 Gift Voucher";
	product_array[x]["rcode"] 				= 6321;
	product_array[x]["rpoints"] 			= "9,000";
	product_array[x]["productDesc"] 		= "Use your Rewards Points for Gift Voucher to be used at Paddy Pallin, Australia's premier adventure travel and bush walking store. Paddy Pallin offers a large range of quality clothing and equipment for all your travelling needs. For more information visit <strong>www.paddypallin.com.au</strong>";
	product_array[x]["image_src"] 			= "paddy";
	product_array[x]["multi_start"]			= 1;
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Paddy Pallin $100 Gift Voucher";
	product_array[x]["rcode"] 				= 6322;
	product_array[x]["rpoints"] 			= "18,000";
	product_array[x]["productDesc"] 		= "Use your Rewards Points for Gift Voucher to be used at Paddy Pallin, Australia's premier adventure travel and bush walking store. Paddy Pallin offers a large range of quality clothing and equipment for all your travelling needs. For more information visit <strong>www.paddypallin.com.au</strong>";
	product_array[x]["image_src"] 			= "paddy";
	product_array[x]["multi_end"]			= 1;

}
else if (page == "books") {
	
	var product_array = new Array();

	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Sanity $50 Gift Card";
	product_array[x]["rcode"] 				= 4502;
	product_array[x]["rpoints"] 			= "8,800";
	product_array[x]["productDesc"] 		= "For CDs, DVDs and accessories, from the most current releases to back catalogue items. From rock, pop and dance through to classical. For more information go to <strong>www.sanity.com.au</strong>";
	product_array[x]["image_src"] 			= "sanity";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Dymocks $50 Gift Card";
	product_array[x]["rcode"] 				= 5310;
	product_array[x]["rpoints"] 			= "9,000";
	product_array[x]["productDesc"] 		= "Attention booklovers! Redeem your Rewards Points for a Dymocks Gift Card today. Visit a Dymocks store or buy online at <strong>www.dymocks.com.au</strong>";
	product_array[x]["image_src"] 			= "dymocks";
}
else {
	product_array = new Array();
	product_array[0] = new Object();
	product_array[0]["error"] = "<p>Visit back again soon for exciting new products.</p>";
	var errorMsg = product_array[0]["error"];
}

if (product_array) {
	var countArray = product_array.length -1;
}
