// www.javascript.agoentgen.de
var x=new Array()
var y=new Array()
var m=new Array()
var c=new Array()
var col=new Array()
var warten=2000
txt=new Array(); //   Anleitung lesen !
c[0]=0, m[0]=-3, x[0]=300, y[0]=475, txt[0]="<font size=+2><font face=\"Times New Roman,Times\"><b>müller,</b>&nbsp;&nbsp;Gründe&nbsp;gibt&nbsp;es&nbsp;genug...</font></font>"
c[1]=0, m[1]=0, x[1]=300, y[1]=430, txt[1]="<font size=+2><b>Besuchen&nbsp;Sie&nbsp;unserere&nbsp;große&nbsp;Ausstellung</b></font>"
c[2]=0, m[2]=-3,x[2]=300, y[2]=475, txt[2]="<font size=+2><b>Werktags&nbsp;von&nbsp;8&nbsp;bis&nbsp;18&nbsp;Uhr</b></font>"
c[3]=0, m[3]=-3, x[3]=300, y[3]=475, txt[3]="<font size=+2><b>Samstags&nbsp;von&nbsp;9&nbsp;bis&nbsp;13&nbsp;Uhr</b></font>"
//c[4]=3, m[4]=0, x[4]=200, y[4]=400, txt[4]="<font size=+1>an einer anderen Stelle sein</font>"
//c[5]=4, m[5]=0, x[5]=100, y[5]=400, txt[5]="<font size=+0>klein</font><font size=+1> oder </font><font size=+2>gross </font><font size=+3>sein</font>" 
//c[6]=5, m[6]=1, x[6]=150, y[6]=400, txt[6]="Umbruch<br>geht auch !"


col[0]="FFFFCCFBEEBEF8DDB0F4CCA3F1BB95EDAA88EA997AE7886CE3775FE06651DC5544D94436D63328D2221BCF110DCB0000"
col[1]="ffffffeeffeeddffddccffccbbffbbaaffaa99ff9988ff8877ff7766ff6655ff5544ff4433ff3322ff2211ff1100ff00"
col[2]="ffffffeeeeffddddffccccffbbbbffaaaaff9999ff8888ff7777ff6666ff5555ff4444ff3333ff2222ff1111ff0000ff"
col[3]="FFFFFFFFF7EEFFEFDDFFE7CCFFDFBBFFD7AAFFCF99FFC788FFBF77FFB766FFAF55FFA744FF9F33FF9722FF8F11FF8700"
col[4]="ffffffffeeffffddffffccffffbbffffaaffff99ffff88ffff77ffff66ffff55ffff44ffff33ffff22ffff11ffff00ff"
col[5]="ffffffeeffffddffffccffffbbffffaaffff99ffff88ffff77ffff66ffff55ffff44ffff33ffff22ffff11ffff00ffff"

var tz=-1, cz=0, czz=1
var ns4up = (document.layers) ? 1 : 0;
var ie4up = (document.all) ? 1 : 0;
if (ie4up) {
document.write("<div id='bl' style=\"position:absolute; top:0px; left:0px;\"><\/div>")
}
if (ns4up) {
document.write("<layer id=\"bl\" top=0 left=0\"><\/layer>")
}
function blenden() {
tz=(tz+1) % txt.length
if (ns4up) {document.layers.bl.left=x[tz]; document.layers.bl.top=y[tz]}
if (ie4up) {document.all.bl.style.pixelLeft=x[tz]; document.all.bl.style.pixelTop=y[tz]}
if (ns4up) {blendnsin()}
if (ie4up) {blendiein()}
}
function blendnsin() {
document.layers.bl.top=y[tz]+(cz*m[tz])
document.bl.document.write("<font color=#"+col[c[tz]].substr(cz*6,5)+">"+txt[tz]+"<\/font>")
document.bl.document.close()
if (cz==15) {setTimeout("blendnsout()",warten)}
if (cz<15) {cz=cz+1; setTimeout("blendnsin()",100)}
}
function blendnsout() {
document.layers.bl.top=y[tz]+(cz*m[tz])
document.bl.document.write("<font color=#"+col[c[tz]].substr(cz*6,5)+">"+txt[tz]+"<\/font>")
document.bl.document.close()
if (cz==0) {setTimeout("blenden()",warten)}
if (cz>0) {cz=cz-1; setTimeout("blendnsout()",100)}
}
function blendiein() {
document.all.bl.style.pixelTop=y[tz]+(cz*m[tz])
bl.innerHTML="<font color=#"+col[c[tz]].substr(cz*6,5)+">"+txt[tz]+"<\/font>"
if (cz==15) {setTimeout("blendieout()",warten)}
if (cz<15) {cz=cz+1; setTimeout("blendiein()",100)}
}
function blendieout() {
document.all.bl.style.pixelTop=y[tz]+(cz*m[tz])
bl.innerHTML="<font color=#"+col[c[tz]].substr(cz*6,5)+">"+txt[tz]+"<\/font>"
if (cz==0) {setTimeout("blenden()",warten)}
if (cz>0) {cz=cz-1; setTimeout("blendieout()",100)}
}