//    © 2002, m-ART-insite.com



function setfocusFeldNr( nr )

{					

document.forms[0].elements[ nr ].focus();

}

var popup;

function oeffne (url, hoehe, breite, scrolling) {

xpos = 0;

ypos = 0;

hoehe = screen.availHeight - 50;

breite = 330;

popup=window.open(url,'FENSTER','toolbar=no,menubar=no,location=no,status=no,resizable=yes,scrollbars=' + scrolling + ',width='+breite+',height='+hoehe+',screenY='+ypos+',screenX='+xpos+',top='+ypos+',left='+xpos);

popup.focus();

}

function oeffne2 (url, hoehe, breite, scrolling) {

xpos = 350;

ypos = 0;

hoehe = screen.availHeight - 50;

breite = 330;

popup=window.open(url,'FENSTER2','toolbar=no,menubar=no,location=no,status=no,resizable=yes,scrollbars=' + scrolling + ',width='+breite+',height='+hoehe+',screenY='+ypos+',screenX='+xpos+',top='+ypos+',left='+xpos);

popup.focus();

}
function oeffne3 (url, hoehe, breite, scrolling) {

xpos = (screen.availWidth-breite)/3;;

ypos = (screen.availHeight-hoehe)/3;;

hoehe = 800;

breite = 800;;

popup=window.open(url,'FENSTER','toolbar=no,menubar=no,location=no,status=no,resizable=yes,scrollbars=' + scrolling + ',width='+breite+',height='+hoehe+',screenY='+ypos+',screenX='+xpos+',top='+ypos+',left='+xpos);

popup.focus();

}

function oeffneC (url, hoehe, breite, scrolling) {

xpos = (screen.availWidth-breite)/2;

ypos = (screen.availHeight-hoehe)/2;

popup=window.open(url,'FENSTERC','toolbar=no,menubar=no,location=no,status=no,resizable=yes,scrollbars=' + scrolling + ',width='+breite+',height='+hoehe+',screenY='+ypos+',screenX='+xpos+',top='+ypos+',left='+xpos);

popup.focus();

}

function zeichenZaehler()

{

for ( i=0; i< (zaehlerFelder.length); i+=2 )

{

anzahlAnzeige = (zaehlerFelder[i+1] - document.forms[0].elements[ zaehlerFelder[i] ].value.length);

anzahlAnzeige = "[ " + anzahlAnzeige + " ]";

if(document.all)

{

document.getElementById( zaehlerFelder[i]+"Zaehler" ).innerHTML = anzahlAnzeige;

}

else

{

if(document.getElementById && !window.opera)

{

document.getElementById( zaehlerFelder[i]+"Zaehler" ).firstChild.nodeValue = anzahlAnzeige;

}

}

}

}