// Sourcecode  Javascript 1.2
// Source: http://www.e-bert.de
// Author: Tom Neubert u.v.a.
// last modified: Februar 2001

//------------------------------------------------------------------------
// Werbebanner ausblenden

<!--

focus();

// ------------------------------------------------------------------------
// TICKER
<!--
function ticker_start(){}
// -->
<!--
// Text fuer die Tickerdarstellung
var     ticker_text             =  " +++ Software und Schalpläne schon für 10 EURO downloadbar +++ weitere Informationen über die DAQ-Box unter 'Produkt' +++ Tests von verschiedenen Soundkarten im 'Forum' abrufbar +++ kostenloser Elektronikarbeitsplatz für Selbstbau der Box in der FH-Aachen -> mehr dazu unter 'Kontakt'"

// Laenge des anzuzeigenden Tickers
var     ticker_length           = 75

// Zeitintervall fuer Ticker
var     ticker_intervall        = 100

// Vorbereitung
var     ticker_text_length      = ticker_text.length
var     i
var     spaces  = ""
for(i = 0; i < ticker_length; i++)
                spaces  += " "
ticker_text     = spaces + ticker_text + spaces

// Darstellung des Tickers
function next_ticker(pos)
{
        var     texte =
                [
                        ticker_text.substring(pos, pos + 1),
                        ticker_text.substring(pos + 1, pos + 2),
                        ticker_text.substring(pos + 2, pos + 4),
                        ticker_text.substring(pos + 4, pos + ticker_length - 4),
                        ticker_text.substring(pos + ticker_length - 4, pos + ticker_length - 2),
                        ticker_text.substring(pos + ticker_length - 2, pos + ticker_length - 1),
                        ticker_text.substring(pos + ticker_length - 1, pos + ticker_length)
                ]

        var     out = '<DIV ALIGN=CENTER><PRE><SPAN STYLE="font-family: Tahoma,Arial,Helvitica; font-size: 10pt;">' +
                        texte[0].fontcolor("CCCCCC") +
                        texte[1].fontcolor("666666") +
                        texte[2].fontcolor("333333") +
                        texte[3].fontcolor("000000") +
                        texte[4].fontcolor("333333") +
                        texte[5].fontcolor("666666") +
                        texte[6].fontcolor("CCCCCC") +
                        '</SPAN></PRE></DIV>'

        if(document.ticker)
                with(document.ticker.document)
                {
                        open("text/html")
                        write(out)
                        close()
                }
        else
                ticker.innerHTML = out

        pos++

        if(pos > (ticker_text_length + ticker_length))
                pos     = 0

        setTimeout('next_ticker(' + pos + ')', ticker_intervall)
}

// Start des Tickers
function ticker_start()
{
        next_ticker(0, 1)
}
// -----------------------------------------------------------------------------
// Datumsanzeige

function date() {
if (document.all){
  var  day, month, today, year;
  today = new Date();

  year=today.getYear();
  day=today.getDate();
  month=today.getMonth()+1;
         if (month == 1) {month="Januar"}else
         if (month == 2) {month="Februar"}else
         if (month == 3) {month="März"}else
         if (month == 4) {month="April"}else
         if (month == 5) {month="Mai"}else
         if (month == 6) {month="Juni"}else
         if (month == 7) {month="Juli"}else
         if (month == 8) {month="August"}else
         if (month == 9) {month="September"}else
         if (month == 10) {month="Oktober"}else
         if (month == 11) {month="November"}else
         if (month == 12) {month="Dezember"};

  timeString="&#160;&#160;"+day + ".&#160;" + month + " "+year+"&#160;&#160;";
  Clock.innerHTML = timeString;
  window.setTimeout();}}
// ------------------------------------------------------------------------------>
