/*****************************************************************************
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.
*****************************************************************************/

///ROCKWOOL
/// /Files/Maison-respekt/flash/

var dinmedium = {
      src: '/Files/Maison-respekt/flash/dinmedium.swf'
    };
var dinbold = {
      src: '/Files/Maison-respekt/flash/dinbold.swf'
    };
var lucida = {
      src: '/Files/Maison-respekt/flash/lucida-grande.swf'
    };

    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    sIFR.useStyleCheck = true;
    sIFR.activate(dinmedium, dinbold, lucida);



    sIFR.replace(dinmedium, {
      selector: '#menu h1'
      ,css: [
        '.sIFR-root {color: #868789; cursor:pointer; font-size:18px;}'
       ,'a {color:#868789;font-size:18px;}'
       ,'a:link {text-decoration:none;color:#868789;font-size:18px;}'
       ,'a:hover {text-decoration:none; color:#868789;font-size:18px;border-bottom:6px solid #a6c633; }'
      ]
      ,wmode: 'transparent'
      ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: '#galerie_top h1'
      ,css: [
        '.sIFR-root { color: #ffffff; font-size:22px; }'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinmedium, {
      selector: '#galerie_top h2'
      ,css: [
        '.sIFR-root { color: #ffffff; font-size:12px; }'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: 'h3.style1'
      ,css: [
        '.sIFR-root { color: #a6c633; font-size:16px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: 'h3.style2'
      ,css: [
        '.sIFR-root { color: #ffffff; font-size:16px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: 'h3.style3'
      ,css: [
        '.sIFR-root { color: #a6c633; font-size:30px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: 'h3.style4'
      ,css: [
        '.sIFR-root { color: #3e3e3e; font-size:10px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: 'h3.style5'
      ,css: [
        '.sIFR-root { color: #ffffff; font-size:12px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: 'h3.style6'
      ,css: [
        '.sIFR-root { color: #999999; font-size:12px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: '#zoomproduit h5.zoomproduit'
      ,css: [
         '.sIFR-root { color: #3e3e3e; font-size:20px; font-weight:bold;text-transform:uppercase;}'
        ,'a { color: #3e3e3e; font-size:20px; font-weight:bold;text-transform:uppercase;text-decoration:none;}'
        ,'a:hover { color: #3e3e3e; font-size:20px; font-weight:bold;text-decoration:none;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: '#zoomprojet h5.zoomproj'
      ,css: [
         '.sIFR-root { color: #3e3e3e; font-size:20px; font-weight:bold;text-transform:uppercase;}'
        ,'a { color: #3e3e3e; font-size:20px; font-weight:bold;text-transform:uppercase;text-decoration:none;}'
        ,'a:hover { color: #3e3e3e; font-size:20px; font-weight:bold;text-decoration:none;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: 'h4.style1'
      ,css: [
        '.sIFR-root { color: #999999; font-size:9px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: 'h4.style2'
      ,css: [
        '.sIFR-root { color: #3e3e3e; font-size:12px; }'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: 'h4.style3'
      ,css: [
        '.sIFR-root { color: #3e3e3e; font-size:13px; }'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

	sIFR.replace(dinbold, {
      selector: '#contactpresse.liste h3'
      ,css: [
        '.sIFR-root { color: #999999; font-size:21px; font-weight:bold; text-transform:uppercase; }'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: '#contactpresse h3'
      ,css: [
        '.sIFR-root { color: #757475; font-size:21px; font-weight:bold; text-transform:uppercase; }'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

	sIFR.replace(dinbold, {
      selector: '#contactpresse.liste h2'
      ,css: [
        '.sIFR-root { color: #a6c633; font-size:16px; font-weight:bold; text-transform:uppercase; }'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: 'h4.style4'
      ,css: [
        '.sIFR-root { color: #3e3e3e; font-size:10px; }'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: 'h4.style5'
      ,css: [
        '.sIFR-root { color: #3e3e3e; font-size:16px;text-transform:uppercase;}'
        ,'a { color: #3e3e3e; font-size:16px;text-decoration:none;text-transform:uppercase;}'
        ,'a:hover { color: #3e3e3e; font-size:16px;text-decoration:none;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: 'h4.style6'
      ,css: [
        '.sIFR-root { color: #ffffff; font-size:30px;text-transform:uppercase;}'
        ,'a { color: #ffffff; font-size:30px;text-decoration:none;text-transform:uppercase;}'
        ,'a:hover { color: #ffffff; font-size:30px;text-decoration:none;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });


    sIFR.replace(lucida, {
      selector: '#forum h5'
      ,css: [
        '.sIFR-root { color: #667a20; font-size:14px; font-weight:bold;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: 'h5.style1'
      ,css: [
        '.sIFR-root { color: #333333; font-size:14px;text-transform:uppercase;}'
        ,'a { text-decoration: none; color: #333333;text-transform:uppercase; }'
        ,'a:hover { text-decoration: none; color: #3e3e3e;text-transform:uppercase; }'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: 'h5.style2'
      ,css: [
         '.sIFR-root { color: #ffffff; font-size:14px;text-transform:uppercase;}'
        ,'a { text-decoration: none; color: #ffffff;text-transform:uppercase; }'
        ,'a:hover { text-decoration: none; color: #ffffff;text-transform:uppercase; }'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    /*sIFR.replace(dinmedium, {
      selector: '#footer #infooter span a'
      ,css: [
        '.sIFR-root { color: #999999; font-size:10px; cursor:pointer;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });*/

    sIFR.replace(dinmedium, {
      selector: '#footer #infooter span h4'
      ,css: [
        '.sIFR-root { color: #999999; font-size:10px; cursor:pointer;}'
        ,'a {color: #999999; font-size:10px; cursor:pointer; text-decoration:none;}'
        ,'a:link {color: #999999; font-size:10px; cursor:pointer; text-decoration:none;}'
        ,'a:hover {color: #A6C633; font-size:10px; cursor:pointer; text-decoration:none;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinmedium, {
      selector: '#intro_page h1'
      ,css: [
        '.sIFR-root { color: #ffffff; font-size:14px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: 'h2.style1'
      ,css: [
        '.sIFR-root { color: #ffffff; font-size:48px;text-transform:uppercase;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinmedium, {
      selector: '#intro_page2 h1'
      ,css: [
        '.sIFR-root { color: #dddddd; font-size:14px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: '#intro_page2 h3'
      ,css: [
        '.sIFR-root { color: #363636; font-size:18px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: '#article_premier .intro h4'
      ,css: [
        '.sIFR-root { color: #737373; font-size:12px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: '#article_premier .intro h2'
      ,css: [
        '.sIFR-root { color: #ffffff; font-size:18px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinbold, {
      selector: '#article_premier .intro h1'
      ,css: [
        '.sIFR-root { color: #a7c531; font-size:24px;}'
        ,'a {color: #a7c531; font-size:24px; cursor:pointer; text-decoration:none;}'
        ,'a:link {color: #a7c531; font-size:24px; cursor:pointer; text-decoration:none;}'
        ,'a:hover {color: #a7c531; font-size:24px; cursor:pointer; text-decoration:none;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });


    sIFR.replace(lucida, {
      selector: '#actualites_liste h5'
      ,css: [
         '.sIFR-root { color: #333333; font-size:14px; text-transform:uppercase;}'
        ,'a {color: #333333; font-size:14px; cursor:pointer; text-decoration:none;}'
        ,'a:link {color: #333333; font-size:14px; cursor:pointer; text-decoration:none;}'
        ,'a:hover {color: #333333; font-size:14px; cursor:pointer; text-decoration:none;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: '#actualites_liste h4'
      ,css: [
        '.sIFR-root { color: #999999; font-size:11px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: '#actualites_liste h1'
      ,css: [
        '.sIFR-root { color: #A6C633; font-size:26px;font-weight:bold;text-transform:uppercase;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(dinmedium, {
      selector: '#actualites_liste h2'
      ,css: [
        '.sIFR-root { color: #000; font-size:18px;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

    sIFR.replace(lucida, {
      selector: '#produit_une h5, .bloc_projet_live h5, .bloc_projet h5'
      ,css: [
         '.sIFR-root { color: #ffffff; font-size:12px;}'
        ,'a {color: #ffffff; font-size:12px; cursor:pointer; text-decoration:none;}'
        ,'a:link {color: #ffffff; font-size:12px; cursor:pointer; text-decoration:none;}'
        ,'a:hover {color: #ffffff; font-size:12px; cursor:pointer; text-decoration:none;}'
      ]
      ,wmode: 'transparent'
	  ,selectable: true
    });

