function popup($ibanField, $bicField)
{
$F = new HTMLForm("ibanCalc", array("land", "kontonummer", "bankleitzahl", "ibanField", "bicField"));
$F->getTable()->setColWidth(1, 120);
$I = new IBAN();
$l = array();
foreach ($I->Countries() as $c) {
$IC = new IBANCountry($c);
if (!$IC->IsSEPA()) {
continue;
}
$l[$c] = ISO3166::getCountryToCode($c) . " ({$c})";
}
asort($l);
$F->setType("land", "select", "DE", $l);
$F->setType("ibanField", "hidden");
$F->setType("bicField", "hidden");
$F->setValue("ibanField", $ibanField);
$F->setValue("bicField", $bicField);
$F->setSaveRMEPCR("Berechnen", "", "IBANCalc", "-1", "calc", "function(t){ \$j('#ibanCalcResult').html(t.responseText); }");
echo $F . "<div id=\"ibanCalcResult\"></div>";
}