// Copyright (c) 2004 by One Degree, LLC. All rights reserved worldwide.
// strPack.js
// -----------------------------------------------------------------------

if(useshipping) {          // ship labels
	strsCheckoutAsp = {     
	// Shipped
	SHIPPED: "Shippped",
	// Ship
	SHIP: "Ship",
	// Shipping
	SHIPPING: "SHIPPING"
	};                     
} else {                        // delivery labels
	strsCheckoutAsp = {
	// Delivered
	SHIPPED: "Delivered",
	// Deliver
	SHIP: "Deliver",  
	// Delivery
	SHIPPING: "Delivery"  
	};	
}

strsTODValidation = {
// Before now
DATE_BEFORE_NOW: "That date has already passed.",
TIME_BEFORE_NOW: "That time has already passed.",
CLOSED: "Sorry, Johnika's is not open on that date.",
// Can't parse date or time
INVALID: "Invalid date or time.",
// Start time is after end time, or not far enough apart
WINDOW_INVERTED: "The earliest " + strsCheckoutAsp.SHIPPING.toLowerCase() + 
  " time must be at least one hour before the latest " +
  strsCheckoutAsp.SHIPPING.toLowerCase() + " time.",
TOO_LATE_FOR_PICKUP: "We're sorry, pickup orders for today are no longer " +
  "being taken.",
UNAVAILABLE_PICKUP_TIME: "We're sorry, pickups are not available at that " +
  "time on that date.",
TOO_LATE_FOR_SHIP: "We're sorry, " + strsCheckoutAsp.SHIPPED.toLowerCase() +
  " orders for today are no longer being taken.",
TRY_CALLING: "We're sorry, the cutoff time for same-day website orders has " +
  "passed. If you call in person, we will do our best accomadate your " +
  "request.",
UNAVAILABLE_SHIP_TIME: "We're sorry, but " + strsCheckoutAsp.SHIPPING.toLowerCase() +
  " is not available at that time on that date.",
// Time between order placed and order picked up/delivered exceed spec
NOT_ENOUGH_PREP: "We're sorry, but the Flash has taken a day off, and we " +
  "can't make your order up and deliver it that quickly! Try a later time " +
  "today."
};
