// settings.js



// Merchant name and contact details
sp.Name="Vitamin UK";
sp.TradeName="Vitamin UK"; // TRADING STYLE  (will be set same as above if left blank)
sp.Address="PO BOX 63335 London NW4 9GS United Kingdom";
sp.Tel ="within UK FREEPHONE 0800 056 8148 -  Outside UK 0044 208 349 0189";
sp.Fax ="Within UK FREEPHONE 0800 056 8146 - Outside UK +44 208 349 0189";
sp.OrderEmail="orders@vitaminuk.com";
sp.EnquiryEmail="orders@vitaminuk.com";// Email for correspondence (will be set same as above if left blank)
sp.OrderEmailCC="undefined";




// FOLDERS FILES FRAMES and BUTTONS

// Graphics
sp.pixFromRoot="pix";
// Buttons : If you create your own put them in another sub-folder and adjust this setting

// egypta has the additional images required for the non-checkout rollovers and bar-ends
sp.buttonDir = "pix/egypta";
sp.buttonWid = 135;
sp.buttonHei = 36;
sp.buttonExt = "gif";
sp.buttonMov = true;
sp.buttonHnd  = new Array(21,36,21,36);



// Terms
sp.TermsRequiredLinks = new Array("review", "checkout");

// Review Buttons
sp.ReviewRequiredLinks = new Array("recalc","terms", "checkout"  );
sp.EmptyRequiredLinks = new Array("entrance","terms");

// Top frame of checkout : buttonbar
sp.checkoutButtonsRequired = new Array("basket", "customer", "delivery", "summary", "payment"); //
 // For order only, with no payment methods
// sp.checkoutButtonsRequired = new Array("basket", "customer", "delivery", "summary", "order"); //


// Payment page
sp.payRequiredLinks =  new Array("order" );
// Thankyou
sp.ThankRequiredLinks=new Array("entrance", "leaving");

// Suppress online card payment option if delivery address differs from main address
sp.deliveryOnlyToCardAddress=false;

// Your shopping pages
// Folder
sp.shopFolder="pages";
// First shop page to show from above folder
sp.AutoLoadFile="index.html";



// Frameset ########## FRAMES SETUP ################

sp.usingFrames=true; // If true then sp.AutoLoadFile should be a frameset file - with appropriate script
sp.userMainFrame="main";

// Order Form Related Files
sp.termsFile="system/user/terms.htm";
sp.customerDetailsHelp="system/onlinehelp/customerhelp.htm";
sp.payments_help="system/onlinehelp/payhelp.htm";
sp.customerType="personal"; // "business"; // "personal"
sp.delivery="delivery.htm";
sp.payment_choices="payment_choices.htm";


// SHIPPING SET TO RM and PARCELFORCE ##################


sp.shipping="shipping_rmpf.htm"; 
//sp.shipping="shipping_ukspeciald.htm";
//sp.shipping="shipping_rmpf.htm"; //sp.shipping="shipping_fixed.htm";

sp.output_to="output_to_formmail.htm";
// Full URL required for redirect/link in forms to email script
// these values are appended to root path of site ( = level above system)

sp.AfterOrder="system/user/thankyou.htm";
sp.ShowFeedBack=true;// Show any feedback page from forms to email script eg FormMail

// to prevent feedback from forms to email overwriting secure dialogue in main frameset
sp.AfterOrderExternal="system/user/thanks.htm";
sp.AfterShopping="system/user/after.htm";

//
// FORMMAIL path ######################################
//

sp.OutputAction="http://www.vitaminuk.com/cgi-bin/vitaminuk.cgi";


//sp.OutputAction="http://rodney.hostplan.co.uk/formmail.php";
//sp.OutputAction="http://www.thefonebox.com/cgi-bin/formmail.asp";




// Switches and Settings for demo/development ?????????????
sp.LIVE=  true; //true; //
sp.demoVariations=false; // false suppresses demo_only/variations.htm offering demo options
sp.callNewchoiceFromFunction=false;
sp.Debug=false;

//changed debug submissions to false 24.12.01

sp.debug_submission=false;
sp.offerTestCustomerDataLink= false;// false;//
sp.localServer="http://localhost";
sp.onNetwithLocalServer=false;


// SITE OPERATION
// Language
sp.supportedLanguages="en"; // "en;fr" : this var is for future development
sp.defaultLanguage="en";
// "en" will cause system/language/en.js to be loaded if browser language is not
// in list given to sp.supportedLanguages

// Immediate Feedback Confirmation of BUY #######################

// Default confirmation method : P popup A alert R review

sp.confirmDefault="P";
// set true if these methods of confirmation are to be used on your site
sp.alertWanted=true;
sp.popupWanted=true;
sp.helpWindowDuration=12; // POPUP Display Time in seconds

// Page sequences
sp.pageSequence["xxxx"]=[1,4];// min max in series xxxx001.htm to xxxx004.htm

// Terms and Review
sp.termsInFrameWithReview=false;
sp.forceTerms=false;
sp.linkInReview=true;
// set false where URLs are too long or of no use (eg some databases)
sp.storeLinkToShoppingPage=true;

// Sets a minimum order in the base currency unit (default : pounds)
sp.orderMinimum=0;
// Suppress any mention or calculation of shipping cost
sp.suppressShipping=false;

// TABLE WIDTHS AND BORDERS
sp.reviewBorder="0";
sp.reviewWidth="100%";
sp.orderSummaryBorder="0";
sp.orderSummaryWidth="100%";

// CURRENCY
sp.baseCurrencyCode="gbp";
// Multi Currency Rates
// Set true if using a script that gets rates from a third party service
sp.dynamicRates=false;
// Static
sp.staticScript="system/user/fxrates.htm"; // no need to change
// Dynamic : You have to set your own URL. You cannot use shopassistant.net demo script.
sp.rootURL="http://www.shopassistant.net/";
sp.dynaScript="cgi-bin/rates.pl";


///////////
setvars();
///////////
