var journal = {
	src: '/flash/journal.swf'
	,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
};

var futura = {
	src: '/flash/futura.swf'
	,ratios: [6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 59, 1.2, 68, 1.19, 69, 1.2, 96, 1.19, 97, 1.18, 102, 1.19, 103, 1.18, 107, 1.19, 108, 1.18, 112, 1.19, 114, 1.18, 116, 1.19, 120, 1.18, 121, 1.19, 1.18]
};

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
// sIFR.useStyleCheck = true;
sIFR.activate(journal, futura);

sIFR.replace(journal, {
	selector: '#news h2, #featured-recipe h2, #home-products h2, #main-products h2, .recipe-book h2, #co h3, #trade h3'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#d95c05; font-size:30px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: 'h4.video'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#d95c05; font-size:20px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

//side boxes
sIFR.replace(journal, {
	selector: '#fairtrade h4, #organic h4, #biodynamic h4, #trade-account h4'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#ffffff; font-size:24px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

//side box newletter
sIFR.replace(journal, {
	selector: '#newsletter h4'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#ffffff; font-size:24px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: '#contact h2'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#d95c05; font-size:26px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});


//article shop home
sIFR.replace(journal, {
	selector: '#article-shophome h3'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#d95c05; font-size:36px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

//article main
sIFR.replace(journal, {
	selector: '#article-generic h3, #article-midcolumn h3'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#d95c05; font-size:45px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #d95c05; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

//top headline
	sIFR.replace(futura, {
	selector: '#article-generic h2, #article-shop h2, #article-shophome h2'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; color:#000000; text-transform:uppercase; font-size:16px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

//
	sIFR.replace(futura, {
	selector: '#product-detail-desc h4, #article-midcolumn h4'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; color:#000000; font-size:16px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

/******************************************************************************/
/* Bart                                                                       */
/******************************************************************************/

sIFR.replace(journal, {
	selector: '#article-shop h3.bart'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#d95c05; font-size:45px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: '#home-products h4.bart, #main-products h4.bart'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#d95c05; font-size:26px;}'
	],wmode: 'transparent'
});

/******************************************************************************/
/* Delicatessen                                                               */
/******************************************************************************/

sIFR.replace(journal, {
	selector: '#article-shop h3.delicatessen'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#7aa2ae; font-size:45px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: '#home-products h4.delicatessen, #main-products h4.delicatessen'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#7aa2ae; font-size:26px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: 'p.delicatessen, span.delicatessen'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#7aa2ae; font-size:20px;}'
	],wmode: 'transparent'
});

/******************************************************************************/
/* Las Iguanas                                                                */
/******************************************************************************/

sIFR.replace(journal, {
	selector: '#article-shop h3.lasiguanas'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#dd501b; font-size:45px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: '#home-products h4.lasiguanas, #main-products h4.lasiguanas'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#dd501b; font-size:26px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: 'p.lasiguanas, span.lasiguanas'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#dd501b; font-size:20px;}'
	],wmode: 'transparent'
});

/******************************************************************************/
/* Veeraswami                                                                 */
/******************************************************************************/

sIFR.replace(journal, {
	selector: '#article-shop h3.veeraswamy'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#962a8d; font-size:45px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: '#home-products h4.veeraswamy, #main-products h4.veeraswamy'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#962a8d; font-size:26px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: 'p.veeraswamy, span.veeraswamy'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#962a8d; font-size:20px;}'
	],wmode: 'transparent'
});

/******************************************************************************/
/* Hanbury                                                                    */
/******************************************************************************/

sIFR.replace(journal, {
	selector: '#article-shop h3.hanbury'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#1c3e94; font-size:45px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: '#home-products h4.hanbury, #main-products h4.hanbury'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#1c3e94; font-size:26px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: 'p.hanbury, span.hanbury'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#1c3e94; font-size:20px;}'
	],wmode: 'transparent'
});

/******************************************************************************/
/* Blue Elephant                                                              */
/******************************************************************************/

sIFR.replace(journal, {
	selector: '#article-shop h3.blueelephant'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#0a2769; font-size:45px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: '#home-products h4.blueelephant, #main-products h4.blueelephant'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#0a2769; font-size:26px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: 'p.blueelephant, span.blueelephant'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#0a2769; font-size:20px;}'
	],wmode: 'transparent'
});

/******************************************************************************/
/* Gifts                                                                      */
/******************************************************************************/

sIFR.replace(journal, {
	selector: '#article-shop h3.gifts'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#000000; font-size:45px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: '#home-products h4.gifts, #main-products h4.gifts'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#000000; font-size:26px;}'
	],wmode: 'transparent'
});

sIFR.replace(journal, {
	selector: 'p.gifts, span.gifts'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#000000; font-size:20px;}'
	],wmode: 'transparent'
});

/******************************************************************************/
/*                                                                            */
/******************************************************************************/

//article sub category
sIFR.replace(journal, {
	selector: '#article-shop h3 span'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#000000; font-size:45px;}'
	],wmode: 'transparent'
});

//footer
sIFR.replace(futura, {
	selector: '#footer h3'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; color:#ffffff; text-transform:uppercase; font-size:16px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

//sidebar
sIFR.replace(futura, {
	selector: '#fairtrade h3, #organic h3, #biodynamic h3, #trade-account h3'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; color:#d95c05; text-transform:uppercase; font-size:16px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

sIFR.replace(futura, {
	selector: '#newsletter h3'
	,css: [
		'.sIFR-root {text-align: left; font-weight: normal; color:#ffffff; text-transform:uppercase; font-size:16px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #000000; }'
		,'a:hover { color: #CCCCCC; }'
	],wmode: 'transparent'
});

// price
sIFR.replace(journal, {
	selector: 'p.price, span.spanprice'
	,css: [
		'.sIFR-root { text-align: left; font-weight: normal; color:#d95c05; font-size:20px;}'
		,'a { text-decoration: none; }'
		,'a:link { color: #d95c05; }'
		,'a:hover { color: #d95c05; }'
	],wmode: 'transparent'
});
