   /*****************************************************************************
    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.
    *****************************************************************************/
//       src: '/templates/public/flash/crankMinus.swf'

var crankMinus = { src: '/templates/public/flash/crankMinus.swf' };
var crankPlus = { src: '/templates/public/flash/crankPlus.swf' };

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
// sIFR.useStyleCheck = true;
sIFR.activate(crankMinus);
sIFR.activate(crankPlus);

ReloadSIFR();

/*
    Need to encapsulate sIFR actions in function so that can be reloaded after partial page rendering
*/
function ReloadSIFR() 
{

    
    sIFR.replace(crankMinus, {
      selector: 'h3.knockthroughHeader'
	  ,wmode: 'transparent'
      ,css: [
        '.sIFR-root { color: #666666;leading:-6}'
      ],
	  	tuneHeight:0, offsetTop:0
    });
    

    sIFR.replace(crankMinus, {
      selector: 'h3.knockthroughHeaderBig'
	  ,wmode: 'transparent'
      ,css: [
        '.sIFR-root { color: #ef3e42;}'
      ],
	  	tuneHeight:-8, offsetTop:-4
    });    
    
    sIFR.replace(crankMinus, {
      selector: 'blockquote, h4.calendarGrey'
	  ,wmode: 'transparent'
      ,css: [
        '.sIFR-root { color: #333333;}'
      ],
	  	tuneHeight:1, offsetTop:0
    });

    sIFR.replace(crankMinus, {
      selector: 'cite, h3.pricing-table'
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
      ,css: [
        '.sIFR-root { color: #ef3e42;}'
      ],
	  	tuneHeight:0, offsetTop:0
    });
    
    sIFR.replace(crankMinus, {
      selector: 'h3.contentListingHeading, .calendarRed, div.address h3'
	  ,wmode: 'transparent'
      ,css: [
        '.sIFR-root { color: #ef3e42;letter-spacing:0.2; }',
		'a { color: #ef3e42; text-decoration: none;}',
        'a:link { color: #ef3e42; }',
        'a:hover {color: #ff0000; text-decoration: underline; }'
      ],
	  	tuneHeight:-3, offsetTop:0
    });

    sIFR.replace(crankMinus, {
      selector: '.exProdDetail'
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
      ,css: [
        '.sIFR-root { color: #848484; }'
      ],
	  	tuneHeight:0, offsetTop:5
    });	
    
    sIFR.replace(crankPlus, {
      selector: '.exProdPer'
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
      ,css: [
        '.sIFR-root { color: #ef3e42;}'
      ],
	  	tuneHeight:0, offsetTop:2
    });	      
    
    
    sIFR.replace(crankPlus, {
      selector: '.exProdPrice'
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
      ,css: [
        '.sIFR-root { color: #ef3e42; }'
      ],
	  	tuneHeight:-5, offsetTop:0
    });	    
    
 
    
    sIFR.replace(crankMinus, {
      selector: 'blockquote'
	  ,wmode: 'transparent'
      ,css: [
        '.sIFR-root { color: #333333; }'
      ],
	  	tuneHeight:-4, offsetTop:-4
    });

    sIFR.replace(crankMinus, {
      selector: '.mainGreyHeading'
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
      ,css: [
        '.sIFR-root { color: #7F7F7F;}'
      ],
	  	tuneHeight:-2, offsetTop:-2
    });
	
    sIFR.replace(crankPlus, {
      selector: '.phoneNo span'
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
      ,css: [
        '.sIFR-root { color: #7F7F7F;letter-spacing:0.2}'
      ],
	  	tuneHeight:-2, offsetTop:-2
    });

    sIFR.replace(crankMinus, {
      selector: '.darkGreyHeading, div.address h4'
	  ,wmode: 'transparent'
      ,css: [
        '.sIFR-root { color: #333333;}'
      ],
	  	tuneHeight:0, offsetTop:0
    });
    
    sIFR.replace(crankMinus, {
      selector: 'h4.redSideHeading'
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
      ,css: [
        '.sIFR-root { color: #ef3e42;letter-spacing:0.2; }',
		'a { color: #ef3e42; text-decoration: none;}',
        'a:link { color: #ef3e42; }',
        'a:hover {color: #ff0000; }'
      ],
	  	tuneHeight:0, offsetTop:0
    });

    sIFR.replace(crankMinus, {
      selector: 'h4.greySideHeading'
	  ,wmode: 'transparent'
	  ,forceSingleLine: true
      ,css: [
        '.sIFR-root { color: #7F7F7F;letter-spacing:0.2; }',
		'a { color: #7F7F7F; text-decoration: none;}',
        'a:link { color: #7F7F7F; }',
        'a:hover {color: #767676; }'
      ],
	  	tuneHeight:0, offsetTop:0
    });
    
    sIFR.replace(crankMinus, {
      selector: 'div.offer-block h4'
	  ,wmode: 'transparent'
      ,css: [
        '.sIFR-root { color: #EF3E42;text-align: center; }'
      ],
	  	tuneHeight:0, offsetTop:0
    });	
	
    sIFR.replace(crankMinus, {
      selector: '.offer-block h5'
	  ,wmode: 'transparent'
      ,css: [
        '.sIFR-root { color: #000000;text-align: center; }'
      ],
	  	tuneHeight:0, offsetTop:0
    });		
}	
  
