/******************************************************************/
/* Quelldatei kaffee.js                                           */
/* Javaskript-Definitionen für Kairodata Mediendesign             */
/* Projekt: HRB-instruments GmbH                                  */
/* Autor: Werner Schneider, Kairodata Mediendesign                */
/* Copyright: Werner Schneider, HRB instruments GmbH              */
/* Aktualisiert: 19.03.2006                                       */
/******************************************************************/


function box(thema)
{
text = window.open(thema+".html","BOX","menubar=no,status=no,locationbar=no,width=400,height=190,resizable,noscrollbars");
text.focus();
}

function textfenster(pfad,id)
{
hoch=840;
if(screen.availHeight < 840) hoch=screen.availHeight-30;
text = window.open(pfad,id,"menubar=no,status=no,locationbar=no,top=0,left=0,width=680,height="+hoch+",resizable,scrollbars");
text.focus();
}

function textfensterplatz(pfad,id,platz)
{
hoch=840;
if(screen.availHeight < 840) hoch=screen.availHeight-30;
text = window.open(pfad,id,"menubar=no,status=no,locationbar=no,top=0,left=0,width=680,height="+hoch+",resizable,scrollbars");
text.location.hash="#"+platz;
text.focus();
}

function bildschnitt(pfad,breit,hoch)
{
hoch=hoch+20;
bild=window.open(pfad,"bild","menubar=no,status=no,locationbar=no,top=0,left=0,width="+breit+",height="+hoch+",resizable,scrollbars");
bild.focus();
}