// Detect IE 4
isIE4 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) > 3);

// This function makes your element groove
function doWave(add, phase, freq, lightStrength, strength) {
// If the frequency is less then five,
if (freq < 5) {
// increase by one,
freq += 1;
}
// otherwise,
else {
// decrease by one
freq -= 1;
}
// Give the values of the variable to the filter property.
document.all.waveText.style.filter = "wave(add=" + add + ", phase=" + phase + ", freq=" + freq + ", lightStrength=" + lightStrength + ", strength=" + strength + ")";
// Finally, wait 10 milliseconds and start it all again.
setTimeout("doWave(" + add + "," + phase + "," + freq + "," + lightStrength + "," + strength + ")", 100);
}

// Run the function for the first time
if (isIE4) doWave(0, 0, 5, 5, 2);
