/*
 * öffnet ein Popup mit der angegebenen URL und den angegebenen Werten
 * @param int width Breite des Popups (Standard 300)
 * @param int height Höhe des Popups (Standard 300)
 * @param int resizable Skalierbar
 * @param string scrollbar yes || no (Standard yes)
 *
 */
function popup (url, width, height, resizable, scrollbar)
{
    if(!width)
    {
        width = 300;
    }

    if(!height)
    {
        height = 300;
    }

    if(!resizable)
    {
        resizable = 'yes';
    }

    if(!scrollbar)
    {
	scrollbar = 'yes';
    }


    var fenster = window.open(url, "Popupfenster", "width="+width+",height="+height+",resizable="+resizable+",scrollbars="+scrollbar);
    fenster.focus();

    return false;
}
