// ---------------------------------------------
// settings for the BreezeBrowser "EOS" template
// - - - - - - - - - - - - - - - - - - - - - - -
// (c) 2004 by Peter Berger, www.peterberger.at
// ---------------------------------------------


// ------------------------------------
// various
// ------------------------------------
var numColumns		= 4			// number of columns on each index page
var numRows		= 3			// number of rows on each index page
var currency		= new String("$")	// use "&euro;" for the Euro symbol
var decimal		= new String(".")	// . or , (only for viewing, use . in settings.js!)
var addr_format		= "csz"			// "csz" for <city, state zip> or 
						// "zcs" for <zip city \n state>
var defaultDelay	= 3			// in secondes (for slideshow)
var showCalcDetails	= 1			// set to 1 for showing the calculation link

// NEW stuff
// ---------
var use_proofOverlay	= 2			// set to 1 to hide the images under a transparent one
						// set to 2 to show the proof text only on mouse-over
						// set to 0 to ignore this function
var proof_ls = new String("proof.gif")		// overlay image for landscape orientated images
var proof_pt = new String("proof.gif")		// overlay image for portrait  orientated images
						// use "blank.gif" for no visible text


// NEW in version 2.2
// ------------------
// * 2nd tax option added (for Canadas GST/PST system)
// 	(see "shipping and tax" below in this file)
// * new secure payment option available via 2checkout.com!
// 	(see "checkout options" below in this file)
var pwFile		= ""			// i.e. "passw.js" (= working example!)
						// leave empty for no password protection
	// Note: you can change the password in the file passw.js (or whatever you call it)
var errorPage 		= "about:blank"		// set a HTML error page instead of the blank page
var showUpdateAlert	= 0			// set to 0 to suppress "update button" confirmation alerts
						// set to 1 for "update button only" confirmation alert
						// set to 2 for cart update confirmation alerts (everytime)
var descriptionPlace	= 2			// 0 = suppress image description
						// 1 = show underneath image/filename (for short captions)
						// 2 = show underneath order table (for longer text)
						// 3 = show above image/navigation links
var showSlideshow	= 1			// set to 1 to enable the slideshow function
var ignore_specialItems = 0			// set to 1 if you use the IPTC headline field for other stuff
var rev_specialItems	= 0			// set to 1 for reverse definition of special items
	// example: IPTC headline = "canvas" will list every special item which contains the string "canvas"
var checkoutTextfile	= ""			// i.e. "checkoutinfo.js" (= working example!)						
// end of version 2.2 variables

	
// NEW in version 2.1
// ------------------
var logoLink		= new String("http://www.scottromerphoto.com")	// leave empty to use the myWWW link (see below) or
						// set to "index" to use the gallery index page or
						// enter any WWW address (incl. "http://" if not local)
var selfPickup		= 0			// set to 0 to always add shipping
						// set to 1 to let the customer decide
var mouseOverColor	= new String("#dddddd")	// mouse-over-thumbnail effect used on the checkout page
var introTextfile	= new String("")	// i.e. "introtext.js" (= working example!)
var myStyleFile		= new String("style.css")// more styles added soon

// Define up to 3 checkboxes (leave blank to hide) 
var CheckboxInfo1	= new String("")	// i.e. "Please send framing information."
var CheckboxInfo2	= new String("")	// i.e. "Please put me on your mailinglist."
var CheckboxInfo3	= new String("")

var saveSpace		= 0			// set to 1 to place the order fields BELOW the image
var navigationBar_width = 620			// left part in fullsize view:
	// either REDUCE to save space or INCREMENT to avoid "menu jumps" between page changes

// accept credit card data from customer
var acceptCC	= new String("VISA,MASTERCARD, AmEx, Discover")
	// Note: enter the cards you accept - i.e. "Visa,Mastercard,Diners"
	//       or leave empty to disable this function

// end of version 2.1 variables


// NEW in version 2
// ----------------
var noOrderFunction	= 0			// set to 1 if you do not want to sell your photos
var language		= "en"			// en, de, nl or dk (need another one? let me know!)
var showUpdateCartButton= 1			// show/hide "Update Cart" button in fullsize view
	// Note: it is NOT necessary anymore to hide the button for faster loading!
var gif_next		= "rarr.gif"		// image for "right" arrow, i.e. "../gifs/next.gif"
var gif_prev		= "larr.gif"		// image for "left"  arrow, i.e. "../gifs/prev.gif"
var imagePath		= ""			// usually empty (means jpgs are in current folder)
var shadow		= 1			// 1 = drop shadow around image (for white background)
var noImageRightClick	= 1			// set to 1 to disable right mouse button on images
var noFileExtension	= 1			// set to 1 to show file names without ".jpg", ".CRW"
var filePrefix		= new String("ID: ")	// prefix to filename in fullsize and checkout page
var useSections		= 0			// show index grouped by topics
	// Note: section text must be in IPTC field "special instructions"!
	// 0 = no sections used
	// 1 = sections instead of pages (numRows is ignored)
	// 2 = sections and pages available
