// PDB (2010 modifications) - From 09 version to work with PayPal, WorldPay, Protx, Cardstream and Impress/WP variant
//Now collects & records order information from PayPal, WorldPay & Cardstream after order accepted (not easily possible for Sagepay)
// var basketLive = TRUE/FALSE acts as orders on/off switch to stop ordering for a charity when they or entire site is officially closed; Changed (APRIL 2010) from var cccs_testmode in 2009
//All variables "true/false to "TRUE/FALSE" (XL defaults)
//NB blank values of Payment provider variables are needed for the inactive providers
//Processes will not work in absence of variables
//Enable newsletter check box: TRUE / FALSE

//WorldPay

//var worldpayStatus = live / test; Changed (APRIL 2010) from worldpay_testmode = TRUE/FALSE in 2009
//If test the WP test server is used;  if live, the live server is used, once charity Oks with WP, they check installation, and agree live OK
//var worldpay_impress = TRUE/FALSE - This must always be defined, even if not a WP charity
//Email address for newsletter notification -  applies to Worldpay / Impress only
// PDB (FEB 2010)
// new variables to accommodate the sending of WP orders to multiple addresses
// if using WorldPay impress the charity doesn't receive any notification 
// so if customer opts in to newsletter we need an email address to send the notification to - hence newsletter_email1
//If charity does not want to offer newsletter code hides the newsletter opt in tick box

//Sagepay

//var sagepay_VendorName="";
//var sagepay_EncryptionPassword="";
//var sagepayStatus="test";
//dev/live/test/showpost
// PDB (APRIL 2010) Names changed from protx_EncryptionPassword etc
//Encryption password - assigned to charity by SP; testmode: values test/live/dev  ---- charities must successfully receive transaction in 'test' environment - SPwill then grant access to 'live'; dev = developing environment for us; order info sent to card enquiries email address

//Cardstream

//Cardstream variables: cardstream_ID; cardstream_Password; These two identify charity to CS; cardstream_email - the address to which order info is sent

<!--

var cardName = new Array();
var catNo = new Array();
var cardPrice = new Array();
var packSize = new Array();
var cardDimCms = new Array();
var cardDimIns = new Array();
var cardGreeting = new Array();
var sustain = new Array();
var cardNote = new Array();
var imageFile = new Array();
var thumbNailFile = new Array();
var foil = new Array();
var delCard = new Array();
var cdIndex = new Array();

//var basketLive="TRUE";
//var basketLive="FALSE";

//PayPal variables

var paypal_email1 = "";
var paypal_email2 = "";
var paypal_charityLogo = "";

//WorldPay variables

var worldpay_accId="WPCOM94444";
var worldpay_instId="239203";
var returns="There are several circumstances in which we will happily refund or exchange your purchase. These are:<br />a) ...if you change your mind.<br />The unwanted product must be returned in an ‘as new’ condition with all packaging and accessories, within 14 days of purchase.<br />If  you are returning an item because you`ve simply changed your mind then the cost is entirely your responsibility. We recommend that you make  use of a parcel delivery company which will insure you for the value of  the goods that you are returning.<br />b) ...if the product is faulty or is damaged in transit.<br />We will either refund you or issue you with a credit note to the same value as your purchase as quickly as we can.<br />";
var wpEM1 = "supporterservices";
var wpEM2 = "arthritiscare.org.uk";
var contactTel = "0207 380 6500";
var worldpayStatus="live";
var notify_a_email1 = "mjbetts";
var notify_a_email2 = "tiscali.co.uk";
var notify_b_email1 = "arcshop";
var notify_b_email2 = "lingdesign.co.uk";
var notify_c_email1 = "JoelB";
var notify_c_email2 = "arthritiscare.org.uk";

//WorldPay Impress variables. First must be defined, even if not a WP charity.

var worldpay_impress="FALSE";
var newsletter_email1 = "";
var newsletter_email2 = "";

//Sagepay; status: dev/live/test/showpost

var sagepay_VendorName="";
var sagepay_EncryptionPassword="";
var sagepayStatus="";

//Cardstream variables

var cardstream_ID="";
var cardstream_Password="";
var cardstream_email1 = "";
var cardstream_email2 = "";

