

var products = new Array(
new Array("500","Catering","",315.00),
new Array("501","Catering","",230.00),
new Array("502","Catering","",280.00),
new Array("503","Catering","",45.80),
new Array("2","Cartooning", "",315.00),
new Array("3","Copywriting", "",315.00),
new Array("31","Copywriting", "",280.00),
new Array("32","Copywriting", "",105.00),
new Array("33","Copywriting", "",155.00),
new Array("34","Copywriting", "",265.00),
new Array("35","Copywriting", "",229.00),
new Array("4","Drawing", "",365.00),
new Array("5","Dyslexia", "",286.00),
new Array("6","RHS General", "",365.00),
new Array("61","Diploma in Horticulture (RHS General)", "",330.00),
new Array("62","Diploma in Horticulture (RHS General)", "",249.00),
new Array("63","RHS General", "",124.00),
new Array("64","RHS General - instalment", "",53.00),
new Array("65","RHS General - instalment", "",44.00),
new Array("7","Making the Most of Your Garden", "",315.00),
new Array("71","Making the Most of Your Garden", "",280.00),
new Array("72","Making the Most of Your Garden", "",249.00),
new Array("8","Garden Design", "",409.00),
new Array("81","Garden Design", "",365.00),
new Array("82","Garden Design", "",299.00),
new Array("83","Garden Design", "",286.00),
new Array("84","Garden Design", "",239.00),
new Array("85","Garden Design", "",205.00),
new Array("86","Garden Design", "",180.00),
new Array("87","Garden Design", "",114.00),
new Array("88","Garden Design", "",84.00),
new Array("9","Counselling", "",315.00),
new Array("91","Herbal medicine", "",315.00),
new Array("92","Homeopathy", "",315.00),
new Array("93","Homeopathy", "",80.00),
new Array("12","Interior Design", "",545.00),
new Array("121","Interior Design", "",295.00),
new Array("122","Interior Design", "",445.00),
new Array("123","Interior Design", "",495.00),
new Array("124","Interior Design", "",270.00),
new Array("125","Interior Design", "",345.00),
new Array("126","Interior Design", "",165.00),
new Array("127","Interior Design", "",51.00),
new Array("13","Microsoft Certified Professional", "",431.00),
new Array("131","Microsoft Certified Professional", "",385.00),
new Array("132","Microsoft Certified Professional", "",235.00),
new Array("14","Photography", "",315.00),
new Array("141","Photography", "",280.00),
new Array("142","Photography", "",124.00),
new Array("15","Technical Writing", "",315.00),
new Array("155","Technical Writing", "",280.00),
new Array("16","Visual Basic", "",431.00)
);
                

var postPack = 30; // Amount in £ to add for postage & packing

// Just examine the order form (checkout.htm) and use 
// the value from the drop-down box to add a country for postage free
// Always leave the last row without a comma after the last speech mark
var countries = new Array(
"GB",
"IE"
);


function setprodID(n) {
SetCookie('productID',n, 1800000, '/', '');
SetCookie('pageLocation',location.pathname, 1800000, '/', '');
setTimeout("window.location.href = 'http://www.inst.org/basket.htm'", 1000);
}

function orderPage() {
SetCookie('pageLocation',location.pathname, 1800000, '/', '')
setTimeout("window.location.href = 'http://www.inst.org/order.htm'", 1000);	
}

// Copy the top line commencing "new Array" to a space below the bottom line.
// Make sure the previous line now ends in a comma.
// The first listing gives the product ID, the second listing describes the course, the third,
// optional listing gives product options, the fourth the price.
// For the options listing list options like this - Windows 98:Windows 95:Windows NT etc.
// Example: new Array("13","Microsoft Certified Professional", "Windows 98:Windows 95:Windows NT",385.00),
// Please do not put aphostrophes ' in your description
// Always leave the last row without a comma after the last bracket
// After you have added a product you need to add a link to your new product page as below:
// <a href="javascript: setprodID(17)">Buy Whatever Course</a>
// In the code above you have set a link for product id 17. The "Buy Whatever Course" will
// be the text that will display on your page. You can use your editor to bolden it etc.
// Finally you need to add the code shown beneath directly below this line at the top
// of your page. The line below which the code must be added is:
// <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> or
// <title>Untitled Document</title>
// The code is:
//      <script language="JavaScript" src="cookies.js"></script>
//      <script language="JavaScript" src="database/data.js"></script>
// That's it! Ian