var pagesSelect		= 0			// 0 = links, 1 = drop down list
var sectionsSelect	= 1			// 0 = links, 1 = drop down list
var numberSections	= 1			// 1 = numbers in section list, 0 = off
var showCount		= 1			// show number of images per section
var repeatSectionList	= 0			// set to 1 to show the menu at the bottom again
var slideshowAllSections= 1			// set to 1 to ignore section end during slideshow
var StartIndexPage	= ""			// empty = default (page 1 or section overview)
	// Use this variable to define a specific start page:
	// "2"    = page 2
	// "3"    = page 3 , e.t.c.
	// "all"  = all pages
	// "s1"   = section 1
	// "s2"   = section 2 , e.t.c.
	// "sall" = all pages (section modus)
// end of version 2 stuff


// link back to gallery page (can be absolute or relative or empty)
var galleryIndex	= new String("http://www.scottromerphoto.com")

// This is the copyright text on the bottom of the index & fullsize pages
// You can edit it with your copyright info, provided that you
// have already made your donation to www.peterberger.at :-)
var copyrightMsg	= new String("© 2005 | Scott Romer Photography | 120 E. Market, suite 701 | Indianapolis, IN 46204.")

// ------------------------------------
// items with prices (you can change/add/delete these examples)
// ------------------------------------
var item = new Array()

var i=0
item[i] = new Array()
item[i]["text"]  = new String("5x7 size print")
item[i]["price"] = 10.00

i++
item[i] = new Array()
item[i]["text"]  = new String("8x10 size print")
item[i]["price"] = 20.00

i++
item[i] = new Array()
item[i]["text"]  = new String("11x14 size print")
item[i]["price"] = 40.00

i++
item[i] = new Array()
item[i]["text"]  = new String("8 Wallet Set")
item[i]["price"] = 25.00
	// Note: you can add more item arrays
i++
item[i] = new Array()
item[i]["text"]  = new String("Convert to Black&White")
item[i]["price"] = 0.00

i++
item[i] = new Array()
item[i]["text"]  = new String("Covert to WarmTone")
item[i]["price"] = 0.00

i++
item[i] = new Array()
item[i]["text"]  = new String("Retouch")
item[i]["price"] = 25.00
	// Note: you can add more item arrays


// ------------------------------------
// special items
//	To use such a special item simply write the name (i.e. "DVD")
//	in the *headline* IPTC data field of the image.
//	Examples:
//	* "DVD"
//	* "CD-ROM 20x30 size poster"
//	* "++ DVD"		-> include the standard items
//	* "++ 20x30 poster DVD"
//	* "SPECIAL"		-> all special items
//	* "ALL"			-> all standard and special items
// ------------------------------------
var specialItem = new Array()

i=0
specialItem[i]		= new Array()
specialItem[i]["text"]  = new String("CD-ROM")
specialItem[i]["price"] = 50.00

i++
specialItem[i]		= new Array()
specialItem[i]["text"]  = new String("DVD")
specialItem[i]["price"] = 15

i++
specialItem[i]		= new Array()
specialItem[i]["text"]  = new String("20x30 size poster")
specialItem[i]["price"] = 55
	// Note: you can add more special item arrays



// ------------------------------------
// discount settings
// ------------------------------------
var useDiscountByCopies	= 0		// set to 1 to enable (0 = not used)
var discountByCopies	= new Array()
discountByCopies["2"]	= 5		//  2 copies and more:  5% discount
discountByCopies["5"]	= 10		//  5 copies and more: 10% discount
discountByCopies["10"]	= 15		// 10 copies and more: 15% discount
	// Note: you can add more discount definition lines

var useDiscountByTotal	= 0		// set to 1 to enable (0 = not used)
var discountByTotal	= new Array()
discountByTotal["50"]	= 5		//  $50 and more:  5% discount
discountByTotal["100"]	= 10		// $100 and more: 10% discount
discountByTotal["200"]	= 15		// $200 and more: 15% discount
	// Note: you can add more discount definition lines


// ------------------------------------
// shipping and tax
// ------------------------------------
var shippingPercentage	=  0		// set to 0 for other shipping calculation
var shippingFixAmount	= 7.00		// set to 0 for other shipping calculation
var shippingPerItem	=  0		// set to 0 for other shipping calculation
	// Note: you can also combine the shipping calculations!
var tax_inclShipping	= 0		// set to 1 to include S&H in tax calculation
					// set to 0 to add S&H costs after tax
// tax 1 (i.e. "GST" in Canada)
var taxPercentage	= 7.00		// set to 0 for no tax 1 calculation
var taxCountry   	= "Indiana"	// used for instructions next to the input field
var taxAlways     	= 0		// set to 1 to always add tax 1
					// set to 0 to let the customer decide
// tax 2 (i.e. "PST" in Canada)
var tax2Percentage	= 0		// set to 0 for no tax 2 calculation
var tax2Country   	= ""		// used for instructions next to the input field
var tax2Always     	= 0		// set to 1 to always add tax 2
					// set to 0 to let the customer decide
			
// ------------------------------------
// additional shipping options (with extra cost)
//	(set all "used" entries to 0 to disable these options)
// ------------------------------------
var shipOption = new Array()

