<!-- Diese Anwendung stammt von www.modus-dancing.de

var browser = new Object();
    browser.midres = (screen.width <= 800);
    browser.highres = (screen.width > 800);

function OpenFrm(frmBanner,frmInhalt,frmHauptframe)
    {
    if(browser.midres)
	{
	var frmwin=window.open("","LexiFrame","width=740,height=440,resizable=1,toolbar=1,menubar=1,left=0,top=0")
	}
    else if(browser.highres)
	{
	var frmwin=window.open("","LexiFrame","width=964,height=600,resizable=1,toolbar=1,menubar=1,left=0,top=0")
	}

    with(frmwin.document)
        {
        open();
        writeln("<html>");
        writeln("<head>");
        writeln("<title>Das kleine Lexikon des np-barnim.de</title></head>");

        writeln("<frameset rows='86,*' framespacing='0' border='0' frameborder='0'>");
        writeln("<frame name='Banner' target='Inhalt' scrolling='no' noresize src='"+frmBanner+"' marginwidth='0' marginheight='2'>");
        writeln("<frameset cols='188,*'>");
        writeln("<frame name='Inhalt' target='Hauptframe' src='"+frmInhalt+"' scrolling='auto' marginwidth='0' marginheight='0' noresize>");
        writeln("<frame name='Hauptframe' target='_self' src='"+frmHauptframe+"' marginwidth='2' marginheight='2' scrolling='auto'>");
        writeln("</frameset>");

        writeln("<noframes>");
        writeln("<body bgcolor='#C0FCA8'>");
        write("Wenn Sie hier diesen Text sehen, ist Ihr Browser nicht in der Lage, Frames darzustellen,<br>");
        write("denn hier sollte eine Seite mit Frames zu sehen sein.");
        writeln("</body>");
        writeln("</noframes>");
        writeln("</frameset>");
        writeln("</html>");
        close();
    frmwin.focus();
        }
    }

function OpenWin(theURL,winName,win_width,win_height)
    {
    var win=window.open(theURL,winName,"width="+(win_width)+
    ",height="+(win_height)+
    ",scrollbars=1,resizable=1,left=30,top=30")
    win.focus();
    }

function OpenWin1(theURL,winName,win_width,win_height)
    {
    var win=window.open(theURL,winName,"width="+(win_width)+
    ",height="+(win_height)+
    ",scrollbars=1,resizable=1,toolbar=1,left=30,top=30")
    win.focus();
    }

function OpenWin2(theURL,winName,win_width,win_height)
    {
    var win=window.open(theURL,winName,"width="+(win_width)+
    ",height="+(win_height)+
    ",scrollbars=1,resizable=1,toolbar=1,menubar=1,left=30,top=30")
    win.focus();
    }

function OpenWin3(theURL,winName,win_width,win_height)
    {
    var win=window.open(theURL,winName,"width="+(win_width)+
    ",height="+(win_height)+",scrollbars=1,resizable=1");
    win.moveTo(screen.width-262,(screen.height-screen.height+30));
    win.focus();
    }

// Diese Anwendung stammt von www.rabich.de
function bild(img_url, img_title, img_width, img_height)
    {
    wnd = open("",
             "Bildanzeige",
             "width=" + (img_width + 22) + ",height=" + (img_height + 28) +
             ",innerWidth=" + (img_width + 22) + ",innerHeight=" + (img_height + 28) +
             ",toolbar=0,location=0,directories=0,status=0,menubar=0" +
             ",scrollbars=0,resizable")

    var baseadr = location.href
    var lastsl  = location.href.lastIndexOf("\\")
    if(lastsl >= 0)
	{
	baseadr = baseadr.substring(0, lastsl + 1)
	}
    else 
	{
	lastsl = location.href.lastIndexOf("/")
	if(lastsl >= 0)
	baseadr = baseadr.substring(0, lastsl + 1)
	}
    with(wnd.document)
	{
	open("text/html")
	writeln("<HTML>")
	writeln("<HEAD><TITLE>" + img_title + "</TITLE>")
	writeln("<BASE HREF=\"" + baseadr + "\"></HEAD>")
	writeln("<BODY BGCOLOR=WHITE onblur='window.close()'>")
	writeln("<A HREF=\"javascript:self.close()\"><IMG SRC=\"" + img_url +
	"\" WIDTH=" + img_width +
	" HEIGHT=" + img_height +
	" HSPACE=0 VSPACE=0 ALT=\"close - " + img_title + "\" TITLE=\"close - " + img_title + "\"></A>")
	writeln("</BODY></HTML>")
	close()
	}
    wnd.focus()
    }
//-->

