/*
Updated by Evgenia Poznyak ( http://www.jeky.ru )
Added possibility change a color of cursor text
You mai change number 7 in bottom script ( in two plases ) and you find yours number of color (don`t tested with two-figure numbers)
So as to work this script you must:
1. change a style.css (for this example work with use style-rainBowColor.css)
2. change a head and body tags in your html-document (for this example  work with use test-rainBowColor.html)
3. and you must use cur-forColorStr.js
*/

<!-- Beginning of JavaScript -

var num=0
var str=""
for (i=0;i<=message.length-1;i++) {
    num=i/7
    str=num
    str=str[0]
    num=i-parseInt(num)*7
    document.write("<span id='span"+i+"' class='spanstyle"+num+"'>")
    document.write(message[i])
    document.write("</span>")
}

if (document.layers){
	document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;

// - End of JavaScript - -->

