
// 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;
sIFR.activate(cocon_pro_regular, cocon_pro_bold);
// Now we can do the replacements. You can do as many as you like, but just
// as an example, we'll replace all `<h1>` elements with the Futura movie.
// 
// The first argument to `sIFR.replace` is the `futura` object we created earlier.
// The second argument is another object, on which you can specify a number of
// parameters or "keyword arguemnts". For the full list, see "Keyword arguments"
// under `replace(kwargs, mergeKwargs)` at 
// <http://wiki.novemberborn.net/sifr3/JavaScript+Methods>.
// 
// The first argument you see here is `selector`, which is a normal CSS selector.
// That means you can also do things like '#content h1' or 'h1.title'.
//
// The second argument determines what the Flash text looks like. The main text
// is styled via the `.sIFR-root` class. Here we've specified `background-color`
// of the entire Flash movie to be a light grey, and the `color` of the text to
// be red. Read more about styling at <http://wiki.novemberborn.net/sifr3/Styling>.

sIFR.replace(cocon_pro_bold, {
   selector: '.pageProductsAccessories  .productsHomeBox h3',
   css: '.sIFR-root { leading: -4; color: #ecd3aa; }',
   selectable: false,
   wmode: 'transparent'
});

sIFR.replace(cocon_pro_bold, {
   selector: '.productsHomeBox h3',
   css: '.sIFR-root { leading: -8; letter-spacing: -1; background-color: #844f2e; color: #ecd3aa; }',
   selectable: false
});

sIFR.replace(cocon_pro_regular, {
   selector: '.groupProducts h2#pageTitle',
   css: ['.sIFR-root { font-family: CoconPro-Bold; leading: -8; color: #ecd3aa; }',
   '.span { font-family: CoconPro-Regular; leading: -8; color: #ecd3aa; }'],
   selectable: false,
   wmode: 'transparent'
});
sIFR.replace(cocon_pro_regular, {
   selector: '.pageProductsCalculator h2#pageTitle2',
   css: ['.sIFR-root { font-family: CoconPro-Bold; leading: -8; background-color: #844f2e; color: #e4b475; }',
   '.span { font-family: CoconPro-Regular; leading: -8; color: #e4b475; }'],
   selectable: false,
   wmode: 'opaque'
});

sIFR.replace(cocon_pro_regular, {
   selector: '.groupDevelopment h2#pageTitle',
   css: ['.sIFR-root { font-family: CoconPro-Bold; leading: -8; background-color: #6a7429; color: #2a3e0f; }',
   '.span { font-family: CoconPro-Regular; leading: -8; color: background-color: #6a7429; #2a3e0f; }'],
   selectable: false,
   wmode: 'opaque'
});

sIFR.replace(cocon_pro_bold, {
   selector: '.groupProducts h3#sectionTitle',
   css: '.sIFR-root { leading: -8; letter-spacing: -1; background-color: #844f2e; color: #ecd3aa; }',
   selectable: false
});

sIFR.replace(cocon_pro_bold, {
   selector: '.pageContact h2#pageTitle',
   css: '.sIFR-root { z-index:10; leading: -8; letter-spacing: -1; background-color: #D97F21; color: #9b4d2c; }',
   wmode:'transparent',
   selectable: false
});

sIFR.replace(cocon_pro_regular, {
   selector: '.pageContact .contact p.info',
   css: '.sIFR-root { leading: -8; background-color: #D97F21; color: #fffadc; }',
   wmode:'transparent',
   selectable: false
});

