﻿//-- The symbol to use for the javascript trolley and checkout
MonetarySymbol	= "&pound;"
//-- List of Products; used in the SEARCH and the checkout/basket
//-- Array key
//-- name^id.htm^summary^keyword^price^shipping^tax^shipping^weight^id^defaulttaxrate
var s = new Array();
var x=0;

s[x++] = "PivoTell Automatic Pill Dispenser Mk 3^PivoTell_Automatic_Pill_Dispenser_Mk_3.htm^Easily filled and programmed by the user, carer or relative to dispense pills up to 28 times a day^^95^4.50^17.5^PivoTell_Automatic_Pill_Dispenser_Mk_3.htm^50.00^PRAA100^1";
s[x++] = "'Pivotell Plus' Automatic Pill Dispenser^'Pivotell_Plus'_Automatic_Pill_Dispenser.htm^All of the features of the Mark 3 dispenser and with a GSM module for text and e-mail messaging.^^193^4.50^17.5^'Pivotell_Plus'_Automatic_Pill_Dispenser.htm^50.00^PRAA110^1";
s[x++] = "Pivotell Automatic Pill dispenser Tipper^Pivotell_Automatic_Pill_dispenser_Tipper.htm^A tipper can be supplied for those with insufficient strength or limited dexterity to lift and dispense their medication.^^45^4.50^17.5^Pivotell_Automatic_Pill_dispenser_Tipper.htm^100.00^PRAA107^1";
s[x++] = "PivoTell Dispenser Spare Cassette Kit^PivoTell_Dispenser_Spare_Cassette_Kit.htm^Spare Cassette & Lid, Day/Time Discs, Prescription Booklet^^16^2.50^17.5^PivoTell_Dispenser_Spare_Cassette_Kit.htm^2.50^PRAA101^1";
s[x++] = "PivoTell Dispenser Time - Day Discs x2 (1-4 times a day regime)^PivoTell_Dispenser_Time_-_Day_Discs_x2_(1-4_times_a_day_regime).htm^Replacement printed card discs to insert on tray indicating appropriate pill regime^^2.5^2.50^17.5^PivoTell_Dispenser_Time_-_Day_Discs_x2_(1-4_times_a_day_regime).htm^2.50^PRAA103^1";
s[x++] = "PivoTell Dispenser Blank Discs x4 (5-28 times a day regime)^PivoTell_Dispenser_Blank_Discs_x4_(5-28_times_a_day_regime).htm^Replacement blank discs to be manually completed with daily regime^^2.5^2.50^17.5^PivoTell_Dispenser_Blank_Discs_x4_(5-28_times_a_day_regime).htm^2.50^PRAA104^1";
s[x++] = "PivoTell Dispenser Spare Key x2^PivoTell_Dispenser_Spare_Key_x2.htm^For the PivoTell Automatic Pill Dispenser^^2.5^2.50^17.5^PivoTell_Dispenser_Spare_Key_x2.htm^2.50^PRAA102^1";
s[x++] = "Pivotell Disposable Tray System (25 Trays)^Pivotell_Disposable_Tray_System_(25_Trays).htm^The Pivotell Disposable Tray System is available to assist Pharmacy filling - 25 trays.^^40.5^7.50^17.5^Pivotell_Disposable_Tray_System_(25_Trays).htm^100.00^PRAA108^1";
s[x++] = "Pivotell Disposable Tray System (50 Trays)^Pivotell_Disposable_Tray_System_(50_Trays).htm^The Pivotell Disposable Tray System is available to assist Pharmacy filling - 50 trays^^73.5^8.50^17.5^Pivotell_Disposable_Tray_System_(50_Trays).htm^100.00^PRAA111^1";
s[x++] = "MiniTell Daily Alarmed Pill Box^MiniTell_Daily_Alarmed_Pill_Box.htm^Pocket sized, easily filled and programmed by the user to dispense pills up to 5 times a day or once a day for 5 days.^^18^2.50^17.5^MiniTell_Daily_Alarmed_Pill_Box.htm^2.50^PRAA105^1";
s[x++] = "Mem-x Voice Reminder^Mem-x_Voice_Reminder.htm^Mem-x  - the voice memory aid designed for those with some memory loss.^^92^2.50^17.5^Mem-x_Voice_Reminder.htm^2.50^PRAA106";
s[x++] = "Minifone^Minifone.htm^Minifone - a DECT telephone worn on your wrist^^170^0.00^17.5^Minifone.htm^2.50^PRAA113";
s[x++] = "Minifone Watch Straps^Minifone_Watch_Straps.htm^Straps for the Minifone - a DECT telephone worn on your wrist^^12.5^0.00^17.5^Minifone_Watch_Straps.htm^2.50^PRAA115";
s[x++] = "Cadex Medication Reminder, Medical Alert, Databank and Watch^Cadex_Medication_Reminder,_Medical_Alert,_Databank_and_Watch.htm^The Cadex ® reminds the user with a repeated 'beep' when he or she has to take medication or what he or she has to do at pre-programmed times.^^59^2.50^17.5^Cadex_Medication_Reminder,_Medical_Alert,_Databank_and_Watch.htm^2.50^PRAA112";


