// ==========================================
//	v3.7, singlepage
//	JavaScript-Funktionen für Shop
// ==========================================


//Formular absenden (Persönliche Daten)
function check_form_pdaten()
{
	document.form1.submit();
}


//Warenkorb aktualisieren
function check_form_wk(fkt,lang,e1)
{
	document.form1.action = 'show.asp?e1=' + e1 + '&shopstep=wk&fkt=' + fkt + '&lang=' + lang;
	document.form1.submit();
}

//Formular absenden (AGB)
function check_form_agb()
{
	document.form1.submit();
}


//Artikeldetails anzeigen aus WK
function show_details(artikel_id)
{
	//var url = 'cms-shop-artikel-liste.asp?mode=html&lang=' + language + '&artikel_id=' + artikel_id + '&view=window2';
	//neuwindow('artikel_' + artikel_id, url, 600, 450, 1, 1, 1)
}



function switch_za(sel)
{
	var va = document.form1.versandart;
	var za_v = sel.value;

	if(za_v == 3 || za_v == 2)
	{
		va.selectedIndex = 1;
	}
	else
	{
		va.selectedIndex = 0;
	}
}

function switch_va(sel)
{
	var za = document.form1.zahlungsart;
	var va_v = sel.value;

	if(va_v == 2)
	{
		za.selectedIndex = 2;
	}
	else
	{
		za.selectedIndex = 0;
	}
}


function go_to(e1,fkt)
{
	document.location.href = 'show.asp?shopstep=order&e1=' + e1 + '&fkt=' + fkt;
}
// -->

//---