/*****************************************************************************
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 rockwellextrabold = { src: '/UI/flash/rockwellextrabold.swf' };
var rockwellbold = { src: '/UI/flash/rockwellbold.swf' };
var rockwell = { src: '/UI/flash/rockwell.swf' };

// Now you can set some configuration settings.
// See also <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>.
// One setting you probably want to use is `sIFR.useStyleCheck`. Before you do that,
// read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.

sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(rockwellextrabold, rockwellbold, rockwell);


// For the full list of arguments, see "Keyword arguments"
// under `replace(kwargs, mergeKwargs)` at 
// <http://wiki.novemberborn.net/sifr3/JavaScript+Methods>.
// Read more about styling at <http://wiki.novemberborn.net/sifr3/Styling>.

sIFR.replace(rockwellextrabold, {
  selector: '#callouts .callout .header h2'
  ,fixHover:true
  ,css: ['.sIFR-root { color: #ed1b2e; text-transform:uppercase; text-align:center }',
        'a { color: #ed1b2e; text-transform:uppercase; text-align:center; text-decoration: none; cursor: pointer; }', 
        'a:hover { color: #ed1b2e; text-transform:uppercase; text-align:center; text-decoration: underline; cursor: pointer; }'
    ]
	,wmode: 'transparent'
	,tuneHeight: '-6'
	,offsetTop: '-1'
});

sIFR.replace(rockwellextrabold, {
  selector: 'p.intro span',
  css: '.sIFR-root { color: #ed1b2e; }'
	,wmode: 'transparent'
	,offsetTop: '1'
});

sIFR.replace(rockwellbold, {
  selector: '#productlist .producttype h2',
  css: '.sIFR-root { color: #ffffff; }'
	,wmode: 'transparent'
	,offsetTop: '2'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
  selector: '#contactlist .contacttype h2',
  css: '.sIFR-root { color: #ffffff; }'
	,wmode: 'transparent'
	,offsetTop: '2'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
  selector: '.history h2',
  css: '.sIFR-root { color: #ffffff; }'
	,wmode: 'transparent'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
  selector: '.recipelanding h2'
  ,fixHover:true
  ,css: ['.sIFR-root { color: #ffffff }',
        'a { color: #ffffff; text-decoration: none; cursor: pointer; }', 
        'a:hover { color: #ffffff; text-decoration: underline; cursor: pointer; }'
    ]
	,wmode: 'transparent'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
    selector: '.recipecategorypage #recipelist h2'
    ,fixHover:true
    ,css: ['.sIFR-root { color: #ffffff }',
        'a { color: #ffffff; text-decoration: none; cursor: pointer; }', 
        'a:hover { color: #ffffff; text-decoration: underline; cursor: pointer; }'
    ]
    ,wmode: 'transparent'
    ,filters: {
      DropShadow: {
        knockout: false
        ,distance: 2
        ,color: '#000000'
        ,strength: 1
		    ,alpha: .53
		    ,angle: 90
      }
    }
});

sIFR.replace(rockwellbold, {
  selector: '.wheretobuy h2',
  css: '.sIFR-root { color: #ffffff; }'
	,wmode: 'transparent'
	,offsetTop: '2'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
  selector: '.contact #maincol h2',
  css: '.sIFR-root { color: #ffffff; }'
	,wmode: 'transparent'
	,offsetTop: '2'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
  selector: '.contact #sidebar h2',
  css: '.sIFR-root { color: #ffffff; }'
	,wmode: 'transparent'
	,offsetTop: '2'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
  selector: '.contactconfirmation #contactthanks h3',
  css: '.sIFR-root { color: #ffffff; }'
	,wmode: 'transparent'
	,offsetTop: '2'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
  selector: '.privacy #maincol h2',
  css: '.sIFR-root { color: #ffffff; text-transform:uppercase }'
	,wmode: 'transparent'
	,offsetTop: '2'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
  selector: '.sitemap h2',
  css: '.sIFR-root { color: #ffffff; }'
	,wmode: 'transparent'
	,offsetTop: '2'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
  selector: '.error h2',
  css: '.sIFR-root { color: #ffffff; }'
	,wmode: 'transparent'
	,offsetTop: '2'
	,filters: {
	  DropShadow: {
	    knockout: false
	    ,distance: 2
	    ,color: '#000000'
	    ,strength: 1
			,alpha: .53
			,angle: 90
	  }
	}
});

sIFR.replace(rockwellbold, {
  selector: 'h2#faqheader',
  css: '.sIFR-root { color: #76593f; }'
	,wmode: 'transparent'
	,tuneHeight: '-4'
});

sIFR.replace(rockwellextrabold, {
  selector: '.recipes #categorybanner h2',
  css: '.sIFR-root { color: #6c4e36; }'
	,wmode: 'transparent'
	,tuneHeight: '-6'
});

sIFR.replace(rockwell, {
  selector: '#productlist .producttype h3',
  css: '.sIFR-root { color: #ffffff; text-align:center; font-weight:bold}'
	,wmode: 'transparent'
	,tuneHeight: '-4'
});

