gastroSHOP_client_domain               = "www.eis-taxi.com";
gastroSHOP_client_adress               = "www.eis-taxi.com, Ulzburger Str. 304, 22846 Norderstedt, Tel. 040-94 36 5555";

gastroSHOP_email_target                = "4711kohlsuppe@eistaxi.com";
gastroSHOP_email_sender                = "info@eis-taxi.com";

gastroSHOP_email_subject               = "Internet Bestellung www.eis-taxi.com";
gastroSHOP_email_confirm_subject       = "Bestellbestätigung Ihrer Bestellung von www.eis-taxi.com";

gastroSHOP_email_send_confirm          = true;
gastroSHOP_email_confirm_with_copy     = true;
gastroSHOP_email_encoding              = "xml";

gastroSHOP_email_compressed            = false;

gastroSHOP_currency_text               = "EUR";
gastroSHOP_currency_symbol             = "&euro;";

gastroSHOP_currency_rounding           = "0.01";
gastroSHOP_currency_roundup			   = false;

gastroSHOP_openinghours                = new Array (
											[ 0, '12:00', '21:55' ],
											[ 1, '12:00', '21:55' ],
											[ 1, '12:00', '21:55' ],
											[ 1, '12:00', '21:55' ],
											[ 1, '12:00', '21:55' ],
											[ 1, '12:00', '21:55' ],
											[ 1, '12:00', '21:55' ]
										 );

gastroSHOP_deliveryexpenses            = "0";
gastroSHOP_minimumrequired             = "7";

gastroSHOP_firstitemgroup              = 4;

gastroSHOP_display_subitempage         = "hide";
gastroSHOP_display_itemnumbers         = false;
gastroSHOP_display_specialoffer_always = false;

gastroSHOP_orderlist_displaytotals     = true;
gastroSHOP_menu_seperator              = "";

gastroSHOP_discount_relative           = true;
gastroSHOP_discount_1                  = "15";
gastroSHOP_discount_1_value            = "3";
gastroSHOP_discount_2                  = "25";
gastroSHOP_discount_2_value            = "5";
gastroSHOP_discount_3                  = "50";
gastroSHOP_discount_3_value            = "10";

gastroSHOP_infoline_layout             = "**@L:Facebook und Qype*Face.html:L@** | **@L:Stellenangebote*Jobs.html:L@** | **@I:Infopage & Shopanleitung:I@** | **@L:Gutschein*Gutschein.html:L@** | **@L:Flyer*Flyer.html:L@** | **@L:Copyright ©*Copy.html:L@**  ";
			  
gastroSHOP_orderform_layout            = new Array (
                                         [ "Firma", "company", false, false ],
								 		 [ "Name", "lastname", true, true ],
										 [ "Straße", "street", true, true ],
										 [ "PLZ", "zipcode", true, true, "top.check_plz();"],
										 [ "Ort", "city", true, true ],
										 [ "Telefon", "phone", true, true ],									 	 
										 [ "E-Mail", "email", true, true ],										 
										 [ "Zeitbestellung (+/- 10 min.)", "datecomment", false, false ],
										 // *** PAYMENT BEGIN MARKER *** //
										 [ "Zahlungsart **@P:BAR*<small style=\"padding-right: 10px\">Barzahlung</small>:P@** **@P:EC*<img style=\"vertical-align: bottom;\" src=\"eckarte.png\"/> <small>EC Karte mit Pin (bei Lieferung)</small>:P@****@P:AMEX MASTER VISA*<img style=\"vertical-align: bottom;\" src=\"Master.png\"/> <small>(Zahlung bei Lieferung)</small>:P@**", "payment", false, false ],
										 // *** PAYMENT END MARKER *** //
										 [ "Hinterhof / Etage / Stockwerk", "text", false, false ],
										 [ "<span style=\"font-size:0.9em\">**@NEEDEDFIELDS**<br/>**@ASKCOOKIE**</span><br/><br/>**@SENDBUTTON**" ]
										 );

// Start eis-taxi Anpassungen
gastroSHOP_minimumrequired2            = "1000";

plz_invalid = "Bitte geben Sie eine gültige Postleitzahl ein! \n\n"+
		      "Wir liefern innerhalb von Norderstedt ab € 7,-!\n"+
			  "Weitere Informationen hierzu finden Sie auf unserer Informationsseite.\n"+
			  "Leider liefern wir im Umland nicht!";
			  
plz_min2    = "Leider liefern wir nicht \n\n"+
			  "ausserhalb von Norderstedt!";			  
			  
function check_plz(plz) {
var plz_ok = false;	
// Field03 ist die 4. Zeile (Vorname, Name, Straße, PLZ)
var plz_value = parent.frames[gastroSHOP_framename_main].document.gastroSHOP_form['Field03'].value;

	if (plz_value=='' || isNaN(plz_value)) 
	{ 
		alert(top.gastroSHOP_msgbox_form_missing_zipcode);
		plz_ok = false; 
	}
	else 
	{ 
		// check for valid plz
		if ((plz_value != 22844) && (plz_value != 22846) && (plz_value != 22848) && (plz_value != 22850) && (plz_value != 22851))
		{
			// ist gültig?
			if ((plz_value != 25451) && (plz_value != 24558) && (plz_value != 22889) && (plz_value != 22417) && (plz_value != 22419))
			{
				// hinweis auf ungültiges bestellgebiet
				alert(top.plz_invalid); 				
			}
			else
			{
				// höheren mindestbestellwert prüfen				
				if	((parseFloat(top.gastroSHOP_order_totalamount)-parseFloat(top.gastroSHOP_deliveryexpenses)) < parseFloat(top.gastroSHOP_minimumrequired2))
				{
					alert(top.plz_min2);
				}
				else
				{
					plz_ok = true;
				}
			}
		}
		else
		{
			// prüfen auf normalen mindestbestellwert
			if	((parseFloat(top.gastroSHOP_order_totalamount)-parseFloat(top.gastroSHOP_deliveryexpenses)) < parseFloat(top.gastroSHOP_minimumrequired))
			{
				alert(top.gastroSHOP_msgbox_minimumrequired);
			}
			else
				{ plz_ok = true; }
		}
	}
	// rückgabe
	if (plz_ok==true) 
		{ return true; }
	else
		{ return false; }
}
// Ende eis-taxi Anpassungen								 
										 
//
// Names of frames and files below
// DO NOT CHANGE IF NOT NECESSARY
//

gastroSHOP_file_sitelayout             = "gastroshop_layout.css";

gastroSHOP_file_icon_order             = "gastroshop_icon_basket.gif";
gastroSHOP_file_icon_order_delete      = "gastroshop_icon_delete.gif";
gastroSHOP_file_icon_order_remove      = "gastroshop_icon_remove.gif";
gastroSHOP_file_icon_order_add         = "gastroshop_icon_add.gif";
gastroSHOP_file_icon_infoline_info     = "gastroshop_icon_basket.gif";

gastroSHOP_file_html_infopage          = "gastroshop_infopage.html";
gastroSHOP_file_html_formreturn        = "gastroshop_thankyou.html";

gastroSHOP_formmailer                  = "gastroshop_formmail.php";

gastroSHOP_framename_menu              = "gastroSHOP_menu";
gastroSHOP_framename_main              = "gastroSHOP_main";
gastroSHOP_framename_infoline          = "gastroSHOP_infoline";
gastroSHOP_framename_orderlist         = "gastroSHOP_orderlist";

