// status bar script
var current = 0
var x = 0
var speed = 70
var speed2 = 1500
function initArray(n) {
this.length = n;
for (var i =1; i <= n; i++) {
this[i] = ' '
}
}
typ = new initArray(6)
typ[0]="Заправка картриджей тел  740-7551, 740-7552,  915-7156"

typ[1]="Продажа картриджей тел  740-7551, 740-7552,  915-7156"

typ[2]="Доставка в офис тел  740-7551, 740-7552,  915-7156"

typ[3]="Огромный выбор оригинальных картриджей тел  740-7551, 740-7552,  915-7156"

typ[4]="Горячая линия тел  740-7551, 740-7552,  915-7156"

typ[5]="Ремонт оргтехники тел  740-7551, 740-7552,  915-7156"
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()
//-->
