BroW = parseInt(navigator.appVersion)
if (BroW >= 4) {Vs = true} else {Vs = false}
Col = new Array() ; Col[0] = "#0000FF" ; Col[1] = "#FF00FF" ; Col[2] = "#00FF00"
Col[3] = "#FF0000" ;Col[4] = "#0000FF" ; Col[5] = "#D7E804"
if (Colours.length > 0) {Col = Colours}
//
function GetPos(e) {
if (Fol != "") {
if (start == 0) {
box = '
'
start++
if (document.all) {document.all('mo').innerHTML = box
} else {document['mo'].document.write(box) ; document.close()}
}
}
if (document.all) {Xpos = event.clientX + document.body.scrollLeft ; Ypos = event.clientY + document.body.scrollTop
} else {Xpos = e.pageX ; Ypos = e.pageY}
//
if (Fol != "") {
ox = Xpos - (parseFloat(Width) / 3) ; oy = Ypos + 15
//max = lscr - (20 + parseFloat(Width)) ; if (ox > max) {ox = max}
if (document.all) {
document.all['mo'].style.posLeft = ox ; document.all['mo'].style.posTop = oy
document.all['mo'].style.zIndex = 99
} else {
document['mo'].moveTo(ox,oy)
document.layers['mo'].zIndex = 99
}
}
if (Noflies == "") {moveIt()}
}
function moveIt() {
clearTimeout(x1) ; Shak = (Pattern1 / 2) ; Shaker1 += (Pattern1 / 80)
for ( i = 0 ; i <= 5 ; i++) {
if (document.all) {
calc(Tpos,1) ; document.all['p'+i].style.posTop = Ypos + yy
calc(Lpos,2) ; yy = Xpos + yy ; if (yy > (lscr-25)) {yy = lscr-25}
document.all['p'+i].style.posLeft = yy
document.all['p'+i].style.zIndex = 99
} else {
calc(Tpos,1) ; document.layers['p'+i].top = Ypos + yy
calc(Lpos,2) ; yy = Xpos + yy ; if (yy > (lscr-25)) {yy = lscr-25}
document.layers['p'+i].left = yy
document.layers['p'+i].zIndex = 99
}
}
x1 = setTimeout('moveIt()', Speed1)
}
function calc(xx,cc) {
if (cc == 1) {yy = Math.sin((Pattern1 * Math.sin(Shaker1 / Pattern1)) + i)
} else {yy = Math.cos((Pattern1 * Math.cos(Shaker1 / Pattern1)) + i)}
yy = yy * xx * Math.sin(Shaker1 / Shak + (i / Shak) + Shak)
yy = yy * Math.cos((Shaker1 + i * Pattern1) / Shak)
}
function Start() {
if (Vs == true) {
ox = oy = start = 0 ; x1 = "" ; if (IMage != "") {Fol = "yes"} else {Fol = ""}
tscr = screen.availHeight ; lscr = screen.availWidth
if (Noflies == "") {
Speed1 = Speed ; if (Speed1 == "") {Speed1 = 15} ; // 15-20
Pattern1 = Pattern ; if (Pattern1 == "") {Pattern1 = 22} ; // 15-30
Shaker1 = 1 ; if (Shaker != "") {Shaker1 = parseFloat(Shaker)}
Grouping1 = Grouping ; if (Grouping1 == "") {Grouping1 = 5} ; // 3-10
Tpos = tscr / Grouping1 ; Lpos = lscr / Grouping1
}
if (document.layers) {document.captureEvents(Event.MOUSEMOVE)}
document.onmousemove = GetPos
if (Fol != "") {
if (document.layers) {
document.layers['mo'].width = Width ; document.layers['mo'].height = Height
if (document.layers['disp0']) {BStart()}
} else {
document.all['mo'].style.width = Width ; document.all['mo'].style.height = Height
if (document.all['disp0']) {BStart()}
}
}
}
}
if (Noflies == "") {
lin = ''
document.write(lin)
document.close()
}
//
onload = Start