icombname=navigator.appName;
icombversion=parseInt(navigator.appVersion)
if ((icombname=="Netscape" && icombversion>=4) || (icombname=="Microsoft Internet Explorer" && icombversion>=4))
window.onload=start
else
stop();
window.onunload=stop
if (icombname=="Netscape"){
icombrows=true
icomdt=2
}
else{
icombrows=false
icomdt=20
}
var icomz=0;
var icommsg=0;
var icomrgb=0;
var icomlink=false;
var icomstatus=true;
var icomupdwn=false;
var icommessage= new Array();
var icomvalue=0;
var icomh=window.innerHeight;
var icomw=window.innerWidth;
var icomtimer1;
var icomtimer2;
var icomtimer3;
var icomconvert = new Array()
var icomhexbase= new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F");

// Put here your own messages. Add as many as you wan't (Do not edit anything else in the Script except the lines below)

var icombgcolor="#FFFFFF"; //Color of background
var icomcolor="#910007";  //Color of the Letters

icommessage[0]='Kostenlose Laufbandanalyse'
icommessage[1]='Der Laufladen in Frankfurt'
icommessage[2]='Kompetente Beratung'
icommessage[3]='<a href="http://frankfurter-laufshop.de/partner.html" target="content">Hier sehen sie unsere Partner</a>'

// Put here your own messages. Add as many as you wan't (Do not edit anything else in the Script except the lines above)

for (icomx=0; icomx<16; icomx++){
for (icomy=0; icomy<16; icomy++){
icomconvert[icomvalue]= icomhexbase[icomx] + icomhexbase[icomy];
icomvalue++;
}
}

redx=icomcolor.substring(1,3);
greenx=icomcolor.substring(3,5);
bluex=icomcolor.substring(5,7);
hred=eval(parseInt(redx,16));
hgreen=eval(parseInt(greenx,16));
hblue=eval(parseInt(bluex,16));
eredx=icombgcolor.substring(1,3);
egreenx=icombgcolor.substring(3,5);
ebluex=icombgcolor.substring(5,7);
ered=eval(parseInt(eredx,16));
egreen=eval(parseInt(egreenx,16));
eblue=eval(parseInt(ebluex,16));
red=ered;
green=egreen;
blue=eblue;

function start(){
if ((icombname=="Netscape" && icombversion>=4) || (icombname=="Microsoft Internet Explorer" && icombversion>=4)){
icomlink=false;
icomupdown=true;
if (icombrows)
icomres=document.layers['textanim'].top
else{
textanim.style.width=document.body.offsetWidth-20;
textanim.innerHTML='<Pre><P Class="main" Align="Center">'+icommessage[icommsg]+'</P></Pre>'
icomres=textanim.style.top
for (icomx=0; icomx<document.all.length; icomx++)
if(document.all[icomx].id=="textanimicomlink")
icomlink=true;
}
up()
}
}

function stop(){
clearTimeout(icomtimer1);
clearTimeout(icomtimer2);
clearTimeout(icomtimer3);
}

function resz(){
icomh=window.innerHeight;
icomw=window.innerWidth;
if (icomupdown)
icomtimer1=setTimeout('up()',1000)
else
icomtimer2=setTimeout('down()',1000)
}

function breakf(){
if (icomstatus){
clearTimeout(icomtimer1);
clearTimeout(icomtimer2);
icomstatus=false
return;
}
else{
icomstatus=true;
if (icomupdown)
icomtimer1=setTimeout('up()',dt)
else
icomtimer2=setTimeout('down()',dt)
}
}


function up(){
if (red<hred){
if ((red+7)<hred)
red+=7;
else
red=hred
redx = icomconvert[red]
}
else{
if ((red-7)>hred)
red-=7;
else
red=hred
redx = icomconvert[red]
}

if (green<hgreen){
if ((green+7)<hgreen)
green+=7;
else
green=hgreen
greenx = icomconvert[green]
}
else{
if ((green-7)>hgreen)
green-=7;
else
green=hgreen
greenx = icomconvert[green]
}

if (blue<hblue){
if ((blue+7)<hblue)
blue+=7;
else
blue=hblue
bluex = icomconvert[blue]
}
else{
if ((blue-7)>hblue)
blue-=7;
else
blue=hblue
bluex = icomconvert[blue]
}

icomrgb = "#"+redx+greenx+bluex;
if (icombrows){
document.layers['textanim'].document.icomlinkColor=icomrgb;
document.layers['textanim'].document.vlinkColor=icomrgb;
if (window.innerHeight!=icomh || window.innerWidth!=icomw){
clearTimeout(icomtimer1);
resz()
return;
}
else{
document.layers['textanim'].document.write('<Pre><P Class="main" Align="Center"><font icomcolor="'+icomrgb+'">'+icommessage[icommsg]+'</font></P></Pre>')
document.layers['textanim'].document.close();
}
}
else{
textanim.style.color=icomrgb;
if(icomlink)
textanimlink.style.color=icomrgb;
}
if (icomz<38){
if (icombrows)
document.layers['textanim'].top--
else
textanim.style.posTop--
icomz++
icomtimer1=setTimeout('up()',icomdt)
}
else
{
icomupdown=false;
down()
}
}


function down(){
if (red<ered){
if ((red+7)<ered)
red+=7;
else
red=ered
redx = icomconvert[red]
}
else{
if ((red-7)>ered)
red-=7;
else
red=ered
redx = icomconvert[red]
}

if (green<egreen){
if ((green+7)<egreen)
green+=7;
else
green=egreen
greenx = icomconvert[green]
}
else{
if ((green-7)>egreen)
green-=7;
else
green=egreen
greenx = icomconvert[green]
}

if (blue<eblue){
if ((blue+7)<eblue)
blue+=7;
else
blue=eblue
bluex = icomconvert[blue]
}
else{
if ((blue-7)>eblue)
blue-=7;
else
blue=eblue
bluex = icomconvert[blue]
}

icomrgb = "#"+redx+greenx+bluex;
if (icombrows){
document.layers['textanim'].document.linkColor=icomrgb;
document.layers['textanim'].document.vlinkColor=icomrgb;
if (window.innerHeight!=icomh || window.innerWidth!=icomw){
clearTimeout(icomtimer2);
resz()
return;
}
else{
document.layers['textanim'].document.write('<Pre><P Class="main" Align="Center"><font icomcolor="'+icomrgb+'">'+icommessage[icommsg]+'</font></P></Pre>')
document.layers['textanim'].document.close();
}
}
else{
textanim.style.color=icomrgb;
if(icomlink)
textanimlink.style.color=icomrgb;
}

if (icomz<76){
if (icombrows)
document.layers['textanim'].top--
else
textanim.style.posTop--
icomz++
icomtimer2=setTimeout('down()',icomdt)
}
else
{
if (icombrows){
document.layers['textanim'].document.write('')
document.layers['textanim'].document.close();
}
else
textanim.innerHTML='';
window.clearInterval(icomtimer2);
if(icommsg<icommessage.length-1){
icommsg++;
icomz=0;
if (icombrows){
document.layers['textanim'].top=icomres;
}
else
textanim.style.top=icomres;
icomtimer3=setTimeout('start()',100);
}
else
{
icommsg=0;
icomz=0;
if (icombrows)
document.layers['textanim'].top=icomres;
else
textanim.style.top=icomres;
icomtimer3=setTimeout('start()',2000);
}
}
}