//Define first typing example:
new TypingText(document.getElementById("zeile1"));

//Define second typing example (use "slashing" cursor at the end):
new TypingText(document.getElementById("zeile2"), 100, function(i){ var ar = new Array("\\", "|", "/", "-"); return " " + ar[i.length % ar.length]; });

//Type out examples:
TypingText.runAll();