//<![CDATA[
var Site = {

        start: function(){
                //basic usage, assumes that div#snow dimensions have been explicitly specified
                //div#snow is the container for the snowfall, needs to be created by hand
                //new TextSnow({ container:$('snow') });

                //extended usage, all options are used
                new TextSnow({
                        container:$('snow'),//container where you want the snowfall
                        /*inject:'top',//insert stage inside, top, before or after the container

                        stage:{
                                //any number of css rules
                                styles:{
                                        background:'#ccc',
                                        width: 100,
                                        height: 100
                                },
                                padding: 1//horisontal stage padding
                        },*/

                        snow:{
                                ammount: 20,//number of snowflakes
                                speed:[1,2,3],//speed with wich individual snowflakes fall

                                //any number of css rules
                                styles: {
                                        'position': 'absolute'
                                },

                                symbol: ['<div class="flake1" ></div>','<div class="flake2" ></div>',,'<div class="flake3" ></div>'],//an array of flake symbols, html can be used as well
                                color:['#fff','#eee','#eed'],//flake color
                                fontFamily:['Impact', 'Times New Roman', 'Georgia'],//different flake shape
                                fontSize:[20,22],//font size in pixels
                                direction:'right',//left,right,straight
                                sinkSpeed:40//how fast the snow is falling (lower number = higher speed)
                        }
                });
        }
};

window.addEvent('domready', Site.start);
//]]>
