<script language=javaScript>
<!--
// Beginn der Message
var message = new Array()
message[0]='Foto-CDs, CD-ROMs, lizenzfreie Bilder'
message[1]='Typografie, Type-Design, Pitcogramme'
message[2]='Schriften, Fonts (PostScript & TrueType)'
message[3]='Visuelle Kommunikation, spannend & neu'
message[4]='gemafreie Musik, Loops, Soundmaterial'
message[5]='Bildagentur: authentische Bildsprache'
message[6]='Cutting Edge Design - jenseits vom Mainstream'
message[7]='emotional, authentisch - APPLY DESIGN GROUP'
var standstill=2000 //Stillstand des Tickers in millisekunden
//ab hier nicht verändern
var i_substring=0
var i_message=0
var i_letter=0
var messagelength
var content_corrcet=''
var content_chaos=''
var randomorder=new Array()
for (i=0;i<=200;i++) {
randomorder=i
}
function getrandomorder(range) {
for (i=0;i<=200;i++) {
randomorder=i
}
for (i=0;i<=range;i++) {
var firstvalue= Math.floor(range*Math.random())
var secondvalue= Math.floor(range*Math.random())
var cachevalue=randomorder[firstvalue]
randomorder[firstvalue]=randomorder[secondvalue]
randomorder[secondvalue]=cachevalue
}
}
function makechaos() {
messagelength=message[i_message].length-1
getrandomorder(messagelength)
content_correct=message[i_message]
content_chaos=''
for (i=0;i<=message[i_message].length-1;i++) {
content_chaos+=content_correct.substring(randomorder,randomorder+1)
}
document.order.thismessage.value=content_chaos
makecorrcet()
}
function makecorrcet() {
if (i_letter<=messagelength) {
var front_chaos=content_chaos.substring(0,randomorder[i_letter])
var letter=content_correct.substring(randomorder[i_letter],randomorder[i_letter]+1)
var back_chaos=content_chaos.substring(randomorder[i_letter]+1,messagelength)
content_chaos=front_chaos+letter+back_chaos
document.order.thismessage.value=content_chaos
i_letter++
var timer=setTimeout('makecorrcet()',30)
}
else {
clearTimeout(timer)
i_letter=0
var timer=setTimeout('changemessage()', standstill)
}
}
function changemessage() {
i_message++
if (i_message>message.length-1) {
i_message=0
}
makechaos()
}
//-->
</script>
<form name='order'>
<div>
<input type='text' size=50 name='thismessage'></nobr>
</div>
</form>