var greentheme = {
    src: '/assets/flash/humanist.swf'
    ,ratios: [7,1.32,11,1.31,13,1.24,14,1.25,19,1.23,27,1.2,34,1.19,42,1.18,47,1.17,48,1.18,69,1.17,74,1.16,75,1.17,1.16]
};

var purpletheme = {
    src: '/assets/flash/humanist.swf'
    , ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

var yellowtheme = {
    src: '/assets/flash/humanist.swf'
    , ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

var pinktheme = {
    src: '/assets/flash/humanist.swf'
    , ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

var orangetheme = {
    src: '/assets/flash/humanist.swf'
    , ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

var bluetheme = {
    src: '/assets/flash/humanist.swf'
    , ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

var sifrmodule = {
    src: '/assets/flash/humanist.swf'
    , ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

var turqtheme = {
    src: '/assets/flash/humanist.swf'
    , ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};


var sifrmodulealt = {
    src: '/assets/flash/humanist.swf'
    , ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

sIFR.useStyleCheck = true;
sIFR.activate(greentheme, pinktheme, purpletheme, yellowtheme, orangetheme, bluetheme, sifrmodule, sifrmodulealt);

//Green themed elements
sIFR.replace(greentheme, {
selector: '.theme-green .l-c-b h1',
wmode: 'transparent',
css: [
'.sIFR-root { color: #B4C72B; font-size:20px; font-weight: bold; }',
'a { color: #B4C72B; text-decoration: none; }',
'a:hover { color: #B4C72B; text-decoration: none; }'
]
});

//purple themed elements
sIFR.replace(purpletheme, {
    selector: '.theme-purple .l-c-b h1',
    wmode: 'transparent',
    css: [
'.sIFR-root { color: #7B6494; font-size:20px; font-weight: bold; }',
'a { color: #7B6494; text-decoration: none; }',
'a:hover { color: #7B6494; text-decoration: none; }'
]
});

//yellow themed elements
sIFR.replace(yellowtheme, {
    selector: '.theme-yellow .l-c-b h1',
    wmode: 'transparent',
    css: [
'.sIFR-root { color: #DEA704; font-size:20px; font-weight: bold; }',
'a { color: #DEA704; text-decoration: none; }',
'a:hover { color: #DEA704; text-decoration: none; }'
]
});

//pink themed elements
sIFR.replace(pinktheme, {
    selector: '.theme-pink .l-c-b h1',
    wmode: 'transparent',
    css: [
'.sIFR-root { color: #E3568B; font-size:20px; font-weight: bold; }',
'a { color: #E3568B; text-decoration: none; }',
'a:hover { color: #E3568B; text-decoration: none; }'
]
});

//orange themed elements
sIFR.replace(orangetheme, {
    selector: '.theme-orange .l-c-b h1',
    wmode: 'transparent',
    css: [
'.sIFR-root {color: #FD920A; font-size:20px; font-weight: bold; }',
'a { color: #FD920A; text-decoration: none; }',
'a:hover { color: #FD920A text-decoration: none; }'
]
});

//blue themed elements
sIFR.replace(bluetheme, {
    selector: '.theme-blue .l-c-b h1',
    wmode: 'transparent',
    css: [
'.sIFR-root {color: #00a0e2; font-size:20px; font-weight: bold;}',
'a { color: #F00a0e2; text-decoration: none; }',
'a:hover { color: #00a0e2 text-decoration: none; }'
]
});

//turquoise themed elements
sIFR.replace(turqtheme, {
    selector: '.theme-turquoise .l-c-b h1',
    wmode: 'transparent',
    css: [
'.sIFR-root {color: #00AFAD; font-size:20px; font-weight: bold;}',
'a { color: #00AFAD; text-decoration: none; }',
'a:hover { color: #00AFAD text-decoration: none; }'
]
});

//widget elements
//white h3
sIFR.replace(sifrmodule, {
    selector: '.sifrmodule',
    wmode: 'transparent',
    css: [
'.sIFR-root {color: #FFFFFF; font-size:17px; }',
'a { color: #FFFFFF; text-decoration: none; }',
'a:hover { color: #FFFFFF text-decoration: none; }'
]
});
//widget elements
//blue h3
sIFR.replace(sifrmodulealt, {
    selector: '.sifrmodulealt',
    wmode: 'transparent',
    css: [
'.sIFR-root {color: #00a0e2; font-size:17px; }',
'a { color: #00a0e2; text-decoration: none; }',
'a:hover { color: #00a0e2 text-decoration: none; }',
'em { color: #002050 font-style:normal; }'
]
});
