I'm trying to add falling leaves to my website. I've found a JS code that seemingly has worked for people in the past but that doesn't seem to be the case for me. I have tried placing it in my templates and I get nothing.

Here is the code:

Code:

<script language="JavaScript1.2">

//Autumn leaves- by Kurt Grigg (kurt.grigg@virgin.net)//Modified by Dynamic Drive for NS6 functionality//visit http://www.dynamicdrive.com for this script

Amount=8; //Smoothness depends on image file size, the smaller the size the more you can use!Ypos=new Array();Xpos=new Array();Speed=new Array();Step=new Array();Cstep=new Array();ns=(document.layers)?1:0;ns6=(document.getElementById&&!document.all)?1:0;