/*****************************************************************************
The sIFR configuration should typically go in `sifr-config.js`, but in order to
keep the config file clean, and to give a quick overview, it's done here instead.
*****************************************************************************/
  
var TrajanProBold = { src: '../resources/TrajanProBold.swf' };
var HelveticaNeueLightCond = { src: '../resources/HelveticaNeueLightCond.swf' };
	
// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
// sIFR.useStyleCheck = true;
sIFR.activate(TrajanProBold, HelveticaNeueLightCond);

sIFR.replace(HelveticaNeueLightCond, { 
    selector: 'h1.cab'
    , wmode:'transparent'
    , fitExactly:true
    , tuneWidth:0
    , forceSingleLine:true
    , preventWrap:false
    , css: {
        '.sIFR-root' : {
            'color': '#666666'
            , 'margin-left': '0'
            , 'margin-right': '0'
            , 'display':''
            , 'text-align':'left'
            , 'letter-spacing':'0'
            , 'text-transform':''
            , 'opacity':''
            , 'font-weight':''
            ,'font-style':''
            , 'font-size':'' }
        , 'a': {
            'text-decoration': 'none',
            'color': '#999999'
            , 'cursor':'pointer' }
        ,  'a:hover': {
            'text-decoration': 'none'
            ,'color': '#333333'
        }
    }
});

sIFR.replace(HelveticaNeueLightCond, { 
    selector: 'h1.imgN'
    , wmode:'transparent'
    , fitExactly:false
    , tuneWidth:0
    , forceSingleLine:false
    , preventWrap:false
    , css: {
        '.sIFR-root' : {
            'color': '#333333'
            , 'margin-left': '0'
            , 'margin-right': '0'
            , 'display':''
            , 'text-align':'left'
            , 'letter-spacing':'0'
            , 'text-transform':''
            , 'opacity':''
            , 'font-weight':''
            ,'font-style':''
            , 'font-size':''
        }
    }
});

sIFR.replace(HelveticaNeueLightCond, { 
    selector: 'h1.imgB'
    , wmode:'transparent'
    , fitExactly:false
    , tuneWidth:0
    , forceSingleLine:false
    , preventWrap:false
    , css: {
        '.sIFR-root' : {
            'color': '#FFFFFF'
            , 'margin-left': '0'
            , 'margin-right': '0'
            , 'display':''
            , 'text-align':'left'
            , 'letter-spacing':'0'
            , 'text-transform':''
            , 'opacity':''
            , 'font-weight':''
            ,'font-style':''
            , 'font-size':'' }
        , 'a': {
            'text-decoration': 'none',
            'color': '#FFFFFF'
            , 'cursor':'pointer' }
        ,  'a:hover': {
            'text-decoration': 'none'
            ,'color': '#FFFFFF'
        }
    }
});

sIFR.replace(TrajanProBold, { 
    selector: 'h1.up'
    , wmode:'transparent'
    , fitExactly:true
    , tuneWidth:1
    , forceSingleLine:true
    , preventWrap:false
    , css: {
        '.sIFR-root' : {
            'color': '#333333'
            , 'margin-left': '0'
            , 'margin-right': '0'
            , 'display':''
            , 'text-align':'left'
            , 'letter-spacing':'0'
            , 'text-transform':''
            , 'opacity':''
            , 'font-weight':''
            ,'font-style':''
            , 'font-size':'' }
        , 'a': {
            'text-decoration': 'none',
            'color': '#999999'
            , 'cursor':'pointer' }
        ,  'a:hover': {
            'text-decoration': 'none'
            ,'color': '#333333'
        }
    }
});

sIFR.replace(TrajanProBold, { 
    selector: 'h1.g999'
    , wmode:'transparent'
    , fitExactly:true
    , tuneWidth:1
    , forceSingleLine:true
    , preventWrap:false
    , css: {
        '.sIFR-root' : {
            'color': '#999999'
            , 'margin-left': '0'
            , 'margin-right': '0'
            , 'display':''
            , 'text-align':'left'
            , 'letter-spacing':'0'
            , 'text-transform':''
            , 'opacity':''
            , 'font-weight':''
            ,'font-style':''
            , 'font-size':'' }
        , 'a': {
            'text-decoration': 'none',
            'color': '#999999'
            , 'cursor':'pointer' }
        ,  'a:hover': {
            'text-decoration': 'none'
            ,'color': '#333333'
        }
    }
});

sIFR.replace(TrajanProBold, { 
    selector: 'h1.act'
    , wmode:'transparent'
    , fitExactly:true
    , tuneWidth:1
    , forceSingleLine:true
    , preventWrap:false
    , css: {
        '.sIFR-root' : {
            'color': '#333333'
            , 'margin-left': '0'
            , 'margin-right': '0'
            , 'display':''
            , 'text-align':'left'
            , 'letter-spacing':'0'
            , 'text-transform':''
            , 'opacity':''
            , 'font-weight':''
            ,'font-style':''
            , 'font-size':'' }
        , 'a': {
            'text-decoration': 'none',
            'color': '#333333'
            , 'cursor':'pointer' }
        ,  'a:hover': {
            'text-decoration': 'none'
            ,'color': '#999999'
        }
    }
});

sIFR.replace(TrajanProBold, { 
    selector: 'h1.down'
    , wmode:'transparent'
    , fitExactly:true
    , tuneWidth:2
    , forceSingleLine:true
    , preventWrap:false
    , css: {
        '.sIFR-root' : {
            'color': '#333333'
            , 'margin-left': '0'
            , 'margin-right': '0'
            , 'display':''
            , 'text-align':'left'
            , 'letter-spacing':'0'
            , 'text-transform':''
            , 'opacity':''
            , 'font-weight':''
            ,'font-style':''
            , 'font-size':'10px' }
        , 'a': {
            'text-decoration': 'none',
            'color': '#999999'
            , 'cursor':'pointer' }
        ,  'a:hover': {
            'text-decoration': 'none'
            ,'color': '#333333'
        }
    }
});

sIFR.replace(TrajanProBold, { 
    selector: 'h2, h3'
    , wmode:'transparent'
    , fitExactly:true
    , tuneWidth:1
    , forceSingleLine:false
    , preventWrap:false
    , css: {
        '.sIFR-root' : {
            'color': '#333333'
            , 'margin-left': '0'
            , 'margin-right': '0'
            , 'display':''
            , 'text-align':'left'
            , 'letter-spacing':'0'
            , 'text-transform':''
            , 'opacity':''
            , 'font-weight':''
            ,'font-style':''
            , 'font-size':'' }
        , 'a': {
            'text-decoration': 'none',
            'color': '#333333'
            , 'cursor':'pointer' }
        ,  'a:hover': {
            'text-decoration': 'none'
            ,'color': '#999999'
        }
    }
});
