if (!/MSIE (6|7)/.test(navigator.userAgent)) {

	var AvantGarBoo = { src: '/scripts/sifr3/AvantGarBoo.swf' };
	var AvantGarExtLig = { src: '/scripts/sifr3/AvantGarExtLig.swf' };

	sIFR.useStyleCheck = true;
	sIFR.activate(AvantGarExtLig);

	/* HOME - Etiquettes matelas */
	sIFR.replace(AvantGarExtLig, {
		selector: '.home #gamme .items li span',
		offsetLeft: 10,
		tuneHeight: 124,
		modifyContentString: function addBR(content, selector) { return content.replace('">', '"><br/>') },
		css: ['.sIFR-root {color: #FFFFFF;background-color: #000000;}',
	        'a {text-decoration:none; color:#ffffff;leading:95;}',
	        'a:hover {color:#c22921}'],
		selectable: false,
		transparent: true
	});

	/* CARREFOURS - h1 */
	sIFR.replace(AvantGarExtLig, {
		selector: '.carrefour #title h1',
		css: '.sIFR-root {color: #FFFFFF;background-color: #000000;leading:-5;}',
		fitExactly: true,
		selectable: true,
		transparent: true
	});

	/* CARREFOURS - h2 */
	sIFR.replace(AvantGarExtLig, {
		selector: '.carrefour #title h2',
		css: '.sIFR-root {color: #FFFFFF;background-color: #000000;text-transform:lowercase}',
		fitExactly: true,
		selectable: true,
		transparent: true
	});

	/*  h1 + h2 (hors carrefours) */
	sIFR.replace(AvantGarExtLig, {
		selector: 'h1,h2',
		css: '.sIFR-root {color: #4b4337;background-color: #FFFFFF;}',
		fitExactly: true,
		selectable: true,
		transparent: true
	});

	/* NAV1 - Titre rubrique 1 */
	sIFR.replace(AvantGarExtLig, {
		selector: '#nav1 #sec1',
		offsetLeft: 10,
		modifyContentString: function addBR(content, selector) { return content.replace('</a>', '<br/><br/><br/></a>') },		
		css: ['.sIFR-root {color: #4b4337;background-color: #FFFFFF;leading:-5;cursor: pointer;}',
	        'a {text-decoration:none;color:#4b4337;}',
	        'a:hover {color:#c22921}'],
		selectable: true,
		transparent: true
    });

    /* NAV1 - Titre rubrique 1-2 */
    sIFR.replace(AvantGarExtLig, {
        selector: '#nav1 #sec1-2',
        offsetLeft: 10,
        offsetTop: 36,        
        modifyContentString: function addBR(content, selector) { return content.replace('</a>', '<br/></a>') },
        css: ['.sIFR-root {color: #4b4337;background-color: #FFFFFF;leading:-5;cursor: pointer;}',
	            'a {text-decoration:none;color:#4b4337;}',
	            'a:hover {color:#c22921}'],
        selectable: true,
        transparent: true
    });

	/* NAV1 - Titre rubrique 2 */
	sIFR.replace(AvantGarExtLig, {
		selector: '#nav1 #sec2',
		offsetLeft: 10,
		modifyContentString: function addBR(content, selector) { return content.replace('</a>', '<br/><br/><br/><br/><br/></a>') },		
		css: ['.sIFR-root {color: #4b4337;background-color: #FFFFFF;leading:-5;cursor: pointer;}',
	        'a {text-decoration:none;color:#4b4337}',
	        'a:hover {color:#c22921}'],
		selectable: true,
		transparent: true
	});	

	/* NAV1 - Titre rubrique 3 */
	sIFR.replace(AvantGarExtLig, {
	    selector: '#nav1 #sec3',
	    offsetLeft: 10,
	    modifyContentString: function addBR(content, selector) { return content.replace('</a>', '<br/><br/><br/><br/><br/></a>'); },	    
	    css: ['.sIFR-root {color: #4b4337;background-color: #FFFFFF;leading:-5;cursor: pointer;}',
	        'a {text-decoration:none;color:#4b4337;font-size:92%;}',
	        'a:hover {color:#c22921}'],
	    selectable: true,
	    transparent: true
	});
}
