$('html').addClass('has_js');

$(function(){

    //$('#slideshow').css('marginTop', '-200px');

    //home, jobs, contact us, t&c, legal
    $('.home #slideshow, .page-id-38 #slideshow, .single #slideshow, .archive #slideshow, .error404 #slideshow, .page-id-6 #slideshow, .page-id-15 #slideshow, .page-id-19 #slideshow, .page-id-21 #slideshow, .blog #slideshow').flash(
    {
        src: 'http://www.recruit4beauty.com/wp-content/themes/recruit4beauty/flash/homepagebristolrecruit4beauty.swf',
        width: 800,
        height: 365,
        wmode: 'transparent',
        background: '#820024'
    },
    {
        expressInstall: true,
        version: '9'
    }
    );

    //news, clients
    $('.page-id-9 #slideshow').flash(
    {
        src: 'http://www.recruit4beauty.com/wp-content/themes/recruit4beauty/flash/candidatesbristolrecruit4beauty.swf',
        width: 800,
        height: 365,
        wmode: 'transparent',
        background: '#820024'
    },
    {
        expressInstall: true,
        version: '9'
    }
    );

    //clients
    $('.page-id-11 #slideshow').flash(
    {
        src: 'http://www.recruit4beauty.com/wp-content/themes/recruit4beauty/flash/clientsbristolrecruit4beauty.swf',
        width: 800,
        height: 365,
        wmode: 'transparent',
        background: '#820024'
    },
    {
        expressInstall: true,
        version: '9'
    }
    );

    $('ul.innerfade').innerfade({
        speed: 'slow',
        timeout: 4000,
        type: 'sequence',
        containerheight: '90px'
    });

});