// !!! 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 page;
var x = 0;

// IF product descriptions are the same for various articles, define this here with a variable name of your choice:



//************************************************

// GIFT_CARDS

// +++++++++++++++++++++++++++++++++++++++++++++++

if (page == "bonus") {
	
	var product_array = new Array();
	
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "ACP Magazines";
	product_array[x]["rcode"] 				= 1;
	product_array[x]["productDesc"] 		= "Receive double Rewards Points when you use your credit card from HSBC to pay for a 12 month subscription to some of Australia's leading magazine titles, like <i>Australian Gourmet Traveller</i> and <i>The Bulletin with Newsweek</i>.<br /> Call 136 116 or visit www.hsbc.magshop.com.au to subscribe.";
	product_array[x]["image_src"] 			= "acp";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Alpine World Travel";
	product_array[x]["rcode"] 				= 2;
	product_array[x]["productDesc"]			= "Alpine World Travel is one of Australia's leading ski holiday operators to the ski fields in Australia, New Zealand, Canada, America, Europe and Japan. <br /> <br /> So if you're thinking about the ultimate ski holiday then give Alpine World Travel a call on <strong>1300 138 311</strong> or visit <strong>www.alpineworld.com.au</strong> And remember you'll earn double Rewards Points when you make a booking using your credit card from HSBC.";
	product_array[x]["image_src"] 			= "alpineworld";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Always on Sale";
	product_array[x]["rcode"] 				= 18;
	product_array[x]["productDesc"] 		= "Always on Sale offers leading brand products to customers. Regardless of which item you purchase, you are assured that you have selected a product from our range of reputable brands. You will receive exactly what you ordered in a secure environment, conveniently delivered to your door. Visit <strong>www.alwaysonsale.com.au</strong> or <strong>call 1300 789 377</strong>.";
	product_array[x]["image_src"] 			= "aos";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Astra Limousines";
	product_array[x]["rcode"] 				= 3;
	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"] 		= "Balloon Aloft";
	product_array[x]["rcode"] 				= 4;
	product_array[x]["productDesc"] 		= "Come fly with Australia's oldest and most experienced ballooning company. For more information, visit <strong>www.balloonaloft.com</strong> or call <strong> 1800 028 568 </strong>and book using your credit card from HSBC.";
	product_array[x]["image_src"] 			= "balloon";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Beaurepaires";
	product_array[x]["rcode"] 				= 6;
	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"] 		= "Europcar";
	product_array[x]["rcode"] 				= 8;
	product_array[x]["productDesc"] 		= "Europcar is one of Australia's leading car rental brands, operating a large fleet of quality vehicles, flexible one-way rentals and service consistency across a network of over 200 locations. Europcar Australia operates from all major airports, capital cities as well as many regional and remote locations.<br /><br /> Call <strong>1300 555 242</strong> or visit <strong>www.europcar.com.au</strong> for bookings.";
	product_array[x]["image_src"] 			= "europcar";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Everthing but flowers";
	product_array[x]["rcode"] 				= 17;
	product_array[x]["productDesc"] 		= "Everything but flowers offers a fabulous range of clever gifts for every occasion including gourmet food, fine wine, pretty sparkly things and gorgeous homewares - every gift has a clever twist to really stand out from the crowd. Visit <strong>www.everythingbutflowers.com.au</strong> or <strong>call 1300 737 114.</strong>";
	product_array[x]["image_src"] 			= "ebf";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Heavenly Group";
	product_array[x]["rcode"] 				= 9;
	product_array[x]["productDesc"] 		= "Visit www.heavenly.com.au and browse through their wonderful warehouse of gift ideas, or call <strong>1800 243 782</strong> to order.";
	product_array[x]["image_src"] 			= "heavenly";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Interflora";
	product_array[x]["rcode"] 				= 10;
	product_array[x]["productDesc"] 		= "Treat yourself or someone special with flowers or gourmet hampers from Interflora. For more information visit <strong>www.interflora.com.au</strong> or call 1800 808 500</strong>";
	product_array[x]["image_src"] 			= "interflora";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Paddy Pallin";
	product_array[x]["rcode"] 				= 12;
	product_array[x]["productDesc"] 		= "Go shopping at Paddy Pallin, Australia's leading adventure travel and bush walking store. Offering a large range of high quality clothing and equipment for all your travel and adventure needs. For more information visit <strong>www.paddypallin.com.au</strong>";
	product_array[x]["image_src"] 			= "paddy";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Premium Wines";
	product_array[x]["rcode"] 				= 13;
	product_array[x]["productDesc"] 		= "Enjoy the convenience of finding the right wine for any occasion without leaving home. Simply visit <strong> www.winedirect.com.au/hsbc</strong> or phone <strong>1800 64 WINE (9463)</strong> for discounted prices and special weekly offers.<br /><br /> You'll earn double Rewards Points on all purchases made using your card.";
	product_array[x]["image_src"] 			= "premium_wines";
	product_array[x]["pClass"]				= new Array("bonusClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Rendezvous Hotels";
	product_array[x]["rcode"] 				= 145;
	product_array[x]["productDesc"] 		= "Whether you travel for work or simply to getaway you’ll find the perfect hotel with Rendezvous Hotels & Resorts. Choose from 11 exciting destinations in Australia and the Asia Pacific Region. Visit www.rendezvoushotels.com.";
	product_array[x]["image_src"] 			= "rendezvous";
	product_array[x]["pClass"]				= new Array("bonusClass");

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Sydney Aquarium";
	product_array[x]["rcode"] 				= 19;
	product_array[x]["productDesc"] 		= "Visit the attraction which has educated and entertained over 20 million people, with over 12,000 all Australian aquatic animals, the largest Great Barrier Reef display in the world, huge sharks and rays, and the world's first known all natural seal sanctuary. Visit <strong>www.sydneyaquarium.com.au</strong> or <strong>call (02) 8251 7800</strong>.";
	product_array[x]["image_src"] 			= "syd_aqua";
	product_array[x]["pClass"]				= new Array("bonusClass");

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Sydney Wildlife World";
	product_array[x]["rcode"] 				= 20;
	product_array[x]["productDesc"] 		= "Enjoy an authentic Australian wildlife experience in the heart of Darling Harbour! <p>Explore 3 levels, 9 habitats and over 65 exhibits, featuring the largest variety of Australian plants and animals under one roof. Sydney Wildlife World is home to over 100 different species, including koalas, reptiles, wallabies, butterflies and more!</p> <p><strong>Aquarium Pier, Darling Harbour, Sydney NSW 2000<br /> Phone: 02 9333 9288<br /> www.sydneywildlifeworld.com.au<br /> <br />Open every day from 9am to 10pm!</strong></p>";
	product_array[x]["image_src"] 			= "sydney_ww";
	product_array[x]["pClass"]				= new Array("bonusClass");

	/*x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Travel Plus Holidays";
	product_array[x]["rcode"] 				= 16;
	product_array[x]["productDesc"] 		= "Organise all your travel arrangements with Travel Plus Holidays and earn Triple Rewards Points<sup>2</sup> by using your credit card from HSBC. Getting away couldn't be easier - to make a booking call Travel Plus Holidays direct on 1300 553 268, or visit www.travelplusholidays.com";
	product_array[x]["image_src"] 			= "travelplus";
	product_array[x]["pClass"]				= new Array("tripleClass");*/

}
else if (page == "hsbc_products") {
	
	var product_array = new Array();

	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "HSBC Credit Card - $25 Cash Back<sup>1</sup>";
	product_array[x]["companyTitle"] 		= "HSBC"; 
	product_array[x]["rcode"] 				= 1470;
	product_array[x]["productDesc"] 		= "Redeem your points for a credit onto your HSBC Credit Card.<br /><br />The cash back will be credited to the card from which you have redeemed your points.";
	product_array[x]["conditions"]			= "<sup>1</sup> Cash Back redemption rewards credited to your HSBC credit card account may have income tax implications for you depending on your individual circumstances and we recommend that you seek independent tax advice on this matter.";
	product_array[x]["image_src"] 			= "hsbc";
	product_array[x]["rpoints"]				= "5,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "HSBC Credit Card - $50 Cash Back<sup>1</sup>";
	product_array[x]["companyTitle"] 		= "HSBC"; 
	product_array[x]["rcode"] 				= 1471;
	product_array[x]["productDesc"] 		= "Redeem your points for a credit onto your HSBC Credit Card.<br /><br />The cash back will be credited to the card from which you have redeemed your points.";
	product_array[x]["conditions"]			= "<sup>1</sup> Cash Back redemption rewards credited to your HSBC credit card account may have income tax implications for you depending on your individual circumstances and we recommend that you seek independent tax advice on this matter.";
	product_array[x]["image_src"] 			= "hsbc";
	product_array[x]["rpoints"]				= "10,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "HSBC Credit Card - $100 Cash Back<sup>1</sup>";
	product_array[x]["companyTitle"] 		= "HSBC"; 
	product_array[x]["rcode"] 				= 1472;
	product_array[x]["productDesc"] 		= "Redeem your points for a credit onto your HSBC Credit Card.<br /><br />The cash back will be credited to the card from which you have redeemed your points.";
	product_array[x]["conditions"]			= "<sup>1</sup> Cash Back redemption rewards credited to your HSBC credit card account may have income tax implications for you depending on your individual circumstances and we recommend that you seek independent tax advice on this matter.";
	product_array[x]["image_src"] 			= "hsbc";
	product_array[x]["rpoints"]				= "20,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "HSBC Personal & Car Loans - $50 Establishment Fee Rebate<sup>1</sup>";
	product_array[x]["companyTitle"] 		= "HSBC"; 
	product_array[x]["rcode"] 				= 1411;
	product_array[x]["productDesc"] 		= "Take out a personal loan or car loan from HSBC and redeem your Rewards Points for a refund on part of your establishment fee.";
	product_array[x]["conditions"]			= "<sup>1</sup> Rebate will be credited to your VISA Credit Card from HSBC.";
	product_array[x]["image_src"] 			= "hsbc";
	product_array[x]["rpoints"]				= "10,000";
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "HSBC Deposits - $100 Deposit<sup>1</sup>";
	product_array[x]["companyTitle"] 		= "HSBC"; 
	product_array[x]["rcode"] 				= 1431;
	product_array[x]["productDesc"] 		= "Open one of HSBC's deposit accounts and treat yourself to an additional deposit.";
	product_array[x]["conditions"]			= "<sup>1</sup> Includes Online Savings Account and Savings Cheque Account. Deposits not available on Term Deposits. You must provide your HSBC account number to receive the deposit.";
	product_array[x]["image_src"] 			= "hsbc";
	product_array[x]["rpoints"]				= "20,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "HSBC Home Loans- $100 Home Loan Repayment<sup>1</sup>";
	product_array[x]["companyTitle"] 		= "HSBC"; 
	product_array[x]["rcode"] 				= 1409;
	product_array[x]["productDesc"] 		= "Take out a home loan from HSBC and redeem your Rewards Points for additional payments towards your loan.";
	product_array[x]["conditions"]			= "<sup>1</sup> You must provide your HSBC home loan number to receive the repayment.";
	product_array[x]["image_src"] 			= "hsbc";
	product_array[x]["rpoints"]				= "20,000";
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "$59 Classic Credit Card Annual Charge Rebate";
	product_array[x]["companyTitle"] 		= "HSBC"; 
	product_array[x]["rcode"] 				= 1703;
	product_array[x]["productDesc"] 		= "Use your Rewards Points to pay the $59 annual charge on your VISA Credit Card. Your VISA Credit Card account will be credited accordingly.";
	product_array[x]["image_src"] 			= "hsbc_classic";
	product_array[x]["rpoints"]				= "11,800";
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "$89 Gold Credit Card Annual Charge Rebate";
	product_array[x]["companyTitle"] 		= "HSBC"; 
	product_array[x]["rcode"] 				= 1712;
	product_array[x]["productDesc"] 		= "Use your Rewards Points to pay the $89 annual charge on your HSBC Credit Card. Your HSBC Credit Card account will be credited accordingly.";
	product_array[x]["image_src"] 			= "hsbc_gold";
	product_array[x]["rpoints"]				= "17,850";
	product_array[x]["pClass"]				= new Array("goldClass");
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "$129 Platinum Credit Card Annual Charge Rebate";
	product_array[x]["companyTitle"] 		= "HSBC"; 
	product_array[x]["rcode"] 				= 1720;
	product_array[x]["productDesc"] 		= "Use your Rewards Points to pay the $129 annual charge on your HSBC Credit Card. Your HSBC Credit Card account will be credited accordingly.";
	product_array[x]["image_src"] 			= "hsbc_platinum";
	product_array[x]["rpoints"]				= "29,000";
	product_array[x]["pClass"]				= new Array("platinumClass");
}

else if (page == "charities") {
	
	var product_array = new Array();
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Barnardos, The Children's Charity - $50 Donation";
	product_array[x]["rcode"] 				= 9022;
	product_array[x]["productDesc"] 		= "Help Barnardos by using your Rewards Points for a donation.";
	product_array[x]["rpoints"]				= "10,000";
	product_array[x]["image_src"] 			= "barnardos";
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Botanic Gardens Trust - $50 donation";
	product_array[x]["rcode"] 				= 9024;
	product_array[x]["image_src"] 			= "botanic_gardens";
	product_array[x]["rpoints"]				= "10,000";
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Starlight Children's Foundation Australia - $50 Donation";
	product_array[x]["rcode"] 				= 9014;
	product_array[x]["productDesc"] 		= "Help the Starlight Children's Foundation brighten the lives of seriously ill and hospitalised children across Australia by using your Rewards Points for a donation. To find out more on the work of Starlight visit <strong>www.starlight.org.au</strong> or call <strong>1300 727 827</strong>.";
	product_array[x]["image_src"] 			= "starlight";
	product_array[x]["rpoints"]				= "10,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "The Salvation Army - $50 Donation";
	product_array[x]["rcode"] 				= 9004;
	product_array[x]["productDesc"] 		= "Help The Salvation Army by using your Rewards Points for a donation. For more information about The Salvation Army visit <strong>www.salvos.org.au</strong>";
	product_array[x]["image_src"] 			= "salvos";
	product_array[x]["rpoints"]				= "10,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "WWF-Australia - $50 Donation";
	product_array[x]["rcode"] 				= 9023;
	product_array[x]["image_src"] 			= "wwf";
	product_array[x]["rpoints"]				= "10,000";

}

else if (page == "rebates") {
	
	var product_array = new Array();	
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Road Service Rebate - $50 Road Service Rebate";
	product_array[x]["rcode"] 				= 1262;
	product_array[x]["productDesc"] 		= "Whatever capital state you live in, pay for your road service using you VISA Credit Card from HSBC and redeem your Rewards Points for a rebate. Your VISA Credit Card account will be credited accordingly.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "10,000";
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Insurance Rebates - $50 Car Insurance Rebate<sup>1</sup>";
	product_array[x]["rcode"] 				= 1250;
	product_array[x]["productDesc"] 		= "Pay for any insurance company's product using your VISA Credit Card from HSBC, and then redeem your Rewards Points for a rebate. Your VISA Credit Card account with be credited accordingly.";
	product_array[x]["conditions"]			= "<sup>1</sup>Please note you need to provide your insurance policy number when making a redemption.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "10,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Insurance Rebates - $100 Car Insurance Rebate<sup>1</sup>";
	product_array[x]["rcode"] 				= 1251;
	product_array[x]["productDesc"] 		= "Pay for any insurance company's product using your VISA Credit Card from HSBC, and then redeem your Rewards Points for a rebate. Your VISA Credit Card account with be credited accordingly.";
	product_array[x]["conditions"]			= "<sup>1</sup>Please note you need to provide your insurance policy number when making a redemption.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "20,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Insurance Rebates - $50 CTP Greenslip Rebate<sup>1</sup>";
	product_array[x]["rcode"] 				= 1252;
	product_array[x]["productDesc"] 		= "Pay for any insurance company's product using your VISA Credit Card from HSBC, and then redeem your Rewards Points for a rebate. Your VISA Credit Card account with be credited accordingly.";
	product_array[x]["conditions"]			= "<sup>1</sup> Please note you need to provide your insurance policy number when making a redemption.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "10,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Insurance Rebates - $100 CTP Greenslip Rebate<sup>1</sup>";
	product_array[x]["rcode"] 				= 1253;
	product_array[x]["productDesc"] 		= "Pay for any insurance company's product using your VISA Credit Card from HSBC, and then redeem your Rewards Points for a rebate. Your VISA Credit Card account with be credited accordingly.";
	product_array[x]["conditions"]			= "<sup>1</sup> Please note you need to provide your insurance policy number when making a redemption.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "20,000";
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Insurance Rebates - $50 Home Insurance Rebate<sup>1</sup>";
	product_array[x]["rcode"] 				= 1254;
	product_array[x]["productDesc"] 		= "Pay for any insurance company's product using your VISA Credit Card from HSBC, and then redeem your Rewards Points for a rebate. Your VISA Credit Card account with be credited accordingly.";
	product_array[x]["conditions"]			= "<sup>1</sup> Please note you need to provide your insurance policy number when making a redemption.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "10,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Insurance Rebates - $100 Home Insurance Rebate<sup>1</sup>";
	product_array[x]["rcode"] 				= 1255;
	product_array[x]["productDesc"] 		= "Pay for any insurance company's product using your VISA Credit Card from HSBC, and then redeem your Rewards Points for a rebate. Your VISA Credit Card account with be credited accordingly.";
	product_array[x]["conditions"]			= "<sup>1</sup> Please note you need to provide your insurance policy number when making a redemption.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "20,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Insurance Rebates - $50 Life Insurance Rebate<sup>1</sup>";
	product_array[x]["rcode"] 				= 1256;
	product_array[x]["productDesc"] 		= "Pay for any insurance company's product using your VISA Credit Card from HSBC, and then redeem your Rewards Points for a rebate. Your VISA Credit Card account with be credited accordingly.";
	product_array[x]["conditions"]			= "<sup>1</sup> Please note you need to provide your insurance policy number when making a redemption.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "10,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Insurance Rebates - $100 Life Insurance Rebate<sup>1</sup>";
	product_array[x]["rcode"] 				= 1257;
	product_array[x]["productDesc"] 		= "Pay for any insurance company's product using your VISA Credit Card from HSBC, and then redeem your Rewards Points for a rebate. Your VISA Credit Card account with be credited accordingly.";
	product_array[x]["conditions"]			= "<sup>1</sup> Please note you need to provide your insurance policy number when making a redemption.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "20,000";
	
	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Insurance Rebates - $50 Health Rebate<sup>1</sup>";
	product_array[x]["rcode"] 				= 1258;
	product_array[x]["productDesc"] 		= "Pay for any insurance company's product using your VISA Credit Card from HSBC, and then redeem your Rewards Points for a rebate. Your VISA Credit Card account with be credited accordingly.";
	product_array[x]["conditions"]			= "<sup>1</sup> Please note you need to provide your insurance policy number when making a redemption.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "10,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Insurance Rebates - $100 Health Rebate<sup>1</sup>";
	product_array[x]["rcode"] 				= 1259;
	product_array[x]["productDesc"] 		= "Pay for any insurance company's product using your VISA Credit Card from HSBC, and then redeem your Rewards Points for a rebate. Your VISA Credit Card account with be credited accordingly.";
	product_array[x]["conditions"]			= "<sup>1</sup> Please note you need to provide your insurance policy number when making a redemption.";
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "20,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Education Rebates - $50 Rebate";
	product_array[x]["rcode"] 				= 1460;
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["productDesc"]			= "Pay for school or university tuition fees, text books or uniforms using your HSBC Credit Card then redeem your Rewards Points for a rebate to your account.Pay for school or university tuition fees, text books or uniforms using your HSBC Credit Card then redeem your Rewards Points for a rebate to your account."
	product_array[x]["rpoints"]				= "10,000";

	x = x + 1;
	product_array[x] = new Object();
	product_array[x]["productTitle"] 		= "Education Rebates - $100 Rebate";
	product_array[x]["rcode"] 				= 1461;
	product_array[x]["productDesc"]			= "Pay for school or university tuition fees, text books or uniforms using your HSBC Credit Card then redeem your Rewards Points for a rebate to your account.Pay for school or university tuition fees, text books or uniforms using your HSBC Credit Card then redeem your Rewards Points for a rebate to your account."
	product_array[x]["image_src"] 			= "no_pic";
	product_array[x]["rpoints"]				= "20,000";
}
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;
}