// 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 = "richardhouseshop";
var paypal_email2 = "btconnect.com";
var paypal_charityLogo = "";

//WorldPay variables

var worldpay_accId="";
var worldpay_instId="";
var returns="";
var wpEM1 = "";
var wpEM2 = "";
var contactTel = "";
var worldpayStatus="";
var notify_a_email1 = "";
var notify_a_email2 = "";
var notify_b_email1 = "";
var notify_b_email2 = "";
var notify_c_email1 = "";
var notify_c_email2 = "";

//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="FALSE";
var folder ="RichardHo";
var charityName = "Richard House Children's Hospice";
var charityNumber = "1059029";
var charityWebSite = "www.richardhouse.org.uk";
var tradingCompanyName = "";
var tradingCompanyNumber = "";
var charityAdd1 = "";
var charityAdd2 = "";
var charityAdd3 = "";
var charityAdd4 = "";
var charityAdd5 = "";
var charityAdd6 = "";
var enquiriesTel = "020 7540 0229";
var lastDate = "13-Dec-10";
var overprinting = "yes";
var lastOverDate = "23-Nov-09";
var overprintNote = "Please contact us on 020 7540 0229 to discuss your overprinting needs.";
var newsletter="";
var genNote = "";
var genEnquiriesTel = "020 7540 0229";
var charityTextpara1 = "Richard House Children's Hospice provides vital care to over 150 children and their families every year. The children who visit Richard House come from east, southeast, north and central London, whilst others travel from Essex. They suffer from life limiting and life threatening illnesses, which means that they are not expected to live until adulthood. Our aim is to improve the quality of life of every child, and their family, that visits the hospice. We accomplish this by providing a wide range of services including play and music therapy, day care, overnight visits, end-of-life care and bereavement support.";
var charityTextpara2 = "All services at the hospice are provided free of charge. We need to raise around £2 million per year in donations to provide this valuable service. Ordering Christmas cards from this website is one of the ways in which you can help us to make a real difference to the lives of the children and families who visit Richard House.";
var charityTextpara3 = "Please contact Anna if you would like to know more about Richard House or wish to receive our quarterly newsletter.";
var charityLogo = "aLogoRichard.jpg";
var orient = "H";
var enqEM1 = "christmascards";
var enqEM2 = "richardhouse.org.uk";
var genEM1 = "greym";
var genEM2 = "richardhouse.org.uk";
var lstMn = "11";
var lstDay = "13";
var lstYear = "2010";
cardName[1]="CCCS Skaters";
delCard[1]="";
catNo[1]="";
foil[1]="";
cardPrice[1]="3.50";
packSize[1]="10";
cardDimCms[1]="16.9 x 12 cm";
cardDimIns[1]="6.7 x 4.7 in";
cardGreeting[1]="Wishing you a very merry Christmas and a Happy New Year";
sustain[1]="Produced from trees from sustainable forests";
cardNote[1]="";
imageFile[1]="zSkaters.jpg";
thumbNailFile[1]="zSkaters2.jpg";
cdIndex[1]="1";
cardName[2]="CCCS Modern Bethlehem";
delCard[2]="";
catNo[2]="";
foil[2]="";
cardPrice[2]="3.50";
packSize[2]="10";
cardDimCms[2]="12 x 12 cm";
cardDimIns[2]="4.7 x 4.7 in";
cardGreeting[2]="Wishing you a very merry Christmas and a Happy New Year";
sustain[2]="Produced from trees from sustainable forests";
cardNote[2]="";
imageFile[2]="zModernBethlehem.jpg";
thumbNailFile[2]="zModernBethlehem2.jpg";
cdIndex[2]="2";
cardName[3]="CCCS Santa and Friends";
delCard[3]="";
catNo[3]="";
foil[3]="";
cardPrice[3]="3.50";
packSize[3]="10";
cardDimCms[3]="12 x 12 cm";
cardDimIns[3]="4.7 x 4.7 in";
cardGreeting[3]="Wishing you a very merry Christmas and a Happy New Year";
sustain[3]="Produced from trees from sustainable forests";
cardNote[3]="";
imageFile[3]="zSantaAndFriends.jpg";
thumbNailFile[3]="zSantaAndFriends2.jpg";
cdIndex[3]="3";
cardName[4]="CCCS White Christmas Tree";
delCard[4]="";
catNo[4]="";
foil[4]="";
cardPrice[4]="3.50";
packSize[4]="10";
cardDimCms[4]="12 x 16.9 cm";
cardDimIns[4]="4.7 x 6.7 in";
cardGreeting[4]="Wishing you a very merry Christmas and a Happy New Year";
sustain[4]="Produced from trees from sustainable forests";
cardNote[4]="Border for this display only";
imageFile[4]="zWhiteChristmasTree.jpg";
thumbNailFile[4]="zWhiteChristmasTree2.jpg";
cdIndex[4]="4";
cardName[5]="CCCS Christmas Kitten";
delCard[5]="";
catNo[5]="";
foil[5]="";
cardPrice[5]="3.50";
packSize[5]="10";
cardDimCms[5]="15 x 15 cm";
cardDimIns[5]="5.9 x 5.9 in";
cardGreeting[5]="Wishing you a very merry Christmas and a Happy New Year";
sustain[5]="Produced from trees from sustainable forests";
cardNote[5]="Border for this display only";
imageFile[5]="zChristmasKitten.jpg";
thumbNailFile[5]="zChristmasKitten2.jpg";
cdIndex[5]="5";
cardName[6]="CCCS Snowman under the Tree";
delCard[6]="";
catNo[6]="";
foil[6]="";
cardPrice[6]="3.50";
packSize[6]="10";
cardDimCms[6]="15 x 15 cm";
cardDimIns[6]="5.9 x 5.9 in";
cardGreeting[6]="Wishing you a very merry Christmas and a Happy New Year";
sustain[6]="Produced from trees from sustainable forests";
cardNote[6]="";
imageFile[6]="zSnowmanUnderTheTree.jpg";
thumbNailFile[6]="zSnowmanUnderTheTree2.jpg";
cdIndex[6]="6";
cardName[7]="CCCS Robin in Snow";
delCard[7]="";
catNo[7]="";
foil[7]="";
cardPrice[7]="3.50";
packSize[7]="10";
cardDimCms[7]="15 x 15 cm";
cardDimIns[7]="5.9 x 5.9 in";
cardGreeting[7]="Wishing you a very merry Christmas and a Happy New Year";
sustain[7]="Produced from trees from sustainable forests";
cardNote[7]="Outer border for this display only";
imageFile[7]="zRobinInSnow.jpg";
thumbNailFile[7]="zRobinInSnow2.jpg";
cdIndex[7]="7";
cardName[8]="CCCS Watching Santa over the Rooftops";
delCard[8]="";
catNo[8]="";
foil[8]="";
cardPrice[8]="3.50";
packSize[8]="10";
cardDimCms[8]="15 x 15 cm";
cardDimIns[8]="5.9 x 5.9 in";
cardGreeting[8]="Wishing you a very merry Christmas and a Happy New Year";
sustain[8]="Produced from trees from sustainable forests";
cardNote[8]="";
imageFile[8]="zWatchingSantaOverTheRooftops.jpg";
thumbNailFile[8]="zWatchingSantaOverTheRooftops2.jpg";
cdIndex[8]="8";
var cardCt="8";
 
//-->
