/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/

var avenir35 = {
  src: 'http://www.astrumsolar.com/flash/Avenir-35.swf'
};

var avenir55 = {
  src: 'http://www.astrumsolar.com/flash/Avenir-55.swf'
};

var avenir65 = {
  src: 'http://www.astrumsolar.com/flash/Avenir-65.swf'
};

sIFR.delayCSS  = true;
sIFR.activate(avenir35, avenir55, avenir65);

sIFR.replace(avenir55, {
  selector: 'asdf #BodyText #SlideContainer h2'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #519643; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #000000; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir35, {
  selector: '#BodyText #FullColSecondary h2'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #4D4D4D; leading: 0; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #000000; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (-3)
});

sIFR.replace(avenir65, {
  selector: '#BodyText #CaseStudyTitleLeft h2'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #666666; leading: 0; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #000000; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (-3)
});

sIFR.replace(avenir65, {
  selector: '#BodyText #CalculatorFrame h2.green'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #91C73E; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (100)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir65, {
  selector: '#BodyText #CalculatorFrame h2'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #5f5f5f; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (100)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir65, {
  selector: '#BodyText #CalculatorFrame #NextStep h3'
  ,css: [
    '.sIFR-root { font-size: 21px; font-weight: normal; color: #519643; leading: 3; letter-spacing: 1.0; text-transform: none; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #000000; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (100)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir65, {
  selector: '#BodyText #MainColSecondary h3, #BodyText #CalculatorFrame h3, #BodyText #FullColSecondaryContent h3'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #519643; leading: 3; letter-spacing: 1.5; text-transform: uppercase; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #000000; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (200)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir65, {
  selector: '#BodyText #SpecialOffer h4'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #ffffff; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (200)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir65, {
  selector: '#BodyText #ExploreTheSiteFirst h4'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #519643; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (200)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir65, {
  selector: '#BodyText #StraightToSolarCalculator h4'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #00B0D8; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (200)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});



sIFR.replace(avenir65, {
  selector: '#BodyText h4#ChooseYourGift'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #666666; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (200)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir65, {
  selector: '#BodyText .halfcolleft h4, #BodyText .halfcolright h4'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #666666; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (200)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir65, {
  selector: '#BodyText .halfcolleft h4, #BodyText .halfcolright h4'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #666666; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (100)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir65, {
  selector: '#BodyText #MainColSecondary h4, #BodyText #FullColSecondaryContent h4'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #4D4D4D; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (100)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

/*
sIFR.replace(avenir65, {
  selector: '#BodyText h4'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #4D4D4D; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #000000; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, tuneHeight: (0)
	, thickness: (100)
	, wmode: 'transparent'
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});
*/

sIFR.replace(avenir65, {
  selector: '#BodyText #MainColSecondary h5'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #519643; leading: 0; text-transform: uppercase; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (200)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});

sIFR.replace(avenir65, {
  selector: '#BodyText .intro p'
  ,css: [
    '.sIFR-root { font-weight: normal; color: #91C73E; leading: 3; }'
    ,'a { text-decoration: none; }'
    ,'a:link { color: #74B64A; }'
    ,'a:hover { color: #CCCCCC; }'
  ]
	, wmode: 'transparent'
	, tuneHeight: (0)
	, thickness: (100)
	, ratios: [9, 1.27, 14, 1.19, 21, 1.16, 28, 1.13, 38, 1.12, 53, 1.11, 60, 1.1, 61, 1.11, 94, 1.1, 96, 1.09, 101, 1.1, 102, 1.09, 103, 1.1, 108, 1.09, 110, 1.1, 1.09]
});