// 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() {

    // setup stylesheet switcher
    stylesheetOnLoad();
    $(window).unload(function() { stylesheetOnUnload(); });
	
	$('#slideshow').loopedSlider({
		container: ".slidecontainer",
		slides: ".sliderail",
		autoStart: 7000,
		restart: 7000,
		slidespeed: 1800
	});
	

/*    // preload all css images
    $.preloadCssImages();*/

/*	// UFO flash loader example
	// dont forget to include the ufo.js script
	// dont forget the # at the start of the jquery if()
    if ($("#flash_container_home").length) {
        var FO = { movie: "http://www.derehamhireandsales.co.uk/site/flash/banner2.swf", width: "512", height: "135", majorversion: "6", build: "0" };
        UFO.create(FO, "flash_container_home");
    }*/

});

