/*kommentar*/
 var Eingabe="";
var maxlang=900;        /*900*/
 function kommax()
 {
if (window.document.Disp.Kommentar.value.length>900)
{
window.document.Disp.Kommentar.value=Eingabe;
return;
}
else
{
Eingabe=window.document.Disp.Kommentar.value;
window.document.Disp.T2.value=maxlang-window.document.Disp.Kommentar.value.length;
}
}
/*PopUpFenster*/
        function PopUpFenster(url,framename,width,height,xpos,ypos) {
                if ( navigator.appName == "Netscape" ) {
                        width = width + 14;
                        height = height + 14;
                        var attributes =  "menubar=0,toolbar=0,status=0,scrollbars=1,resizable=1,width=" + width + ",height=" + height + ",screenX=" + xpos + ",screenY=" + ypos +",left=" + xpos + ",top=" + ypos;
                        var showpic = window.open(url,framename, attributes);
                } else {
                        width = width + 14;
                        height = height + 14
                        var attributes = "menubar=no,toolbar=no,status=no,scrollbars=yes,resizable=yes,width=" + width + ",height=" + height + ",screenX=" + xpos + ",screenY=" + ypos +",left=" + xpos + ",top=" + ypos;
                        var showpic = window.open(url,framename, attributes);
                }
        }
  //Cookie setzen
var ax = new Date();
ax = new Date(ax.getTime() +1000*60*60*24*365);     //1000*60*60*24*365    ms/s/min/h/tage
document.cookie = 'Bildschirmbreite='+screen.width+'; expires='+ax.toGMTString()+'; path=/';
