// http://members.aol.com/paypalcart/index1.html
// Simple Client-Side Shopping Cart.  
// 11 April, 2005
//
// required entry to load the cookies (for older browsers)
  LoadIt ();               // force load of data - REQUIRED!
  if (root.xx_id == "") {  // REQUIRED!
// set-list for any cart-wide options here.  pc=product category, w=weight, a=amount, c=charge, q=quantity
		SetAmtDC (1,1,-9,10,-6,15,-5,20,-4.5,27,-4,47,-3.5,300,-3); // Cart-wide amt-based percent discount. [PayPal Fees]
//  SetCartHN (1,1,.30);  // $1 handling charge for whole cart.
//	SetCartSH (1,1,.30); // Cart-wide qty-based shipping charges.
//	SetAmtSH (pc, a1, c1, a2, c2, ...); // Cart-wide amt-based shipping charges.
//	SetPerSH (1,1,9,10,6,15,5,20,4.5,27,4,47,3.5,300,3); // Percent of amt based shipping charges.
//	SetWgtSH (pc, w1, c1, w2, c2, ...); // Cart-wide weight-based shipping.
//	SetCartDC (pc, q1, p1, q2, p2, ...); // Cart-wide qty-based percent discount.
//	SetAmtDC (pc, a1, p1, a2, p2, ...); // Cart-wide amt-based percent discount.
//	SetCartTX (this); // Read cart-wide tax from a select.
	
// set cart display options, and internal PayPal options
    root.xx_cc   = on;   // display credit card line
    root.xx_cdmp = off;  // root diagnostic cookie dump (leave off)
    root.xx_chkbx= on;   // agreement checkbox
    root.xx_coup = on;   // ask for coupon code on cart page
    root.xx_cval = "5bucksoff,SyncMeUp,syncmeup,HookMeUp,hookmeup,cyber6,DEBAUCHERY,debauchery,earlybird,EarlyBird,irock2010"; // coupon values
    root.xx_cdis = "0,0,0,0,0,0,0,0,0,0,0"; // corresponding coupon percent discounts
    root.xx_camt = "0,0,0,0,0,0,0,0,0,0,0";  // corresponding coupon amount discount
    root.xx_dadd = on;   // display cart when add-cart is clicked.
    root.xx_gwbx = off;   // gift wrapping checkbox
    root.xx_gwcg = 10;   // giftwrapping charge per item (if selected)
    root.xx_img  = on;   // show images in cart (SetImg)
    root.xx_mamt = 4.95;    // minimum amount of order, or zero.
    root.xx_mqty = 1;    // minimum quantity of order, or zero.
    root.xx_pc   = off;   // display product category in item list
    root.xx_prt  = on;   // Make mail/fax form available in cart
    root.xx_ship = on;   // ask user for shipping options
    root.xx_siz  = on;   // for img, on = resize, off = use orig size
    root.xx_sum  = off;   // display product cat summaries
    root.xx_tax  = on;   // ask user for tax options
    root.xx_uas  = off;  // UPS added air surcharge for fuel active
    root.xx_uasp = 9.5;  // UPS air surcharge percent (if active).
    root.xx_wt   = off;   // display weight totals
    root.xx_wtent= "";   // default entry = ounces, "gm" = grams.
    root.xx_wtrup= 10;   // rounding value - oz always up to lbs
                       //  gm rounds up to these grams.
// place for user-specific options
    root.xx_bn   = "";   // business code, or null
    root.xx_can  = "http://www.BigWheelRally.com/store/cancelled.htm";   // place for PayPal cancel return path
    root.xx_cbt  = "";   // continue button text, or null
    root.xx_cur  = "USD";// enter default currency code (or null)
    root.xx_id   = "Sales@BigWheelRally.com";  // PayPal ID
    root.xx_lc   = "US"; // enter default country code (or null)
    root.xx_ret  = "http://www.BigWheelRally.com/store/successful.htm";   // place for PayPal return path, or null
    root.xx_sty  = "bwr_logo";   // place for PayPal page style, or null
// required entry to store stuff off
    root.store ();       // required entry!!
  }                      // REQUIRED!