// NebuCart - The JavaScript Shopping Cart
// by Nebulus Designs
//
// Copyright 1999/2000 all rights reserved.

// None of this script may be redistributed or sold
// without the authors express consent.
// Violations of copyright will be prosecuted.

// If you would like to use NebuCart,
// email us at nebucart@nebulus.org
// or visit http://www.nebulus.org/NebuCart

// ********************************************
// NebuCart User Defined Settings             *
// ********************************************
// Cart variables - you edit these to taste   *
// ********************************************

// set your company information here. This will all
// generated on the printable form
// Default settings are for Nebulus Designs
var myName = "The Play Erie Online CD Shop";
var mySite = "http://www.playerie.com";
var myEmail = "shop\@playerie.com";
var myPhone = "(615) 773-2959";
var myAddress = "PO Box 140198";
var myCityState = "Nashville, TN";
var myZip = "37214";
var myLogo = "graphics/PE_blk_med.jpg";

// enter the percentag tax to charge customers if
// they reside in your state. example - .06 is 6%
// Default setting is 6.5%
var stateTax = ".06";

// enter the abreviation and name of the state you live in.
// if the customer lives here, then they will get
// charged the sales tax.
// Important - leave the state abreviation and name in lower case!
// Default setting is ks/kansas
var myState1 = "pa";
var myState2 = "pennsylvania";

// enter shipping amount in percentage or straight charge.
// if you use a percentage, then set shipPercent = true,
// otherwise set it to false.
// Default setting is 10%
var shipAmt = ".1";
var shipPercent = false;

// set this to true if you want to use shipping
// options as opposed to a set amount or percentage.
// set to false to use a set amount or percentage
var useShipOptions = true;

// this will define a set of radio buttons for your shipping options.
// Formatting:
// One option per line - "Options Description + | + option cost",
// for last option, leave off the comma!
var shipOptions = new Array(
"$  1 - $5.00   = |1.50",
"$  6 - $10.00 = |2.00",
"$11 - $20.00 = |3.00",
"$21 - $30.00 = |4.00",
"$31 - $40.00 = |5.00",
"$41 - $60.00 = |6.00",
"over  $60.00 = |7.00"
);

// set this option for which credit cards you accept
// use the same formatting as the shipOptions
var cardOption = new Array(
"Visa",
"MasterCard"
);

// set whether you'd like to allow a printable form for orders
// If you don't use a printable form, then make sure you 
// have your CGI variables set!
// default is true
var usePrint = true;

// set whether you want to allow CGI form based order submission.
// default is true
var useForm = true;

// set wheather you want to allow secure order submission.
// default is true
var useSecure = true;

// set the font face to whatever font you're using on your site
// Default setting is "arial,helvetica"
var fontFace = "arial,helvetica";

// set the name of your main frame here
// this will be the name of the frame that houses the catalogue
// pages and other content.
// Default setting is "body"
var mainFrameName = "body";

// set the names of the cart pages
//
// the page where we get the shipping information
var COstep1 = "checkout1.html";

// the last step for printing an order form
var COstep2 = "checkout2.html";

// the printable order form
var COprint = "checkout3p.html";

// the page for the unsecure order form
var COform = "checkout3f.html";

// the page for the secure order form
var COsecure = "checkout3f.html";

// the page that displays the cart contents
var cartPage = "cart.html";

// set CGI Post Action path (non-secure)
// if you aren't using CGI submission, then set to ""
var cgiPostAction = "";

// set up an array of tags for your specific form handling CGI script
// see the form script help file for required/optional tags
// be sure to use escape charcaters (see example)!
var cgiTags = new Array(
"<input type=hidden name=recipient value=\"shop\@playerie.com\">",
"<input type=hidden name=subject value=\"PlayErie.com CD Shop Order\">",
"<input type=hidden name=redirect value=\"https://www.artofthegroove.com/shop/thanks.html\">",
"<input type=hidden name=return_link_title value=\"Back to Main Page\">"
);

// set the path to your SSL here. If you aren't using
// secure server, then this variable isn't necessary
var securePath = "https://www.artofthegroove.com/shop/";

// set up the Post action for your secure form.
// If you aren't using secure ordering, then set secureCGIPostAction = ""
var secureCGIPostAction = "https://www.artofthegroove.com/cgi-bin/FormMail.pl";