/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/

var thesans_regular = { src: '/assets/flash/thesans-regular.swf' };
var thesans_light = { src: '/assets/flash/thesans-light.swf' };

// sIFR.useStyleCheck = true;
// sIFR.useDomLoaded = false;

sIFR.activate(thesans_regular, thesans_light);

// styling Freefone

sIFR.replace(thesans_regular, {
    selector: '.freefone p.text'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #979797; text-transform: uppercase; font-size: 14px; leading: -10;} strong {font-size: 130%; color: #6b289c;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #979797 }'
        ,'a:hover { color: #979797 }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: '.freefone p'
    , forceWidth: 'true'
    , wmode: 'transparent'
    , css: [
        '.sIFR-root { color: #979797; text-transform: uppercase; font-size: 12px; leading: -15;} strong {font-size: 175%; color: #6b289c;}'
        , 'a { text-decoration: none }'
        , 'a:link { color: #979797 }'
        , 'a:hover { color: #979797 }'
    ]
});

// styling H1

sIFR.replace(thesans_regular, {
    selector: 'body.red-scheme h1'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #c5565c; text-transform: uppercase; font-size: 34pt; leading: -12;} strong {color: #c5565c;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #c5565c }'
        ,'a:hover { color: #c5565c }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: 'body.green-scheme h1'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #7fa639; text-transform: uppercase; font-size: 34pt; leading: -12;} strong {color: #7fa639;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #7fa639 }'
        ,'a:hover { color: #7fa639 }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: 'body.blue-scheme h1'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #4395c7; text-transform: uppercase; font-size: 34pt; leading: -12;} strong {color: #4395c7;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #4395c7 }'
        ,'a:hover { color: #4395c7 }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: 'h1'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #6b289c; text-transform: uppercase; font-size: 34pt; leading: -12;} strong {color: #6b289c;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #6b289c }'
        ,'a:hover { color: #6b289c }'
    ]
});

// styling H3 (.block1)

sIFR.replace(thesans_regular, {
    selector: '.block1 .light-block h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #4793C0; text-transform: uppercase; font-size: 14px; font-weight: bold; leading: -7;} strong {color: #7f7f7f;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #4793C0 }'
        ,'a:hover { color: #4793C0 }'
    ]
});

// styling H3 and Strong.title (.module2)

sIFR.replace(thesans_regular, {
    selector: '.module2.violet3 h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #6b289c; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} strong {color: #7f7f7f;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #6b289c }'
        ,'a:hover { color: #6b289c }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: '.module2.violet3 strong.title'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #6b289c; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} em {color: #7f7f7f; font-style:normal}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #6b289c }'
        ,'a:hover { color: #6b289c }'
    ]
});


sIFR.replace(thesans_regular, {
    selector: '.module2.green3 h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #7fa639; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} strong {color: #7f7f7f;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #7fa639 }'
        ,'a:hover { color: #7fa639 }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: '.module2.green3 strong.title'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #7fa639; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} em {color: #7f7f7f; font-style:normal}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #7fa639 }'
        ,'a:hover { color: #7fa639 }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: '.module2.red3 h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #c5565c; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} strong {color: #7f7f7f;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #c5565c }'
        ,'a:hover { color: #c5565c }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: '.module2.red3 strong.title'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #c5565c; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} em {color: #7f7f7f; font-style:normal}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #c5565c }'
        ,'a:hover { color: #c5565c }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: '.module2.blue3 h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #4395c7; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} strong {color: #7f7f7f;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #4395c7 }'
        ,'a:hover { color: #4395c7 }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: '.module2.blue3 strong.title'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #4395c7; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} em {color: #7f7f7f; font-style:normal}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #4395c7 }'
        ,'a:hover { color: #4395c7 }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: 'body.red-scheme .module2 h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #c5565c; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} strong {color: #7f7f7f;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #c5565c }'
        ,'a:hover { color: #c5565c }'
    ]
});


sIFR.replace(thesans_regular, {
    selector: 'body.red-scheme .module2 strong.title'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #c5565c; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} em {color: #7f7f7f; font-style:normal}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #c5565c }'
        ,'a:hover { color: #c5565c }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: 'body.green-scheme .module2 h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #7fa639; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} strong {color: #7f7f7f;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #7fa639 }'
        ,'a:hover { color: #7fa639 }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: 'body.green-scheme .module2 strong.title'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #7fa639; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} em {color: #7f7f7f; font-style:normal;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #7fa639 }'
        ,'a:hover { color: #7fa639 }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: 'body.blue-scheme .module2 h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #4395c7; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} strong {color: #7f7f7f;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #4395c7 }'
        ,'a:hover { color: #4395c7 }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: 'body.blue-scheme .module2 strong.title'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #4395c7; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} em {color: #7f7f7f; font-style:normal}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #4395c7 }'
        ,'a:hover { color: #4395c7 }'
    ]
});


sIFR.replace(thesans_regular, {
    selector: '.module2.tools h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #6b289c; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} strong {color: #c88ef0;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #6b289c }'
        ,'a:hover { color: #6b289c }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: '.module2.tools strong.title'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #6b289c; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} em {color: #c88ef0; font-style:normal}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #6b289c }'
        ,'a:hover { color: #6b289c }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: '.module2 h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #6b289c; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} strong {color: #7f7f7f;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #6b289c }'
        ,'a:hover { color: #6b289c }'
    ]
});

sIFR.replace(thesans_regular, {
    selector: '.module2 strong.title'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #6b289c; text-transform: uppercase; font-size: 13px; font-weight: bold; leading: -5;} em {color: #7f7f7f; font-style:normal}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #6b289c }'
        ,'a:hover { color: #6b289c }'
    ]
});

// styling H3 and strong.title (.home-box)

sIFR.replace(thesans_regular, {
    selector: '.home-box h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #ffffff; text-transform: uppercase; font-size: 13px; font-weight: bold; letter-spacing: 1; leading: -5; } strong {font-size: 70%; margin-left: 10;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #ffffff }'
        ,'a:hover { color: #ffffff }'
    ]
});

// styling H2 (.home-box)

sIFR.replace(thesans_regular, {
    selector: '.home-box h2'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #ffffff; text-transform: uppercase; font-size: 13px; font-weight: bold; letter-spacing: 1; leading: -5; } strong {font-size: 70%; margin-left: 10;}'
        ,'a { text-decoration: none }'
        ,'a:link { color: #ffffff }'
        ,'a:hover { color: #ffffff }'
    ]
});


// styling H3 (.wide-book)

sIFR.replace(thesans_regular, {
    selector: '.wide-book .wide-book-content-right h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #6b289c; text-transform: uppercase; font-size: 23px; font-weight: bold; leading: -5; }'
    ]
});

// styling H3 (.pod)

sIFR.replace(thesans_regular, {
    selector: '.pod h3'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #6b289c; font-size: 17px; font-weight: bold; leading: -10; }'
    ]
});

// styling H4 (.wide-book)
sIFR.replace(thesans_regular, {
    selector: '.wide-book .wide-book-content-right h4'
    ,forceWidth: 'true'
    ,wmode: 'transparent'
    ,css: [
        '.sIFR-root { color: #9a9a9a; text-transform: uppercase; font-size: 14px; font-weight: bold; leading: -10; }'
    ]
});
