<!-- <![CDATA[

var current = 0

var x = 0

var speed = 100

var back = 20

var speed2 = 3000

var back2 = 2000

var speed3 = 500

function randNum (num) {
    var rnd1 = Math.round( (num-1) * Math.random() + 1 )
    return rnd1;
}

function initArray(n) {

  this.length = n;

  for (var i =1; i <= n; i++) {

    this[i] = ' '

  }

}



typ = new initArray(75)
typ[0]="Nokia 6500 classic "
typ[1]="Stiga Turbo 47 "
typ[2]="Whirlpool AWE 7516 "
typ[3]="Kopací míč kožený "
typ[4]="CANON LBP 2900 "
typ[5]="TOMTOM GO 720 "
typ[6]="tenisová raketa WILSON "
typ[7]="DeLonghi KBM 2011 Metropolis "
typ[8]="BOSCH SRS 55M52 EU "
typ[9]="HUGO BOSS In Motion "
typ[10]="Eregma MAX power "
typ[11]="Safeguard náhubek pro psa střední "
typ[12]="CQ-RX400N "
typ[13]="STORM Cezi Black "
typ[14]="Baumatic BTM 25.2 M "
typ[15]="Kotel JUNKERS Eurostar ZSE 24-4 MFK "
typ[16]="HP Pavilion dv6690 "
typ[17]="Antares TAURUS TC "
typ[18]="Redken Body Full Shampoo 300ml "
typ[19]="Tescoma Bio Exclusive "
typ[20]="RAVAk Fresia "
typ[21]="Sony DCR-HC47E "
typ[22]="Harry Potter a relikvie smrti "
typ[23]="STALKER: Shadow of Chernobyl "
typ[24]="Corsair Voyager 16GB "
typ[25]="Twist Stepper "
typ[26]="Samsung LE32M87BD "
typ[27]="Whirlpool AMC 996 "
typ[28]="Playstation 3 "
typ[29]="Novaservis TITANIA-LUX "
typ[30]="Creative Zen 8GB "
typ[31]="REC YAMADA DTR 1000HX 160GB combo tuner "
typ[32]="Barum Brillantis 165/70 R13 79T "
typ[33]="Calvin Klein In2U Woman "
typ[34]="Sony Ericsson K850i Luminous Green "
typ[35]="Mora KS 2476.1K02 "
typ[36]="LG L226WTQ-SF "
typ[37]="BIODERMA Photoderm Family SPF40 400ml "
typ[38]="Alessio SUPER 7Jx15 ET35 "
typ[39]="Tefal Program 8 Power Jeans 500 "
typ[40]="Zanussi ZRB 29 NA8 "
typ[41]="Panasonic VIERA TH-42PX8E "
typ[42]="Horské kolo Gary Fisher Caliber 2007 "
typ[43]="Lyže FISCHER RX5 FTI "
typ[44]="PG-40 CANON "
typ[45]="Čerpadlo 8000 SP G1794 "
typ[46]="Microsoft Windows XP Home CZ OEM "
typ[47]="Canon PIXMA MP520 "
typ[48]="Ratatouille DVD "
typ[49]="Canon PowerShot A570 IS "
typ[50]="Soldier of Fortune: Payback "
typ[51]="Apple MacBook 13“ white "
typ[52]="AEG – Electrolux EA 130 Crema "
typ[53]="Stan Husky Boston 4 "
typ[54]="Spacák Condor VIII "
typ[55]="Zelmer Vodník MULTI "
typ[56]="MET Kaos Ultimalite "
typ[57]="Powerslide Phuzion 3 Man "
typ[58]="V cross V cross "
typ[59]="Zoner Photo Studio 9 Classic "
typ[60]="Goodyear DURAGRIP 165/70 R17 79T "
typ[61]="Activity Original 2 "
typ[62]="FRANCIS Tigullio Devil senior "
typ[63]="Logitech G5 "
typ[64]="Baumatic F 60.2 SS "
typ[65]="HP LaserJet 1020 "
typ[66]="ZAFIR 2000 Milo "
typ[67]="Nicklaus Hybrid Dual Point 5i "
typ[68]="Baterie TF1 IBM Thinkpad "
typ[69]="HP iPAQ hw6910 "
typ[70]="Dicota MultiCompact černá "
typ[71]="Narex EPR 35 EB "
typ[72]="A5 Response Trigger "
typ[73]="Acer PW730 "
typ[74]="Philips HQ 7140 "



function typewrite() {

var m = typ[current]

if(current == 0) current = randNum(typ.length);


document.getElementById('text').innerHTML = "&nbsp;" + m.substring(0, x++)



if (x == m.length + 1) {

setTimeout("erase()", back2)

}



else {

setTimeout("typewrite()", speed)

}

}



function erase() {

var m = typ[current]



document.getElementById('text').innerHTML = "&nbsp;" + m.substring(0, x--)



if (x < 0) {

current = randNum(typ.length);

setTimeout("typewrite()", speed3)



if (current > typ.length - 1) {

current = randNum(typ.length);

}

}



else {

setTimeout("erase()", back)

}

}

//]]> -->
