/*
Color of the 3 steps :
	blue => #4dcaff 
	orange => #f5a100
	green => #93cb46
*/

var sweetPea = {
    src: '../static/default/flash/sifr3/sweetPea.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.activate(sweetPea);

sIFR.replace(sweetPea, {
selector: 'h1.subhead'
    ,css: [
      '.sIFR-root {  color:#003a9b;font-size:22px;}'
      ,'a { text-decoration: none;font-size: 140px;font-weight: bold; }'
      ,'a:link { color: #6db31c; }'
      ,'a:hover { color: #6db31c; }'
    ]
});

sIFR.replace(sweetPea, {
selector: 'h1.stage1'
    ,css: [
      '.sIFR-root {  color:#003a9b;font-size:22px;font-weight: bold;}'
      ,'a { text-decoration: none;font-size: 140px;font-weight: bold; }'
      ,'a:link { color: #4dcaff; }'
      ,'a:hover { color: #4dcaff; }'
    ]
});

sIFR.replace(sweetPea, {
selector: 'h1.stage2'
    ,css: [
      '.sIFR-root {  color:#003a9b;font-size:22px;font-weight: bold;}'
      ,'a { text-decoration: none;font-size: 140px;font-weight: bold; }'
      ,'a:link { color: #f5a100; }'
      ,'a:hover { color: #f5a100; }'
    ]
});

sIFR.replace(sweetPea, {
selector: 'h1.stage3'
    ,css: [
      '.sIFR-root {color:#003a9b;font-size:22px;font-weight: bold;}'
      ,'a { text-decoration: none;font-size: 140px;font-weight: bold; }'
      ,'a:link { color: #93cb46; }'
      ,'a:hover { color: #93cb46; }'
    ]
});

sIFR.replace(sweetPea, {
    selector: 'h1.stage4'
    , css: [
      '.sIFR-root {color:#003a9b;font-size:22px;font-weight: bold;}'
      , 'a { text-decoration: none;font-size: 140px;font-weight: bold; }'
      , 'a:link { color: #E7330F; }'
      , 'a:hover { color: #E7330F; }'
    ]
});

sIFR.replace(sweetPea, {
selector: 'h1'
    ,css: [
      '.sIFR-root {  color:#003a9b;font-size:26px;font-weight: bold;}'
      ,'a { text-decoration: none;font-size: 140px;font-weight: bolder; }'
      ,'a:link { color: #6db31c; }'
      ,'a:hover { color: #6db31c; }'
    ]
});



sIFR.replace(sweetPea, {
    selector: 'h2'
    ,css: [
      '.sIFR-root { color:#93cb46; font-size:22px;font-weight: bold;}'     
]
});

sIFR.replace(sweetPea, {
    selector: 'h3'
    ,css: [
      '.sIFR-root {  color:#93cb46;font-size:20px;font-weight: bold;}'
]
});

sIFR.replace(sweetPea, {
    selector: '.t6Txt font'
    ,css: [
      '.sIFR-root {color:#4dcaff; font-size:22px;font-weight: bold;}'
    ]
});

sIFR.replace(sweetPea, {
    selector: '.t6Txt span.stage1'
    , css: [
      '.sIFR-root { color:#4dcaff; font-size:22px;font-weight: bold; display:inline;}'
]
});
sIFR.replace(sweetPea, {
    selector: '.t6Txt span.stage2'
    , css: [
      '.sIFR-root { color:#f5a100; font-size:22px;font-weight: bold; display:inline;}'
]
});
sIFR.replace(sweetPea, {
    selector: '.t6Txt span.stage3'
    , css: [
      '.sIFR-root { color:#93cb46; font-size:22px;font-weight: bold; display:inline;}'
]
});
sIFR.replace(sweetPea, {
    selector: '.t6Txt span.stage4'
    , css: [
      '.sIFR-root { color:#e7330f; font-size:22px;font-weight: bold; display:inline;}'
]
});