//var sketch = { src: 'library/js/sketch-block.swf' };
//var sketch = { src: 'library/js/sketch.swf' };
var sketch = { src: 'library/js/sketch-rockwell.swf' };

sIFR.useStyleCheck = true;
sIFR.activate(sketch);
sIFR.forceWidth=true;

// *_* Homepage newsitems Headlines

/*
    sIFR.replace(sketch, {
      selector: '.newsItem h3',
      css: [
        '.sIFR-root {color: #cc0035; text-transform:uppercase; }',
        'a {color: #cc0035; text-decoration: none;}',
        'a:link { color: #cc0035; }',
        'a:hover { color: #cc0035; text-decoration: underline; }'
      ],
      wmode: 'transparent'
    });
*/

// CampaignOverlays ---------------

    sIFR.replace(sketch, {
      selector: '.campainPromoBigOverlay div',
      css: '.sIFR-root {color: #ffffff; text-align: right; font-size: 30px;  line-height:0px;}',
      wmode: 'transparent',
      forceSingleLine: true
    });
    
    sIFR.replace(sketch, {
      selector: '.campainPromoSmallOverlay div',
      css: '.sIFR-root {color: #ffffff; text-align: right; line-height:0px;font-size: 25px;}',
      wmode: 'transparent',
      forceSingleLine: true
    });
    
// Timeline -----------------------

    sIFR.replace(sketch, {
      selector: '#timeline h4 .year',
      css: '.sIFR-root {font-size: 20px;}',
      forceSingleLine: true, 
      wmode: 'transparent'
    });

// tried to clear things up -------

    // was .whiteonred
    sIFR.replace(sketch, {
      selector: '.whiteSIFR',
      css: '.sIFR-root {color: #ffffff; text-transform:uppercase; }',
      forceSingleLine: true, 
      wmode: 'transparent'
    });
    
    // lets call it white on anything
    sIFR.replace(sketch, {
      selector: '.whiteSIFRmultiline',
      css: '.sIFR-root {color: #ffffff;  text-transform:uppercase;  leading: 10; }',
      wmode: 'transparent'
    });

// end -------

    sIFR.replace(sketch, {
      selector: '.redonwhite',
      css: [
        '.sIFR-root {color: #cc0033; text-transform:uppercase; }',
        'a {color: #cc0033; text-decoration: none; }',
        'a:link { color: #cc0033; }',
        'a:hover { color: #cc0033; text-decoration: underline; cursor: pointer; }'
      ],
      forceSingleLine: true, 
      wmode: 'transparent'
    });
    
    sIFR.replace(sketch, {
      selector: '.redonwhitemulti',
      css: [
        '.sIFR-root {color: #cc0033; text-transform:uppercase; }',
        'a {color: #cc0033; text-decoration: none; }',
        'a:link { color: #cc0033; }',
        'a:hover { color: #cc0033; text-decoration: underline; cursor: pointer; }'
      ],
      wmode: 'transparent'
    });

    sIFR.replace(sketch, {
      selector: '.blueonwhite',
      css: '.sIFR-root {color: #013e7f; }',
      forceSingleLine: true, 
      wmode: 'transparent'
    });
    
    sIFR.replace(sketch, {
      selector: '.greenonwhite',
      css: '.sIFR-root {color: #006666; }',
      forceSingleLine: true, 
      wmode: 'transparent'
    });
    
    sIFR.replace(sketch, {
      selector: '.genericHub h3',
      css: '.sIFR-root {font-weight: normal; }'
    });

//billTracker
    sIFR.replace(sketch, {
      selector: '.billTrackerHead',
      css: '.sIFR-root {color: #ffffff; text-align: right; line-height:0px; font-size: 24px;}',
      wmode: 'transparent',
      forceSingleLine: true
    });

    sIFR.replace(sketch, {
      selector: '#billTracker .leftcol h3',
      css: '.sIFR-root {font-weight: normal; font-size: 18px; text-align: right;}',
      wmode: 'transparent'
    });

    sIFR.replace(sketch, {
      selector: '#billTracker .rightcol h3',
      css: '.sIFR-root {font-weight: normal; font-size: 18px;}',
      wmode: 'transparent'
    });

    sIFR.replace(sketch, {
      selector: '#GalleryItemsMore h2',
      css: [
        '.sIFR-root {color: #cc0033; text-transform:uppercase; font-size: 30px;}',
        'a {color: #cc0033; text-decoration: none;}',
        'a:link { color: #cc0033; }',
        'a:hover { color: #cc0033; text-decoration: underline; cursor: pointer; }'
      ],
      forceSingleLine: true, 
      wmode: 'transparent'
    });
    
//preventWrap: true,
//fitExactly: true,       
//forceSingleLine: true

