$(document).ready(function(){

    //homepage carousel
    if ($('ul#slideshow').length) {
        $('ul#slideshow').cycle({ 
            fx:     'fade',
            speed: 2000,
            timeout: 4000
        });      
    }
	
		if ($('ul#slideshowHOMEPG').length) {
        $('ul#slideshowHOMEPG').cycle({ 
            fx:     'fade',
            speed: 2000,
            timeout: 7000
        });      
    }
	
	    if ($('ul#slideshow0').length) {
        $('ul#slideshow0').cycle({ 
            fx:     'fade',
            speed: 2000,
            timeout: 5000
        });      
    }
	
	    if ($('ul#slideshow1').length) {
        $('ul#slideshow1').cycle({ 
            fx:     'fade',
            speed: 2000,
            timeout: 6000
        });      
    }
	
	    if ($('ul#slideshow2').length) {
        $('ul#slideshow2').cycle({ 
            fx:     'fade',
            speed: 2000,
            timeout: 7000
        });      
    }
	
	    if ($('ul#slideshow3').length) {
        $('ul#slideshow3').cycle({ 
            fx:     'fade',
            speed: 2000,
            timeout: 8000
        });      
    }
	
	    if ($('ul#slideshow4').length) {
        $('ul#slideshow4').cycle({ 
            fx:     'fade',
            speed: 2000,
            timeout: 9000
        });      
    }
	
	    if ($('ul#slideshow5').length) {
        $('ul#slideshow5').cycle({ 
            fx:     'fade',
            speed: 2000,
            timeout: 10000
        });      
    }
	
	    if ($('ul#slideshow6').length) {
        $('ul#slideshow6').cycle({ 
            fx:     'fade',
            speed: 2000,
            timeout: 11000
        });      
    }
	
});