var basketLive="TRUE";
var folder ="ArthritisCare";
var charityName = "Arthritis Care";
var charityNumber = "206563 (England)<br>SC038693 (Scotland)";
var charityWebSite = "www.arthritiscare.org.uk";
var tradingCompanyName = "Arthritis Care (Trading) Ltd";
var tradingCompanyNumber = "";
var charityAdd1 = "18 Stephenson Way";
var charityAdd2 = "London";
var charityAdd3 = "";
var charityAdd4 = "";
var charityAdd5 = "";
var charityAdd6 = "NW1 2HD";
var enquiriesTel = "0845 450 2234";
var lastDate = "12-Dec-10";
var overprinting = "no";
var lastOverDate = "";
var overprintNote = "";
var newsletter="TRUE";
var genNote = "";
var genEnquiriesTel = "020 7380 6540";
var charityTextpara1 = "Arthritis affects more than 9 million men and women in the UK - that's 1 in 5 of the adult population. Arthritis Care is the UK's largest voluntary organisation working with and for all people with arthritis.";
var charityTextpara2 = "Arthritis Care provides information and services, and campaigns on behalf of all people with arthritis throughout the UK.";
var charityTextpara3 = "";
var charityLogo = "aLogoArthritisC.gif";
var orient = "V";
var enqEM1 = "arcshop";
var enqEM2 = "lingdesign.co.uk";
var genEM1 = "supporterservices";
var genEM2 = "arthritiscare.org.uk";
var lstMn = "11";
var lstDay = "12";
var lstYear = "2010";
cardName[1]="A Shortening Winter&#96s Day";
delCard[1]="";
catNo[1]="ART100X";
foil[1]="";
cardPrice[1]="3.00";
packSize[1]="10";
cardDimCms[1]="13 x 9.8 cm";
cardDimIns[1]="5.1 x 3.9 in";
cardGreeting[1]="Season’s Greetings and best wishes for the New Year";
sustain[1]="";
cardNote[1]="";
imageFile[1]="zAShorteningWintersDay.jpg";
thumbNailFile[1]="zAShorteningWintersDay2.jpg";
cdIndex[1]="1";
cardName[2]="Manger";
delCard[2]="";
catNo[2]="ART101X";
foil[2]="";
cardPrice[2]="3.00";
packSize[2]="10";
cardDimCms[2]="16.5 x 8.3 cm";
cardDimIns[2]="6.5 x 3.3 in";
cardGreeting[2]="Season’s Greetings";
sustain[2]="";
cardNote[2]="";
imageFile[2]="zManger.jpg";
thumbNailFile[2]="zManger2.jpg";
cdIndex[2]="2";
cardName[3]="European Robin";
delCard[3]="";
catNo[3]="ART102X";
foil[3]="";
cardPrice[3]="3.00";
packSize[3]="10";
cardDimCms[3]="12.1 x 12.1 cm";
cardDimIns[3]="4.8 x 4.8 in";
cardGreeting[3]="Wishing you a Merry Christmas and a Happy New Year";
sustain[3]="";
cardNote[3]="Border for this display only";
imageFile[3]="zEuropeanRobin.jpg";
thumbNailFile[3]="zEuropeanRobin2.jpg";
cdIndex[3]="3";
cardName[4]="Present";
delCard[4]="";
catNo[4]="ART103X";
foil[4]="gold";
cardPrice[4]="3.20";
packSize[4]="10";
cardDimCms[4]="9.8 x 13 cm";
cardDimIns[4]="3.9 x 5.1 in";
cardGreeting[4]="Season’s Greetings";
sustain[4]="";
cardNote[4]="Gold foil";
imageFile[4]="zPresent.jpg";
thumbNailFile[4]="zPresent2.jpg";
cdIndex[4]="4";
cardName[5]="Winter Night Patrol";
delCard[5]="";
catNo[5]="ART104X";
foil[5]="";
cardPrice[5]="3.00";
packSize[5]="10";
cardDimCms[5]="17.1 x 12.1 cm";
cardDimIns[5]="6.7 x 4.8 in";
cardGreeting[5]="With every good wish for Christmas and the New Year";
sustain[5]="";
cardNote[5]="";
imageFile[5]="zWinterNightPatrol.jpg";
thumbNailFile[5]="zWinterNightPatrol2.jpg";
cdIndex[5]="5";
cardName[6]="Scarf for Snowman<br>Welsh Enlish bilingual greeting";
delCard[6]="";
catNo[6]="ART105X";
foil[6]="";
cardPrice[6]="3.00";
packSize[6]="10";
cardDimCms[6]="13.7 x 13.7 cm";
cardDimIns[6]="5.4 x 5.4 in";
cardGreeting[6]="Season’s Greetings/Cyfarchion y Tymor";
sustain[6]="";
cardNote[6]="Dual message in English and Welsh<br>Border for this display only";
imageFile[6]="zScarfForSnowman.jpg";
thumbNailFile[6]="zScarfForSnowman2.jpg";
cdIndex[6]="6";
cardName[7]="Garden Robin";
delCard[7]="";
catNo[7]="ART106X";
foil[7]="silver";
cardPrice[7]="3.20";
packSize[7]="10";
cardDimCms[7]="12.1 x 12.1 cm";
cardDimIns[7]="4.8 x 4.8 in";
cardGreeting[7]="With every good wish for Christmas and the New Year";
sustain[7]="";
cardNote[7]="Silver foil<br>Border for this display only";
imageFile[7]="zGardenRobin.jpg";
thumbNailFile[7]="zGardenRobin2.jpg";
cdIndex[7]="7";
cardName[8]="Snowman";
delCard[8]="";
catNo[8]="ART107X";
foil[8]="";
cardPrice[8]="3.00";
packSize[8]="10";
cardDimCms[8]="12.1 x 17.1 cm";
cardDimIns[8]="4.8 x 6.7 in";
cardGreeting[8]="Wishing you a Merry Christmas and a Happy New Year";
sustain[8]="";
cardNote[8]="Border for this display only";
imageFile[8]="zSnowman.jpg";
thumbNailFile[8]="zSnowman2.jpg";
cdIndex[8]="8";
cardName[9]="Santa and Sledge";
delCard[9]="";
catNo[9]="ART108X";
foil[9]="";
cardPrice[9]="3.00";
packSize[9]="10";
cardDimCms[9]="13.7 x 13.7 cm";
cardDimIns[9]="5.4 x 5.4 in";
cardGreeting[9]="Season’s Greetings and best wishes for the New Year";
sustain[9]="";
cardNote[9]="Border for this display only";
imageFile[9]="zSantaAndSledge.jpg";
thumbNailFile[9]="zSantaAndSledge2.jpg";
cdIndex[9]="9";
cardName[10]="Forest Christmas Tree";
delCard[10]="";
catNo[10]="ART109X";
foil[10]="";
cardPrice[10]="3.00";
packSize[10]="10";
cardDimCms[10]="17.1 x 12.1 cm";
cardDimIns[10]="6.7 x 4.8 in";
cardGreeting[10]="Season’s Greetings";
sustain[10]="";
cardNote[10]="Border for this display only";
imageFile[10]="zForestChristmasTree.jpg";
thumbNailFile[10]="zForestChristmasTree2.jpg";
cdIndex[10]="10";
cardName[11]="Dove of Peace";
delCard[11]="";
catNo[11]="ART110X";
foil[11]="silver";
cardPrice[11]="3.20";
packSize[11]="10";
cardDimCms[11]="13.7 x 13.7 cm";
cardDimIns[11]="5.4 x 5.4 in";
cardGreeting[11]="With every good wish for Christmas and the New Year";
sustain[11]="";
cardNote[11]="Silver foil<br>Border for this display only";
imageFile[11]="zDoveOfPeace.jpg";
thumbNailFile[11]="zDoveOfPeace2.jpg";
cdIndex[11]="11";
cardName[12]="Christmas Post";
delCard[12]="";
catNo[12]="ART111X";
foil[12]="gold";
cardPrice[12]="3.20";
packSize[12]="10";
cardDimCms[12]="12.1 x 17.1 cm";
cardDimIns[12]="4.8 x 6.7 in";
cardGreeting[12]="Wishing you a Merry Christmas and a Happy New Year";
sustain[12]="";
cardNote[12]="Gold foil<br>Border for this display only";
imageFile[12]="zChristmasPost.jpg";
thumbNailFile[12]="zChristmasPost2.jpg";
cdIndex[12]="12";
var cardCt="12";
 
//-->