i=0
shipOption[i]		= new Array()
shipOption[i]["title"]	= new String("Express shipping")
shipOption[i]["price"]	= 9		// add $9
shipOption[i]["used"]	= 0		// set to 1 to show (0 = hide)

i++
shipOption[i]		= new Array()
shipOption[i]["title"]	= new String("Insurance")
shipOption[i]["price"]	= 2		// add $2
shipOption[i]["used"]	= 0		// set to 1 to show (0 = hide)

i++
shipOption[i]		= new Array()
shipOption[i]["title"]	= new String("Next day delivery")
shipOption[i]["price"]	= 22		// add $22
shipOption[i]["used"]	= 0		// set to 1 to show (0 = hide)

i++
shipOption[i]		= new Array()
shipOption[i]["title"]	= new String("C.O.D.")
shipOption[i]["price"]	= 2		// add $2
shipOption[i]["used"]	= 0		// set to 1 to show (0 = hide)

i++
shipOption[i]		= new Array()
shipOption[i]["title"]	= new String("Gift wrapping")
shipOption[i]["price"]	= 4		// add $4
shipOption[i]["used"]	= 0		// set to 1 to show (0 = hide)
	// Note: you add more shipping option arrays


// ------------------------------------
// my contact information
// ------------------------------------
var myName	= new String("Scott Romer Photography")
var myStreet	= new String("120 E. Market, Suite 701")
var myCity	= new String("Indianapolis")
var myState	= new String("IN")
var myZip       = new String("46204")
var myCountry   = new String("USA")
var myPhone1	= new String("317-255-6233")
var myPhone2	= new String("317-507-3462")
var myFax	= new String("")
var myEmail	= new String("scott@scottromerphoto.com")
var myWWW	= new String("www.scottromerphoto.com")	// no "http://"
var myLogo	= new String("logo.jpg")		// absolute or relative


// ------------------------------------
// customer contact information
// 	0 = hide, 1 = show, 2 = mandatory
// 	(the name field is always mandatory!)
// ------------------------------------
var customer_addr1	= 2	// change to 0, 1 or 2
var customer_addr2	= 1
var customer_city	= 2
var customer_state	= 2
var customer_zip	= 2
var customer_country	= 1
var customer_phone	= 2
var customer_phone2	= 1
var customer_fax	= 0
var customer_email	= 2	// used for confirmation e-mail!
var customer_email2	= 0


// ------------------------------------
// checkout options (0 to hide, 1 to show)
//	Note: "\n" in the button text shows a line break.
// ------------------------------------
var print_order		= 0	// for offline order
var print_button	= new String("print order")

var order_as_text	= 0	// for offline order
var order_as_text_button= new String("show as text file")

var localemail_order	= 0	// local e-mail client popup
var localemail_button	= new String("e-mail order\n(local)")

var formmail_order	= 0	// simple e-mail (for formmail.cgi Perl script)
var formmail_button	= new String("e-mail order\n(online)")
	// Note: formmail.cgi is not recommended and may not be supported in future
	
var eosmail_order	= 1	// "EOS" e-mail (with tag and csv files attached!)
var eosmail_button	= new String("e-mail order\n(online)")

var paypal_order	= 0	// "EOS" e-mail + paypal.com forwarding
var paypal_button	= new String("submit and pay\nvia paypal")

var _2checkout_order	= 0	// "EOS" e-mail + 2checkout.com forwarding
var _2checkout_button	= new String("submit and pay\nvia 2checkout")

var linkpoint_order	= 0	// "EOS" e-mail + 2checkout.com forwarding
var linkpoint_button	= new String("submit and pay\nvia LinkPoint")

var eostest_order	= 0	// test the eosmail.php interface
var eostest_button	= new String("test eosmail\ninterface")
	// Note: the more options you offer
	// the more the customer may get confused.

	
// ------------------------------------
// e-mail settings
// ------------------------------------
var email_address	= new String("scott@scottromerphoto.com")
var email_subject	= new String("Web Order:")
	// you need access to this script if you set formmail_order to 1
var formmail_script	= new String("http://www.josephbrewster.com/cgi-bin/formmail.cgi")
	// you need access to this script if you set
	// eosmail_order, _2checkout_order or paypal_order to 1
var eosmail_script	= new String("http://www.peterberger.at/eosmail/eosmail_pro.php")
	// Note: you can use the above link and access the script on my server,
	// or you can download it from my homepage and install it on your own server.


// ------------------------------------
// paypal settings
// ------------------------------------
var paypalAccount	= new String("scott@scottromerphoto.com")
var ppCurrency		= new String("USD")  		// USD, EUR, CAD, GBP or JPY
	// Note: you can also let paypal do the shipping & tax calculation:
	//       go to paypal.com and see "My Account" -> "Profile" after the login.
	
// ------------------------------------
// 2checkout settings
// ------------------------------------
var sid_2checkout	= "200000"		// your 2Checkout.com account number 
var demo_2checkout	= 1			// set to 1 for testing (0 for live processing)

// ------------------------------------
// LinkPoint settings
// ------------------------------------
var storename		= "872740"		// your LinkPoint.com store name 


