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:document.id('t3'),snow:{ammount: 30,speed:[1,2,3] },styles:{'position': 'absolute','left': '0px','margin-left':'-200px'}});


                //extended usage, all options are used
/*
                new TextSnow({
                        container:document.id('t3'),//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: 30,//number of snowflakes
                                speed:[1,2,3],//speed with wich individual snowflakes fall

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

                                symbol: ['*', '.', '<img src="img-url" />', '&raquo;'],//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:'left',//left,right,straight
                                sinkSpeed:50//how fast the snow is falling (lower number = higher speed)
                        }
                });
*/
  new TextDropShadow($$('.ds'), {color:'#222', top: 1, left: 1, opacity: 0.6});
  new TextDropShadow($$('.mhead2'), {color:'#ccc', top: 1, left: 1, opacity: 0.9});
  new TextDropShadow($$('.mhead3'), {color:'#000', top: 1, left: 1, opacity: 0.9});

        }
};

window.addEvent('domready', Site.start);
