var theImages = new Array()
theImages[0] = '/i/index/1.jpg'
theImages[1] = '/i/index/2.jpg'
theImages[2] = '/i/index/3.jpg'
theImages[3] = '/i/index/4.jpg'
theImages[4] = '/i/index/5.jpg'
theImages[5] = '/i/index/6.jpg'
theImages[6] = '/i/index/7.jpg'
theImages[7] = '/i/index/8.jpg'
theImages[8] = '/i/index/9.jpg'
theImages[9] = '/i/index/10.jpg'
theImages[10] = '/i/index/11.jpg'
theImages[11] = '/i/index/12.jpg'
theImages[12] = '/i/index/13.jpg'
theImages[13] = '/i/index/14.jpg'
theImages[14] = '/i/index/15.jpg'
theImages[15] = '/i/index/16.jpg'
theImages[16] = '/i/index/17.jpg'
theImages[17] = '/i/index/18.jpg'
theImages[18] = '/i/index/19.jpg'
theImages[19] = '/i/index/20.jpg'
theImages[20] = '/i/index/21.jpg'
theImages[21] = '/i/index/22.jpg'
theImages[22] = '/i/index/23.jpg'
theImages[23] = '/i/index/24.jpg'
theImages[24] = '/i/index/25.jpg'
theImages[25] = '/i/index/26.jpg'
theImages[26] = '/i/index/27.jpg'
theImages[27] = '/i/index/28.jpg'
theImages[28] = '/i/index/29.jpg'
theImages[29] = '/i/index/30.jpg'
theImages[30] = '/i/index/31.jpg'
theImages[31] = '/i/index/32.jpg'
theImages[32] = '/i/index/33.jpg'
theImages[33] = '/i/index/34.jpg'
theImages[34] = '/i/index/35.jpg'
theImages[35] = '/i/index/36.jpg'
var j = 0
var p = theImages.length;
var preBuffer = new Array()
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}
neonBaseColor = "White";
neonColor = "Red";
num = 0;
num2 = 0;
num3 = 0;
num4 = neonColor;
//////////////////////////////////////////////////
function startNeon() {
message=document.getElementById('neon').innerHTML;
document.getElementById('neon').innerHTML = "";
for(i = 0; i != message.length; i++) {
document.getElementById('neon').innerHTML += "<span id=\""+i+"\" style=\"color:"+neonBaseColor+"\">"+message.charAt(i)+"<\/span>"};
neon2();
}
function neon2() {
if(num != message.length) {
document.getElementById(''+num+'').style.color = neonColor;
num++;
setTimeout("neon2()", 100);
}
else {
num = 0;
num2 = message.length;
setTimeout("neon4onev()", 2000);
   }
}
function neon4onev() {
document.getElementById(''+num+'').style.color = neonBaseColor;
document.getElementById(''+(num2-1)+'').style.color = neonBaseColor;
if(Math.floor(message.length / 2) + 1 != num2) {
num++;
num2--;
setTimeout("neon4onev()", 50);
}
else {
setTimeout("neon5()", 50);
   }
}
function neon5() {
if(num3 != message.length && num3 != message.length+1) {
document.getElementById(""+num3+"").style.color = neonColor;
num3 = num3 + 2;
setTimeout("neon5()",100);
}
else {
setTimeout("neon52()", 50);
   }
}
function neon52() {
if(num3 == message.length) {
num3++;
neon52a();
}
else {
num3--;
neon52a();
   }
}
function neon52a() {
if(num3 != 1) {
num3 = num3 - 2;
document.getElementById(''+num3+'').style.color = neonColor;
setTimeout("neon52a()", 100);
}
else {
if(num4 == neonColor) {
num3 = 0;
neonColor = neonBaseColor;
setTimeout("neon5()", 2000);
}
else {
neonColor = num4;
num3 = 0;
setTimeout("neon4onev2()", 50);
      }
   }
}
function neon4onev2() {
document.getElementById(''+num+'').style.color = neonColor;
document.getElementById(''+num2-1+'').style.color = neonColor;
if(message.length != num2) {
num--;
num2++;
setTimeout("neon4onev2()", 50);
}
else {
num = 0;
num2 = 0;
setTimeout("neon3()", 2000);
   }
}
function neon3() {
if(num != message.length) {
document.getElementById(''+num+'').style.color = neonBaseColor;
num++;
setTimeout("neon3()", 100);
}
else {
num = 0;
neon2();
   }
}
