var message0 = "New Wash & Shine™! The first product to clean and shine your bike in one easy step! Safe for all surfaces & materials - including Carbon Fiber! 100% Biodegradable, Solvent-Free Formula."
var message1 = "Wet Ride™! It's here and it's great for winter rides! If you're gonna ride long and in the wet - this is your lube! Wet Ride is made with highly degradable non-toxic synthetic oils, so it's not a drag on the environment."
var message2 = "New EPIC All-Conditions Lubricant is a wax-free, medium-weight, silicone based formula that is well suited for any and all conditions and any and all bikes. See the EPIC review in the #110 issue of Dirt Rag (page 75) and in the 2004 Photo Annual issue of Bike Magazine (page 99). MSRP: $8.99."
var message3 = "New 24oz Clean Streak! Cycling’s #1 Dry-Degreaser now available in a shop friendly 24oz size. We’ve also backed off the aerosol pressure just a bit and the can last’s even longer! MSRP: $11.99 - $12.99."
var message4 = "New from White Lightning: The “Trigger” Chain Cleaning System. See Products page for more info."

var counter = 0
var r = 255
var g = 255
var b = 255

function showColorin(){
document.getElementById('fade1').style.color = "rgb(" + r + "," + g + "," + b + ")"
setTimeout('fadein()', 50)
}
function showColorout(){
document.getElementById('fade1').style.color = "rgb(" + r + "," + g + "," + b + ")"
setTimeout('fadeout()', 50)
}

function fadeout(){
r -= 5
g -= 5
b -= 5
if (r == 55){
if (counter <= 3){
counter += 1
document.getElementById('fade1').innerHTML = eval("message" + counter);
        showColorin()
        }
else
{
counter = 0
document.getElementById('fade1').innerHTML = eval("message" + counter);
showColorin()
}
return false
}
showColorout()
}

function fadein(){
r += 5
g += 5
b += 5
if (r == 255)
{
setTimeout('fadeout()', 10000)
return false
}
showColorin()
}
