// JavaScript Document
var avant = {
    src: flashPath+'ITC Avant Garde.swf'
};

var avantSmall = {
    src: flashPath+'ITC Avant Garde xlt.swf'
};

sIFR.useStyleCheck = true;
sIFR.activate(avant, avantSmall);

sIFR.replace(avant, {
    selector: '#homeContent h2,  #contentProducten h4,  #contentProductenBottom h4'
    ,css: ['.sIFR-root { color: #1e419b; font-size: 18px;}']
    ,wmode: 'transparent'
	,selectable: false
}); 

sIFR.replace(avant, {
    selector: '#contentLeft h4'
    ,css: ['.sIFR-root { color: #1e419b; font-size: 18px;} .sIFR-root a { color: #1e419b; text-decoration: none;} .sIFR-root a:hover { color: #45494a; text-decoration: none;}  ']
    ,wmode: 'transparent'
	,selectable: false
});

sIFR.replace(avant, {
    selector: '#contentText h1'
    ,css: ['.sIFR-root { color: #1e419b; font-size: 24px;}']
    ,wmode: 'transparent'
	,selectable: false
}); 

sIFR.replace(avant, {
    selector: '#contentRight h1'
    ,css: ['.sIFR-root { color: #1e419b; font-size: 30px;}']
    ,wmode: 'transparent'
	,selectable: false
}); 

sIFR.replace(avant, {
    selector: '.productUl li'
    ,css: ['.sIFR-root { color: #7d7873; font-size: 16px;}']
    ,wmode: 'transparent'
	,selectable: false
}); 

sIFR.replace(avant, {
    selector: '.familyBlock h4, #productText h2, #consumerServiceText h4, #consumerServiceForm h4'
    ,css: ['.sIFR-root { color: #1e419b; font-size: 21px;}']
    ,wmode: 'transparent'
	,selectable: false
}); 

sIFR.replace(avant, {
    selector: '.contentBanner h4'
    ,css: ['.sIFR-root { color: #64b946; font-size: 18px;}']
    ,wmode: 'transparent'
	,selectable: false
}); 

sIFR.replace(avant, {
    selector: '#contentRight h2'
    ,css: ['.sIFR-root { color: #3e7437; font-size: 18px;}']
    ,wmode: 'transparent'
	,selectable: false
}); 

function applyCarouselSifr() {					
	sIFR.replace(avant, {
	    selector: '.carouselTextLarge'
	    ,css: ['.sIFR-root { color: #ffffff; font-size: 18px;}']
	    ,wmode: 'transparent'
		,selectable: false
	}); 
	
	sIFR.replace(avantSmall, {
	    selector: '.carouselTextSmall'
	    ,css: ['.sIFR-root { color: #ffffff; font-size: 18px;}']
	    ,wmode: 'transparent'
		,selectable: false
	});			
}