function berechneVKs()
{
$waehrung = $_SESSION['Waehrung'];
if (!isset($waehrung->kWaehrung))
$waehrung = $GLOBALS["DB"]->executeQuery("select * from twaehrung where cStandard='Y'",1);
$this->fVK[0] = berechneBrutto($this->fVKNetto*$waehrung->fFaktor,$this->fUst);
$this->fVK[1] = $this->fVKNetto*$waehrung->fFaktor;
$this->alterVK[0] = berechneBrutto($this->alterVKNetto*$waehrung->fFaktor,$this->fUst);
$this->alterVK[1] = $this->alterVKNetto*$waehrung->fFaktor;
$this->fStaffelpreis1[0] = berechneBrutto($this->fPreis1*$waehrung->fFaktor,$this->fUst);
$this->fStaffelpreis1[1] = $this->fPreis1*$waehrung->fFaktor;
$this->fStaffelpreis2[0] = berechneBrutto($this->fPreis2*$waehrung->fFaktor,$this->fUst);
$this->fStaffelpreis2[1] = $this->fPreis2*$waehrung->fFaktor;
$this->fStaffelpreis3[0] = berechneBrutto($this->fPreis3*$waehrung->fFaktor,$this->fUst);
$this->fStaffelpreis3[1] = $this->fPreis3*$waehrung->fFaktor;
$this->fStaffelpreis4[0] = berechneBrutto($this->fPreis4*$waehrung->fFaktor,$this->fUst);
$this->fStaffelpreis4[1] = $this->fPreis4*$waehrung->fFaktor;
$this->fStaffelpreis5[0] = berechneBrutto($this->fPreis5*$waehrung->fFaktor,$this->fUst);
$this->fStaffelpreis5[1] = $this->fPreis5*$waehrung->fFaktor;
}