
/**
 * Funktionen für Standard-eShop-Einrichtung
 */ 

// eShop-Funktionen

// Artikel in den Warenkorb legen
function es_std_AddArtikel(artikel)
{
    document.eshop.INFO_ARTIKEL.value    = '';
    document.eshop.ADD_ARTIKEL.value   = artikel;
    document.eshop.DELETE_ARTIKEL.value = '';
    document.eshop.ZUR_KASSE.value       = '';
    document.eshop.submit();
}

// Artikel aus dem Warenkorb löschen
function es_std_DeleteArtikel(artikel)
{
    if(confirm('Soll der Artikel wirklich aus dem Warenkorb gelöscht werden?'))
    {
        document.eshop.DELETE_ARTIKEL.value    = artikel;
        document.eshop.ARTIKEL_BERECHNEN.value  = '';
        document.eshop.submit();
    }
}

// Zum Warenkorb springen
function es_std_showWarenkorb(artikel)
{
	document.eshop.ZUM_WARENKORB.value=1;
    document.eshop.submit();
}

// Zur Kasse gehen
function es_std_zur_kasse()
{
	document.eshop.ZUR_KASSE.value=1;
    document.eshop.submit();
}


//******Steuerungsfunktionen Artikelauswahl

function es_std_setPerPage(anzahl)
{
    document.eshop.ANZAHL.value          = anzahl;
    document.eshop.submit();
}

function es_std_browsetable(wert)
{
    document.eshop.START.value           = wert;
    document.eshop.submit();
}
