﻿// DBS jQuery Startup Script
// v1.0 - Matthew Harris - 26/08/09 - Initial Release

// add any startup methods here
// make sure you have already included them in a script reference before this file

$(document).ready(function() {

    // preload all css images
    //$.preloadCssImages();

    // setup stylesheet switcher
    /*stylesheetOnLoad();
    $(window).unload(function() { stylesheetOnUnload(); });*/

    // inject flash
    if ($("#flash_container").length) {
        var FO = { movie: "/site/flash/home.swf", width: "397", height: "220", majorversion: "8", build: "0" };
        UFO.create(FO, "flash_container");
    }

    // setup news headlines
    /*
    if ($("#recent_news_list").length) {
        $('#recent_news_list').innerfade(
            {
                speed: 'slow',
                animation: 'slide',
                timeout: 4000,
                type: 'sequence',
                containerheight: '70px'
            });
    }*/

});