sIFR.replace(cocon_pro_bold, {
   selector: '.pageContact .contact p.title',
   css: '.sIFR-root { leading: -8; background-color: #D97F21; color: #fffadc; }',
   wmode:'transparent',
   selectable: false,
   tuneHeight: -10
});
sIFR.replace(cocon_pro_bold, {
   selector: '.pageContact .form p.formTitle',
   css: '.sIFR-root { leading: -8; background-color: #D97F21; color: #fffadc; }',
   wmode:'transparent',
   selectable: false
});
sIFR.replace(cocon_pro_bold, {
   selector: '.pagePress h2#pageTitle',
   css: '.sIFR-root { leading: -8; letter-spacing: -1; color: #97431A; }',
   selectable: false,
   wmode: 'transparent'
});
sIFR.replace(cocon_pro_bold, {
   selector: '.pagePress .documents h3',
   css: '.sIFR-root { leading: -8; background-color: #d66a27; color: #fff9dc; }',
   wmode: 'transparent',
   selectable: false
});
sIFR.replace(cocon_pro_bold, {
   selector: '.pageAbout h2#pageTitle',
   css: '.sIFR-root { leading: -8; color: #653149; }',
   selectable: false,
   wmode: 'transparent'
});
sIFR.replace(cocon_pro_bold, {
   selector: '.pageAbout .bottomMenu li h3',
   css: '.sIFR-root { leading: -8; color: #653149; }',
   selectable: false,
   wmode: 'transparent'
});
sIFR.replace(cocon_pro_bold, {
   selector: '.groupJobs .applicationForm h3',
   css: '.sIFR-root { leading: -8; background-color: #a8948d; color: #fff9dc; }',
   selectable: false
});
sIFR.replace(cocon_pro_bold, {
   selector: '.pageJobsOffers h2#pageTitle',
   css: '.sIFR-root { leading: -8; background-color: #b1968b; color: #7b6460; }',
   selectable: false,
   wmode: 'opaque'
});
/*
sIFR.replace(cocon_pro_bold, {
   selector: '.pageJobsOffers .cvBox h3.header',
   css: '.sIFR-root { leading: -8; background-color: #7b635f; color: #b1948a; }',
   selectable: false
});*/
sIFR.replace(cocon_pro_bold, {
   selector: '.pageStoresHome h2#pageTitle',
   css: '.sIFR-root { leading: -8; background-color: #755f76; color: #d7b278; }',
   selectable: false,
   wmode: 'opaque'
});

sIFR.replace(cocon_pro_bold, {
   selector: '.pageStoresHome .rightBox h3.header',
   css: '.sIFR-root { leading: -8; background-color: #624462; color: #e3b576; }',
   selectable: false,
   wmode: 'opaque'
});
sIFR.replace(cocon_pro_bold, {
   selector: '.pageStoresMap h2#pageTitle',
   css: '.sIFR-root { leading: -8; background-color: #755f76; color: #d7b278; }',
   selectable: false
});
sIFR.replace(cocon_pro_bold, {
   selector: '.pageStoresMap .rightBox h3.header',
   css: '.sIFR-root { leading: -8; background-color: #624462; color: #e3b576; }',
   selectable: false
});

//sIFR.replace(cocon_pro_bold, {
//   selector: 'h3.infoboxheader',
//   css: '.sIFR-root { leading: -8; background-color: #7a5e77; color: #e3b576; }',
//   selectable: false
//});

//sIFR.replace(cocon_pro_bold, {
//    selector: 'h3.infoboxheader',
//    css: '.sIFR-root { leading: -8; background-color: #7a5e77; color: #e4b474; }',
//    selectable: false,
//    autoInitialize: false,
//    setPrefetchCookie: false,
//    useDomLoaded: false,
//    useStyleCheck: true,
//    repaintOnResize: true
// });

sIFR.replace(cocon_pro_bold, {
   selector: '.groupJobs h2#pageTitle',
   css: '.sIFR-root { leading: -8; background-color: #b1968b; color: #7b6460; }',
   wmode:'opaque',
   selectable: false
});
sIFR.replace(cocon_pro_bold, {
   selector: '.groupJobs .bottomMenu h3',
   css: '.sIFR-root { leading: -8; background-color: #b1968b; color: #7b6460; }',
   wmode:'opaque',
   selectable: false
});
sIFR.replace(cocon_pro_bold, {
   selector: '.pageJobsOffers h3.header',
   css: '.sIFR-root { leading: -8; background-color: #7b635f; color: #b1958a; }',
   wmode:'opaque',
   selectable: false
});

sIFR.replace(cocon_pro_bold, {
   selector: '.pageJobsAsk .form p.formTitle',
   css: '.sIFR-root { leading: -8; background-color: #b1968b; color: #fffbda; }',
   wmode:'opaque',
   selectable: false
});
sIFR.replace(cocon_pro_bold, {
   selector: '.groupCoffee h2#pageTitle',
   css: '.sIFR-root { leading: -8; background-color: #551c01; color: #D7B278; }',
   wmode:'opaque',
   selectable: false
});


//sIFR.replace(cocon_pro_regular, {
//  selector: '#calculatorBox h3',
//  css: '.sIFR-root { background-color: #844f2e; color: #ecd3aa; }'
//});

//sIFR.replace(cocon_pro, {
//  selector: 'div',
//  css: '.sIFR-root { background-color: #333344; color: #eeeedd; }'
//});