//--- ----------------------------------------------
//--- Define the Shipping Zones
var shippingZones   = new Array();
var zoneWeight      = new Array();   // weight^price
var taxItems      = new Array();   // taxcode^percent
var shippingPolicy  = "percartweight";

function zone(title,taxrate,taxexempt,description,maxthres,maxprice,minthres,minprice,peritem,perbasket,perpercent,perpolicy){
	this.title        = title;
	this.taxrate      = taxrate;
	this.taxexempt    = taxexempt;
	this.description	= description;
	this.maxthres     = maxthres;
	this.maxprice     = maxprice;
	this.minthres     = minthres;
	this.minprice     = minprice;
	this.peritem      = peritem;
	this.perbasket    = perbasket;
	this.perpercent   = perpercent;
	this.policy   = perpolicy;
}

function taxrate(_key, _value){
	this.key        = _key;
	this.value        = _value;
}

x=0;
taxItems[x++] = new taxrate("VAT",17.5);
taxItems[x++] = new taxrate("TAX",10);
taxItems[x++] = new taxrate("vat 15",15);

x=0;



shippingZones[x++] = new zone("Please Select","0",0," ",0,0,0,0,0,0,0,"none")
zoneWeight[0] = new Array();


shippingZones[x++] = new zone("UK","VAT",0,"All countries in Europe",10000,50,0,0,0,4.5,0,"percartweight")
zoneWeight[1] = new Array();
zoneWeight[1][0] = "0^2.5";
zoneWeight[1][1] = "5^4.50";
zoneWeight[1][2] = "50^4.50";
zoneWeight[1][3] = "100^7.50";
zoneWeight[1][4] = "200^15.00";
zoneWeight[1][5] = "300^22.50";


shippingZones[x++] = new zone("UK courier or special delivery","VAT",0,"",10000,7.5,0,7.5,0,7.5,0,"perbasket")
zoneWeight[2] = new Array();


shippingZones[x++] = new zone("Eire and Western Europe","VAT",0,"All states in United States of America",9999,50,0,0,2,6.5,0,"percartweight")
zoneWeight[3] = new Array();
zoneWeight[3][0] = "0^4.50";
zoneWeight[3][1] = "5^6.50";
zoneWeight[3][2] = "50^6.50";
zoneWeight[3][3] = "100^7.50";
zoneWeight[3][4] = "200^15.00";
zoneWeight[3][5] = "300^22.50";


shippingZones[x++] = new zone("Rest of the World","",1,"",9999,18,0,0,9.5,0,0,"percartweight")
zoneWeight[4] = new Array();
zoneWeight[4][0] = "0^6.50";
zoneWeight[4][1] = "2.5^6.50";
zoneWeight[4][2] = "5^9.50";
zoneWeight[4][3] = "49^9.50";
zoneWeight[4][4] = "50^15.00";
zoneWeight[4][5] = "100^18.00";
