/*
======================================================
A Quick Sale
sIFR3 config
======================================================
*/

  ////////////////////////////////////////////////////////////////////
  // Define font variables
  ////////////////////////////////////////////////////////////////////

  var syntax_ultra_black = {src: "/investments/sifr3/flash/syntax-ultra-black.swf"};
  
  ////////////////////////////////////////////////////////////////////
  // Run setup routines
  ////////////////////////////////////////////////////////////////////
  
  sIFR.activate(syntax_ultra_black);
  
  ////////////////////////////////////////////////////////////////////
  // Define XHTML selectors to replace and pass sIFR config arguments
  ////////////////////////////////////////////////////////////////////
  
    /* 
  	Template styles
  	-----------------------------------------------------------------------
  	*/
    
    // Contact banner
    sIFR.replace(syntax_ultra_black, {
      selector: 'h2#contact_banner strong',
      transparent: true,
      ratios: [8,1.41,10,1.33,14,1.31,16,1.26,20,1.27,26,1.26,29,1.24,30,1.25,40,1.24,55,1.23,88,1.22,89,1.21,93,1.22,94,1.21,95,1.22,103,1.21,104,1.22,108,1.21,109,1.22,1.21],
      offsetTop: -2,
      tuneHeight: -10,
      css: [
        '.sIFR-root { color: #184e1a; background-color: none; letter-spacing: 1; text-align: right; }'
        ,'.white { color: #ffffff; }'
        ,'.yellow { color: #ffca05; }'
        ,'.red { color: #cd1d24; }'
        ,'.light-blue { color: #5e8fb7; }'
      ]
    });

    // H2 body headings
    sIFR.replace(syntax_ultra_black, {
      selector: 'h2.heading',
      transparent: true,
      ratios: [8,1.41,10,1.33,14,1.31,16,1.26,20,1.27,26,1.26,29,1.24,30,1.25,40,1.24,55,1.23,88,1.22,89,1.21,93,1.22,94,1.21,95,1.22,103,1.21,104,1.22,108,1.21,109,1.22,1.21],
      offsetTop: -5,
      tuneHeight: -5,
      css: [
        '.sIFR-root { color: #184e1a; background-color: none; letter-spacing: 1; }'
        ,'.white { color: #ffffff; }'
        ,'.yellow { color: #ffca05; }'
        ,'.red { color: #cd1d24; }'
        ,'.light-blue { color: #5e8fb7; }'
      ]
    });
    
    // H3 body headings
    sIFR.replace(syntax_ultra_black, {
      selector: 'h3.sub-heading',
      transparent: true,
      ratios: [8,1.41,10,1.33,14,1.31,16,1.26,20,1.27,26,1.26,29,1.24,30,1.25,40,1.24,55,1.23,88,1.22,89,1.21,93,1.22,94,1.21,95,1.22,103,1.21,104,1.22,108,1.21,109,1.22,1.21],
      offsetTop: -3,
      tuneHeight: 0,
      css: [
        '.sIFR-root { color: #184e1a; background-color: none; letter-spacing: 1; leading: -2; }'
        ,'.white { color: #ffffff; }'
        ,'.yellow { color: #ffca05; }'
        ,'.red { color: #cd1d24; }'
        ,'.light-blue { color: #5e8fb7; }'
      ]
    });
    
    // H4 body headings
    sIFR.replace(syntax_ultra_black, {
      selector: 'h4.sub-heading',
      transparent: true,
      ratios: [8,1.41,10,1.33,14,1.31,16,1.26,20,1.27,26,1.26,29,1.24,30,1.25,40,1.24,55,1.23,88,1.22,89,1.21,93,1.22,94,1.21,95,1.22,103,1.21,104,1.22,108,1.21,109,1.22,1.21],
      offsetTop: 5,
      tuneHeight: 0,
      css: [
        '.sIFR-root { color: #184e1a; background-color: none; letter-spacing: 1; leading: -2; }'
        ,'.white { color: #ffffff; }'
        ,'.yellow { color: #ffca05; }'
        ,'.red { color: #cd1d24; }'
        ,'.light-blue { color: #5e8fb7; }'
      ]
    });
    
    /* 
  	Module styles
  	-----------------------------------------------------------------------
  	*/
    
    // H3 module headings
    sIFR.replace(syntax_ultra_black, {
      selector: 'h3.module-heading',
      transparent: true,
      ratios: [8,1.41,10,1.33,14,1.31,16,1.26,20,1.27,26,1.26,29,1.24,30,1.25,40,1.24,55,1.23,88,1.22,89,1.21,93,1.22,94,1.21,95,1.22,103,1.21,104,1.22,108,1.21,109,1.22,1.21],
      offsetTop: -4,
      tuneHeight: -5,
      css: [
        '.sIFR-root { color: #184e1a; background-color: none; letter-spacing: 1; leading: -2; }'
        ,'.white { color: #ffffff; }'
        ,'.yellow { color: #ffca05; }'
        ,'.red { color: #cd1d24; }'
        ,'.light-blue { color: #5e8fb7; }'
      ]
    });
    
    // H4 module headings
    sIFR.replace(syntax_ultra_black, {
      selector: 'h4.module-heading',
      transparent: true,
      ratios: [8,1.41,10,1.33,14,1.31,16,1.26,20,1.27,26,1.26,29,1.24,30,1.25,40,1.24,55,1.23,88,1.22,89,1.21,93,1.22,94,1.21,95,1.22,103,1.21,104,1.22,108,1.21,109,1.22,1.21],
      offsetTop: -4,
      tuneHeight: -5,
      css: [
        '.sIFR-root { color: #184e1a; background-color: none; letter-spacing: 1; leading: -2; }'
        ,'.white { color: #ffffff; }'
        ,'.yellow { color: #ffca05; }'
        ,'.red { color: #cd1d24; }'
        ,'.light-blue { color: #5e8fb7; }'
      ]
    });
