// ---------------------------------------------
// settings for the BreezeBrowser "EOS" template
// - - - - - - - - - - - - - - - - - - - - - - -
// (c) 2004 by Peter Berger, www.peterberger.at
// ---------------------------------------------


// ------------------------------------
// various
// ------------------------------------
var numColumns		= 5			// number of columns on each index page
var numRows		= 6			// number of rows on each index page
var StartIndexPage	= "1"			// usually "1", you can also start with "all" pages
var currency		= new String("Kr.")	// 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	= 2			// in secondes (for slideshow)
var showCalcDetails	= 1			// set to 1 for showing the calculation link
var galleryIndex	= new String("http://www.lur.dk")
						// link back to gallery page
						// (can be absolute or relative)
						
// 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("Copyright www.fotovagn.dk")

// ------------------------------------
// 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("10x15cm blank print")
item[i]["price"] = 30

i++
item[i] = new Array()
item[i]["text"]  = new String("13x18cm mat print")
item[i]["price"] = 50

i++
item[i] = new Array()
item[i]["text"]  = new String("13x18cm blank print")
item[i]["price"] = 50

i++
item[i] = new Array()
item[i]["text"]  = new String("21x30cm mat print")
item[i]["price"] = 95

i++
item[i] = new Array()
item[i]["text"]  = new String("21x30cm blank print")
item[i]["price"] = 95

i++
item[i] = new Array()
item[i]["text"]  = new String("Digitalt til web")
item[i]["price"] = 75

i++
item[i] = new Array()
item[i]["text"]  = new String("Digitalt til tryk")
item[i]["price"] = 300


	// 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. To use all
//	special items for one image write "ALL" in the headline field.
// ------------------------------------
var specialItem = new Array()

i=0
specialItem[i]		= new Array()
specialItem[i]["text"]  = new String("CD-ROM")
specialItem[i]["price"] = 350

i++
specialItem[i]		= new Array()
specialItem[i]["text"]  = new String("CD")
specialItem[i]["price"] = 850

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["3"]	= 5		//  3 copies and more:  5% discount
discountByCopies["7"]	= 10		//  7 copies and more: 10% discount
discountByCopies["10"]	= 13		// 10 copies and more: 13% 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["250"]	= 5		//  $150 and more:  5% discount
discountByTotal["500"]	= 10		// $300 and more: 10% discount
discountByTotal["750"]	= 15		// $350 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	= 20		// 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 taxPercentage	= 0		// set to 0 for no tax calculation
var taxCountry   	= ""	// used for instructions next to the input fields
var tax_inclShipping	= 0		// set to 1 to include S&H in tax calculation
					// set to 0 to add S&H costs after tax
var taxAlways     	= 0		// set to 1 to always add tax
					// 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: if you add more options you have to regenerate all pages afterwards!


// ------------------------------------
// my contact information
// ------------------------------------
var myName	= new String("Vagn Knudsen")
var myStreet	= new String("Højvang 8")
var myCity	= new String("Hjerm")
var myState	= new String("")
var myZip       = new String("7560")
var myCountry   = new String("")
var myPhone1	= new String("97464610")
var myPhone2	= new String("")
var myFax	= new String("")
var myEmail	= new String("vagn@lur.dk")
var myWWW	= new String("www.fotovagn.dk")	// no "http://"
var myLogo	= new String("")		// 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	= 0
var customer_city	= 2
var customer_state	= 0
var customer_zip	= 2
var customer_country	= 0
var customer_phone	= 2
var customer_phone2	= 0
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 means a line break.
// ------------------------------------
var print_order		= 0	// for offline order
var print_button	= new String("Print ordre")

var order_as_text	= 0	// for offline order
var order_as_text_button= new String("Vis som tekstfil")

var localemail_order	= 1	// local e-mail client popup
var localemail_button	= new String("e-mail\nordre")

var formmail_order	= 0	// simple e-mail (for formmail.cgi Perl script)
var formmail_button	= new String("Send\nordre")

var eosmail_order	= 0	// "EOS" e-mail (with tagged list attached)
var eosmail_button	= new String("Send\nordre")

var paypal_order	= 0	// "EOS" e-mail + paypal forwarding
var paypal_button	= new String("submit and pay\nwith paypal")

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.

	
// ------------------------------------
// email settings
// ------------------------------------
var email_address	= new String("vagn@lur.dk")
var email_subject	= new String("Online ordre:")
	// you need access to this script if you set formmail_order to 1
var formmail_script	= new String("http://www.dht.dk/webhotel/support/formmail/formmail.pl")
	// you need access to this script if you set
	// eosmail_order or paypal_order to 1
var eosmail_script	= new String("")


// ------------------------------------
// paypal settings
// ------------------------------------
var paypalAccount	= new String("peterberger@chello.at")
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.
