//****************************************************************************************************************
// VARIABLEN FUER DIE ZITIEREMPFEHLUNG VORBEREITEN
//****************************************************************************************************************
//
heute       = new Date();
jahr        = heute.getYear();
WochentagNr = heute.getDay();
// deutsche Tageskuerzel
var WochentagAlpha = new Array("Son","Mon","Die","Mit","Don","Fre","Sam");
// englische Monatskuerzel passend zu Server Side Includes
var aMonat = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");
// deutsche Monatskuerzel fuer spaeter :-)
// var aMonat = new Array("Jan","Feb","Mae","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez");
// fuer Internet Explorer muss es (jahr <= 100) heissen!!! Lo, 3.4.2001
if((document.layers || document.getElementById) && jahr < 1900)
jahr+=1900;
monat = heute.getMonth()+1;
tag   = heute.getDate();
datei = document.URL;
//****************************************************************************************************************
// PDF in Popup laden
//****************************************************************************************************************
function OpenPDF(cUrl)
{
    // open new window;
    // no spaces in string, bug in function window.open()
    var cWindow = window.open(cUrl,"pdf","width=640,height=480,status=no,scrollbars=yes,resizable=yes,screenX=20,screenY=40,left=20,top=40");
    // bring window to top
    if( !cWindow.opener )
    {
            cWindow.opener = self;
    }
    if( cWindow.focus != null )
    {
            cWindow.focus();
    }
}
function OpenWin(cUrl,cWin,nWidth,nHeight,cMenu,cStatus,cLocation,cTool,cDependent)
{
    // open new window;
    // no spaces in string, bug in function window.open()
    var cWindow = window.open(cUrl,cWin,"width="+nWidth+",height="+nHeight+",menubar="+cMenu+",status="+cStatus+",location="+cLocation+",toolbar="+cTool+",dependent="+cDependent+",resizable=yes,scrollbars=yes,screenX=20,screenY=20,left=20,top=20");
    // bring window to top
    if( !cWindow.opener )
    {
            cWindow.opener = self;
    }
    if( cWindow.focus != null )
    {
            cWindow.focus();
    }
}
//****************************************************************************************************************
// ZITIEREMPFEHLUNG GENERIEREN
//****************************************************************************************************************
zitat = "";
hrsg = "&copy; 2003 institut f&uuml;r finanzdienstleistungen e.V.";
zitat = hrsg + zitat;
zitat = zitat + ". - Zitierempfehlung f&uuml;r diese Seite: IFF - Finanzielle Allgemeinbildung (Website). URL: " + datei;
zitat = zitat + ". - Geladen am: "+tag+"-"+aMonat[monat-1]+"-"+jahr;