// 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="CHILDLIFE";
var worldpay_instId="232176";
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 = "s.carter";
var wpEM2 = "childlife.org.uk";
var contactTel = "01252 628072";
var worldpayStatus="live";
var notify_a_email1 = "info";
var notify_a_email2 = "childlife.org.uk";
var notify_b_email1 = "mjbetts";
var notify_b_email2 = "tiscali.co.uk";
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="TRUE";
var folder ="Childlife";
var charityName = "Childlife";
var charityNumber = "1080536";
var charityWebSite = "www.childlife.org.uk";
var tradingCompanyName = "";
var tradingCompanyNumber = "";
var charityAdd1 = "Childlife";
var charityAdd2 = "Westpoint House";
var charityAdd3 = "32-34 Albert Street";
var charityAdd4 = "Fleet";
var charityAdd5 = "";
var charityAdd6 = "GU51 3RW";
var enquiriesTel = "01252 628072";
var lastDate = "12-Dec-10";
var overprinting = "no";
var lastOverDate = "";
var overprintNote = "";
var newsletter="TRUE";
var genNote = "";
var genEnquiriesTel = "01252 628072";
var charityTextpara1 = "Childlife is a special collaboration between four charities helping children. More information about Childlife and links to the four charities we support can be found on our website below. Your card purchase will help so many children who are living with constant challenges to their daily lives.<br><br>National Deaf Children's Society (NDCS): The NDCS is the leading UK charity solely dedicated to supporting all deaf children and young people, their parents, carers and professionals working on their behalf, through 110 local groups.";
var charityTextpara2 = "Acorns Children's Hospice: Acorns care for life-limited children and support their families at their children’s hospices in Selly Oak, Birmingham, and Walsall, as well as through a community team who are on call around the clock for families in their own home.<br><br>National Children's Bureau (NCB):  NCB promotes the interests and well-being of all children and young people across every aspect of their lives.  Founded in 1963, NCB is a charitable organisation that acts as an umbrella body for organisations working with children and young people in England & Northern Ireland. Through working in partnership, sharing knowledge, resources and services they have created a powerful, authoritative and influential voice to improve the lives of children and young people.";
var charityTextpara3 = "Ataxia UK: The ataxias are rare neurological disorders which cause key nerve and muscle cells to die and can strike at any age - babies, children, teenagers or adults.  Ataxia UK support people affected by ataxia with research, information, welfare grants, campaigning and the opportunity to meet and help others in a similar position.";
var charityLogo = "aLogoChildlife.gif";
var orient = "H";
var enqEM1 = "s.carter";
var enqEM2 = "childlife.org.uk";
var genEM1 = "info";
var genEM2 = "childlife.org.uk";
var lstMn = "11";
var lstDay = "12";
var lstYear = "2010";
cardName[1]="Rudolph";
delCard[1]="";
catNo[1]="";
foil[1]="";
cardPrice[1]="3.50";
packSize[1]="10";
cardDimCms[1]="15 x 15 cm";
cardDimIns[1]="5.9 x 5.9 in";
cardGreeting[1]="Season's Greetings";
sustain[1]="Forestry Stewardship Council - Mixed Sources.  Product group from well-managed forests and other controlled sources.";
cardNote[1]="Border for this display only";
imageFile[1]="zRudolph.jpg";
thumbNailFile[1]="zRudolph2.jpg";
cdIndex[1]="1";
cardName[2]="Birdhouses";
delCard[2]="";
catNo[2]="";
foil[2]="";
cardPrice[2]="3.50";
packSize[2]="10";
cardDimCms[2]="12.1 x 17.1 cm";
cardDimIns[2]="4.8 x 6.7 in";
cardGreeting[2]="Season's Greetings";
sustain[2]="Forestry Stewardship Council - Mixed Sources.  Product group from well-managed forests and other controlled sources.";
cardNote[2]="";
imageFile[2]="zBirdhouses.jpg";
thumbNailFile[2]="zBirdhouses2.jpg";
cdIndex[2]="2";
cardName[3]="Christmas Night";
delCard[3]="";
catNo[3]="";
foil[3]="";
cardPrice[3]="3.50";
packSize[3]="10";
cardDimCms[3]="11 x 21 cm";
cardDimIns[3]="4.3 x 8.3 in";
cardGreeting[3]="Season's Greetings";
sustain[3]="Forestry Stewardship Council - Mixed Sources.  Product group from well-managed forests and other controlled sources.";
cardNote[3]="Outer border for this display only";
imageFile[3]="zChristmasNight.jpg";
thumbNailFile[3]="zChristmasNight2.jpg";
cdIndex[3]="3";
cardName[4]="Merry Christmas";
delCard[4]="";
catNo[4]="";
foil[4]="";
cardPrice[4]="3.50";
packSize[4]="10";
cardDimCms[4]="12.1 x 17.1 cm";
cardDimIns[4]="4.8 x 6.7 in";
cardGreeting[4]="Season's Greetings";
sustain[4]="Forestry Stewardship Council - Mixed Sources.  Product group from well-managed forests and other controlled sources.";
cardNote[4]="Border for this display only";
imageFile[4]="zMerryChristmas.jpg";
thumbNailFile[4]="zMerryChristmas2.jpg";
cdIndex[4]="4";
cardName[5]="Children of the World";
delCard[5]="";
catNo[5]="";
foil[5]="";
cardPrice[5]="3.00";
packSize[5]="10";
cardDimCms[5]="12.5 x 12.5 cm";
cardDimIns[5]="4.9 x 4.9 in";
cardGreeting[5]="Season's Greetings";
sustain[5]="Forestry Stewardship Council - Mixed Sources.  Product group from well-managed forests and other controlled sources.";
cardNote[5]="Border for this display only";
imageFile[5]="zChildrenOfTheWorld.jpg";
thumbNailFile[5]="zChildrenOfTheWorld2.jpg";
cdIndex[5]="5";
cardName[6]="Shepherds";
delCard[6]="";
catNo[6]="";
foil[6]="";
cardPrice[6]="3.00";
packSize[6]="10";
cardDimCms[6]="12.1 x 12.1 cm";
cardDimIns[6]="4.8 x 4.8 in";
cardGreeting[6]="Season's Greetings";
sustain[6]="Forestry Stewardship Council - Mixed Sources.  Product group from well-managed forests and other controlled sources.";
cardNote[6]="Gold foil";
imageFile[6]="zShepherds.jpg";
thumbNailFile[6]="zShepherds2.jpg";
cdIndex[6]="6";
cardName[7]="Christmas Cats";
delCard[7]="";
catNo[7]="";
foil[7]="";
cardPrice[7]="2.50";
packSize[7]="10";
cardDimCms[7]="13 x 9.8 cm";
cardDimIns[7]="5.1 x 3.9 in";
cardGreeting[7]="Season's Greetings";
sustain[7]="Forestry Stewardship Council - Mixed Sources.  Product group from well-managed forests and other controlled sources.";
cardNote[7]="Border for this display only";
imageFile[7]="zChristmasCats.jpg";
thumbNailFile[7]="zChristmasCats2.jpg";
cdIndex[7]="7";
var cardCt="7";
 
//-->
