var current = 0
var x = 0
var speed = 100
var speed2 = 2000
function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}
typ = new initArray(7)
typ[0]="-- Welcome to the homepage of the pianist Vadim Chaimovich! --"
typ[1]="Here You will find Vadim's biography, repertoire, concert schedule, press reviews, references etc."
typ[2]="You can also listen to and view some of Vadim's performances."
typ[3]="If You'd like to contact Vadim, You will find an easy-to-handle fill-in form on the 'Contact' page."
typ[4]="And of course there is a guestbook for Your commentaries and suggestions."
typ[5]="Enjoy surfing Vadim's website! :)"


function typewrite() {
var m = typ[current]
window.status = m.substring(0, x++) + "|"
if (x == m.length + 1) {
x = 0
current++
if (current > typ.length - 1) {
current = 0
}
setTimeout("typewrite()", speed2)
}
else {
setTimeout("typewrite()", speed)
}
}
typewrite()