יניש טבמל וננער טקפאה תא םתספספ םא ..הסינכב לצו העונת
<SCRIPT language=JavaScript><!--
var shadowLength = 10;
var offsetLeft = 1;
var offsetTop = 1;

oL = 0;
oT = 0;

var bgR = 255;
var bgG = 255;
var bgB = 255;

var shR = 0;
var shG = 0;
var shB = 0;


var fgR = 255;
var fgG = 0;
var fgB = 0;

var cR = shR;
var cG = shG;
var cB = shB;
zC = shadowLength;

var iR = Math.round((Math.abs(bgR - shR))/shadowLength);
var iG = Math.round((Math.abs(bgG - shG))/shadowLength);
var iB = Math.round((Math.abs(bgB - shB))/shadowLength);

function colourShift () {
if ( cR >= bgR ) { cR -= iR; }
else { cR += iR; }
if ( cG >= bgG
) { cG -= iG; }
else { cG += iG; }
if ( cB >= bgB ) { cB -= iB; }
else { cB += iB; }
}

function writeLayer(layerPrefix,message) {
document.writeln ('<div id="title">')
document.writeln ('<span id="text">')
document.writeln (message)
document.writeln ('</span>')
for (var i = 1; i <= shadowLength; i++) {
document.writeln ('<span id="'+ layerPrefix + i + '">')
document.writeln (message)
document.writeln ('</span>')
}
document.writeln ('</div>')
}

function writeCSS(layerPrefix) {
document.writeln ('#text{')
document.writeln ('color: rgb(' + fgR + ',' + fgG + ',' + fgB + ');')
document.writeln ('position: relative;')
document.writeln ('z-index: ' + zC + ';')
document.writeln ('left: ' + oL + '; top: ' + oT + ';')
document.writeln ('}')
for (var i = 1; i <= shadowLength; i++) {
oL = oL + offsetLeft; oT = oT + offsetTop; zC = zC - 1;
document.writeln ('#'+ layerPrefix + i + '{')
document.writeln ('color: rgb(' + cR + ',' + cG + ',' + cB + ');')
document.writeln ('position: absolute;')
document.writeln ('z-index: ' + zC + ';')
document.writeln ('left: ' + oL + '; top: ' + oT + ';')
document.writeln ('}')
colourShift();
}
}
// -->
</SCRIPT>

<SCRIPT language=JavaScript><!--
document.writeln ('<style type="text/css">')
document.writeln ('body {')
document.writeln ('background-color: rgb(' + bgR + ',' + bgG + ',' + bgB + ');')
document.writeln (' }')
writeCSS('shadow')
document.writeln ('</style>')
// -->
</SCRIPT>

<STYLE type=text/css>#title {
LEFT: 5px; FONT: bold 75px "Hoefler Text", serif, "Times New Roman", Georgia, Times; POSITION: relative; TOP: 5px
}
</STYLE>

<BODY>
<SCRIPT language=JavaScript>
writeLayer('shadow','Alice in Wonder Land');
</SCRIPT>