// JavaScript Document

// Copyright 2001 by www.CodeBelly.com
// Do *not* remove this notice.

// INSTRUCTIONS
// Place this script in the head of your page.
// Set the variables as indicated below.



// SET THE VARIABLES BELOW

// Set your messages below -- follow the pattern. To add
// more messages, just add more elements to the array.
var message = new Array() // leave this as is

message[0] = "TELKO GmbH Saalfeld";
message[1] = "Mittlerer Watzenbach 12";
message[2] = "07318 Saalfeld";
message[3] = "Telefon: +49 03671 5777-0";
message[4] = "Willkommen";

// Set the number of repetitions (how many times the arrow
// cycle repeats with each message).

var reps = 2

// Set the overall speed (larger number = slower action).

var speed = 400
// DO NOT EDIT BELOW THIS LINE.
// ============================
var p=message.length;
var T="";
var C=0;
var mC=0;
var s=0;
var sT=null;
if(reps<1)reps=1;
function doTheThing(){
T=message[mC];
A();}
function A(){
s++
if(s>5){s=1}
// you can fiddle with the patterns here...
// if(s==1){document.title='|O+++++| '+T+' |++++++T|'}
// if(s==2){document.title='|KO++++| '+T+' |+++++TE|'}
// if(s==3){document.title='|LKO+++| '+T+' |++++TEL|'}
// if(s==4){document.title='|ELKO++| '+T+' |+++TELK|'}
 if(s==1){document.title='|TELKO++| '+T+' |++TELKO|'}
 if(s==2){document.title='|+TELKO+| '+T+' |+TELKO+|'}
 if(s==3){document.title='|++TELKO| '+T+' |TELKO++|'}
 if(s==4){document.title='|+TELKO+| '+T+' |+TELKO+|'}
 if(s==5){document.title='|TELKO++| '+T+' |++TELKO|'}
//if(s==10){document.title='|+++++TE| '+T+' |KO+++++|'}
//if(s==11){document.title='|++++++T| '+T+' |O++++++|'}



if(C<(5*reps)){
sT=setTimeout("A()",speed);
C++
}else{
C=0;
s=0;
mC++
if(mC>p-1)mC=0;
sT=null;
doTheThing();}}
doTheThing();



