window.onload = function () {

    try {
        document.documentElement.getElementsByTagName( 'div' )[0].focus()
    } catch(e){ /* woops */ }

    var shadows = new Shadows({
        element: document.querySelector( 'h1' ),
        span: 7,
        shadows: [
            { color: '#39c', angle: 0,  width: 10 },
            { color: '#530', angle: 120, width: 10 },
            { color: '#660', angle: 240, width: 10 }
        ]
    })

    var topHider = document.createElement( 'div' ),
        bottomHider = document.createElement( 'div' )

    topHider.className = 'topHider'
    bottomHider.className = 'bottomHider'

    document.querySelector( '.page' ).appendChild( topHider )
    document.querySelector( '.page' ).appendChild( bottomHider )

}
/*
window.resize = function () {
    var width = window.innerWidth || document.documentElement.clientWidth || document.getElementsByTagName('body')[0].clientWidth
    document.body.style.overflowX = ( width < 600  ) ? 'visible' : 'hidden'
}
*/

