// <!-- Funktion zur Einblendung der Informationstexte im Hauptmenu -->function TextToDIV(Text,Nr){var kastenid="kasten"+Nr;if(document.all && !document.getElementById) // IE 4{document.all[kastenid].innerHTML=Text;}if(document.layers) // NN 4.x{Text="<p style='font-size: 8pt; font-family: Arial, sans-serif; background-color: navy; text-align: left; color: white; margin-left: 0; margin-right: 0 width: 130;'>"+Text+"<\/p>";document.layers[kastenid].document.open();document.layers[kastenid].document.write(Text);document.layers[kastenid].document.close();}if (document.getElementById) // IE 5.x und NN 6{document.getElementById(kastenid).firstChild.data=Text;// oder document.getElementById(kastenid).innerHTML=Text;}}// <!-- Funktion zum Ausrechnen des Formulars -->function Total() {        var q, i, ordertotal, tax, sh, total;        ordertotal = 0;        nitems = 6        for (i=1; i<nitems+1; i++) {                eval("document.orderform.Item" + i + "Total.value = '';");                eval("q = document.orderform.Item" + i + "Quantity.value;");                if (q) {                        eval("total=document.orderform.Item" + i + "Price.value * document.orderform.Item" + i + "Quantity.value;");                        eval("document.orderform.Item" + i + "Total.value=Currency(total)");                        eval("ordertotal = ordertotal + total;");                }        }		        document.orderform.OrderTotal.value = Currency(ordertotal);        tax = ordertotal * .16 //Tax Amaount        document.orderform.Tax.value = Currency(tax);        sh = 1.1         document.orderform.SH.value = Currency(sh);        document.orderform.GrandTotal.value = Currency(ordertotal + tax + sh);}function Currency(anynum) {        //returns number as string in $xxx,xxx.xx format.        anynum = "" + eval(anynum)  //evaluate (in case an expression sent)        intnum = parseInt(anynum)  //isolate integer portion        intnum = Math.abs(intnum)        intstr = ""+intnum        //add comma in thousands place.        if (intnum >= 1000) {                intlen = intstr.length                temp1=parseInt(""+(intnum/1000))                temp2=intstr.substring(intlen-3,intlen)                intstr = temp1+"."+temp2        }        if (intnum >= 1000000) {                intlen = intstr.length                temp1=parseInt(""+(intnum/1000000))                temp2=intstr.substring(intlen-7,intlen)                intstr = temp1+"."+temp2        }        decnum = Math.abs(parseFloat(anynum)-parseInt(anynum)) //isolate decimal portion        decnum = decnum * 100 // multiply decimal portion by 100.        decstr = "" + Math.abs(Math.round(decnum))        if (decstr.length>2) {decstr=decstr.substring(0,2)}        while (decstr.length < 2) {decstr="0"+decstr}        retval = intstr + "," + decstr         if (anynum < 0) {                retval="("+retval+")"        }        return "€ "+retval}// <!-- Funktion für die Berechnung der Radonexposition -->var konz;var expo;var zeit;function calc(d){s=0;if (d.elements['zeit1'].checked && d.elements['expo'].value > 24) {alert("Bitte geben Sie eine Aufenthaltsdauer zwischen 1 und 24 Stunden an!");}if (d.elements['zeit2'].checked && d.elements['expo'].value > 168) {alert("Bitte geben Sie eine Aufenthaltsdauer zwischen 1 und 168 Stunden an!");}if (d.elements['zeit3'].checked && d.elements['expo'].value > 1248) {alert("Bitte geben Sie eine Aufenthaltsdauer zwischen 1 und 1248 Stunden an!");}if (d.elements['zeit4'].checked && d.elements['expo'].value > 8760) {alert("Bitte geben Sie eine Aufenthaltsdauer zwischen 1 und 8760 Stunden an!");}if(d.elements['zeit1'].checked){p = d.elements['konz'].value*d.elements['expo'].value*d.elements['zeit1'].value;s=s+p;}else if(d.elements['zeit2'].checked){p = d.elements['konz'].value*d.elements['expo'].value*d.elements['zeit2'].value;s=s+p;}else if(d.elements['zeit3'].checked){p = d.elements['konz'].value*d.elements['expo'].value*d.elements['zeit3'].value;s=s+p;}else if(d.elements['zeit4'].checked){p = d.elements['konz'].value*d.elements['expo'].value*d.elements['zeit4'].value;s=s+p;}d.tota.value = Math.round(s*0.0063/2000*10)/10;}// <!-- Funktion für die Stichwortliste -->function hyperJump(url) {  if(url=="")   {    document.menu.reset();    document.menu.yourChoice.blur();    return;   }  else    {    document.location.href = url;    document.menu.reset();    document.menu.yourChoice.blur();   } } // <!-- Funktion zur Eingabeüberprüfung bei Datenbankabfragen -->  function vollstaendig() 	{	 var korrekt = true;	 if (document.anfrage.kreise.value.length <3)	 	korrekt = false;	if (korrekt)		return true;		else		{		alert("Bitte geben Sie mindestens 3 Buchstaben an!");		return false;		}	}function wertePruefen() {      allesOK = true;      allesOK1 = aufNull();      if (allesOK1==false)         allesOK=false;    return allesOK;    }    function aufNull() {      allesOK = true;      if (document.anfrage.kreise.value.length <3) {        alert("Bitte geben Sie mindestens 3 Buchstaben an!");        allesOK=false;        }    return allesOK;	}  // <!-- Funktionen zum öffnen der vergrößerten Bildfenster -->function bildfenster2(){window.open('../Fenster/pdf-hilfe.html','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=560,height=160');}function bild1(){window.open('../Fenster/zerfall_teil.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=800,height=524');}function bild2(){window.open('../Fenster/radonhaus.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=700,height=501');}function bild3(){window.open('../Fenster/abh_geol.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=410,height=581');}function bild4(){window.open('../Fenster/ema_gest.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=794,height=349');}function bild5(){window.open('../Fenster/migration.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=611,height=600');}function bild6(){window.open('../Fenster/bergbau.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=642,height=500');}function bild7(){window.open('../Fenster/rad_wirk.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=325,height=532');}function bild8(){window.open('../Fenster/rad_exp_abh.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=711,height=530');}function bild9(){window.open('../Fenster/rad_geb.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=700,height=485');}function bild10(){window.open('../Fenster/konvdiff.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=700,height=492');}function bild11(){window.open('../Fenster/mess-bl.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=700,height=516');}function bild12(){window.open('../Fenster/hwz.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=539');}function bild13(){window.open('../Fenster/zerfall_u238.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=496,height=473');}function bild14(){window.open('../Fenster/abdichtung.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=459');}function bild15(){window.open('../Fenster/drainage.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=402');}function bild16(){window.open('../Fenster/bodenluftkarte.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=845');}function bild17(){window.open('../Fenster/karte_w_BfS.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=825');}function bild18(){window.open('../Fenster/radonbrunnen.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=500,height=489');}function bild19(){window.open('../Fenster/radondichtigkeit.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=587,height=602');}function bild20(){window.open('../Fenster/sanierungsmn.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=685,height=339');}function bild21(){window.open('../Fenster/histo_bodenluft.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=379');}function bild22(){window.open('../Fenster/rn_konz_geol.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=393');}function bild23(){window.open('../Fenster/rn_konz_gestein.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=352');}function bild24(){window.open('../Fenster/rn_konz_granit.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=353');}function bild25(){window.open('../Fenster/histo_trinkwasser.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=384');}function bild26(){window.open('../Fenster/grenzwerte.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=541,height=632');}function bild27(){window.open('../Fenster/strahlenexp.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=700,height=471');}function bild28(){window.open('../Fenster/strahlenrisiko.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=535,height=736');}function bild29(){window.open('../Fenster/zeitreihe.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=420');}function bild30(){window.open('../Fenster/Dtld_UeberschreitungRef.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=700,height=948');}function bild31(){window.open('../Fenster/OPfalz_Bsp_Ueberschreitung.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=649');}function bild32(){window.open('../Fenster/det_offen.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=650,height=440');}function bild33(){window.open('../Fenster/transferfaktor.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=414');}function bild34(){window.open('../Fenster/tab_abh_transfer.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=601,height=392');}function bild35(){window.open('../Fenster/uran_bachsed.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=551,height=800');}function bild36(){window.open('../Fenster/uran_bachwasser.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=557,height=800');}function bild37(){window.open('../Fenster/abb_risk.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=506,height=800');}function bild38(){window.open('../Fenster/rl_ueber_100.html','','resize=yes,toolbar=no,location=no,directories=no,border=no,status=yes,menubar=no,scrollbars=yes,copyhistory=no,width=620,height=700');}function bild39(){window.open('../Fenster/rl_ueber_200.html','','resize=yes,toolbar=no,location=no,directories=no,border=no,status=yes,menubar=no,scrollbars=yes,copyhistory=no,width=620,height=700');}function bild40(){window.open('../Fenster/rl_ueber_400.html','','resize=yes,toolbar=no,location=no,directories=no,border=no,status=yes,menubar=no,scrollbars=yes,copyhistory=no,width=620,height=700');}function bild41(){window.open('../Fenster/lkrebs.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=475');}function bild42(){window.open('../Fenster/bmu_exp_de03.html','','resize=yes,toolbar=no,location=no,directories=no,border=no,status=yes,menubar=no,scrollbars=yes,copyhistory=no,width=620,height=700');}function bild43(){window.open('../Fenster/bfs_terr_de04.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=600,height=716');}function bild44(){window.open('../Fenster/kreise_neubau.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=450,height=700');}function bild45(){window.open('../Fenster/kreise_altbau.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=no,copyhistory=no,width=450,height=700');}function bild46(){window.open('../Fenster/bauherren_tabelle.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=yes,copyhistory=no,width=965,height=545');}function bild47(){window.open('../Fenster/wohnort_tabelle.html','','toolbar=no,location=no,directories=no,border=no,status=no,menubar=no,scrollbars=yes,copyhistory=no,width=750,height=705');}
