/* allg. Bildreihen-Aufruf-Funktion: */
function show() {
	if(mfrei>=1) { // damit alles geladen ist
		hmpa = hmpo;
		smpa = smpo;
		var ziel = "bildtmpl.php?lg="+lang+"&hmpa="+hmpa+"&smpa="+smpa;
		bildframe.location.href = ziel;
	}
}

/* Sprachwechsel-Funktion: */
function switch_lang(sprache) {
	var bildnummer;
	if(bildframe.bildnr&&!isNaN(bildframe.bildnr)) {
		bildnummer = bildframe.bildnr;
	} else {
		bildnummer = 0;
	}
	var getstr = "?lg="+sprache+"&hmpa="+hmpa+"&smpa="+smpa+"&bildnr="+bildnummer;
	var ziel = "bildseite.php"+getstr;
	self.location.href=ziel;
}