var lemons = {
    src: flashPath+'LemonsCanFly.swf'
};
var valerie = {
    src: flashPath+'ValerieHand.swf'
};
var androgyne = {
    src: flashPath+'Androgyne.swf'
};


sIFR.useStyleCheck = true;
sIFR.activate(lemons,valerie,androgyne);

sIFR.replace(valerie, {
    selector: '.treatsOverview .textblock_content h3'
    ,css: ['.sIFR-root { color: #e3017c; font-size: 42px; text-transform: uppercase;}']
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
    selector: '.creationsOverview .textblock_content h3'
    ,css: ['.sIFR-root { color: #ff6600; font-size: 42px; text-transform: uppercase;}']
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
    selector: '.partyOverview .textblock_content h3, .invitationOverview .textblock_content h3'
    ,css: ['.sIFR-root { color: #0074cd; font-size: 42px; text-transform: uppercase;}']
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
    selector: '.inspirationOverview .textblock_content h3'
    ,css: ['.sIFR-root { color: #8cba1e; font-size: 42px; text-transform: uppercase;}.sIFR-root a { color: #8CBA1E; text-decoration: none; } .sIFR-root a:hover { color: #8CBA1E; text-decoration: none; }']
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(androgyne, {
    selector: '.inspirationOverview .monthBlock h4'
    ,css: ['.sIFR-root { color: #8cba1e; font-size: 28px; text-transform: lowercase;}']
	,tuneHeight: -5
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
    selector: '.inspirationOverview .monthBlock em'
    ,css: ['.sIFR-root { color: #8cba1e; font-size: 34px; text-transform: uppercase;}']
	,tuneHeight: -8
    ,wmode: 'transparent'
	,selectable: true
});

/* sideblock*/

sIFR.replace(valerie, {
	selector: '.treatsOverview .sideblockTop h5, .treatsOverview #filterContent h5'
	,css: ['.sIFR-root { color: #e3017c; font-size: 36px; text-transform: uppercase} .sIFR-root a { color: #e3017c; text-decoration: none; } .sIFR-root a:hover { color: #e3017c; text-decoration: none; }']
	,wmode: 'transparent'
	,selectable: true
}); 

sIFR.replace(valerie, {
	selector: '.creationsOverview .sideblockTop h5, .creationsOverview #filterContent h5'
	,css: ['.sIFR-root { color: #ff6600; font-size: 36px; text-transform: uppercase} .sIFR-root a { color: #ff6600; text-decoration: none; } .sIFR-root a:hover { color: #ff6600; text-decoration: none; }']
	,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
	selector: '.partyOverview .sideblockTop h5, .invitationOverview .sideblockTop h5, .partyOverview #filterContent h5'
	,css: ['.sIFR-root { color: #0074cd; font-size: 36px; text-transform: uppercase} .sIFR-root a { color: #0074cd; text-decoration: none; } .sIFR-root a:hover { color: #0074cd; text-decoration: none; }']
	,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
	selector: '.inspirationOverview .sideblockTop h5, .inspirationOverview #filterContent h5'
	,css: ['.sIFR-root { color: #8cba1e; font-size: 36px; text-transform: uppercase} .sIFR-root a { color: #8cba1e; text-decoration: none; } .sIFR-root a:hover { color: #8cba1e; text-decoration: none; }']
	,wmode: 'transparent'
	,selectable: true
});


sIFR.replace(valerie, {
	selector: '.sideblockTop h5'
	,css: ['.sIFR-root { color: #1F3588; font-size: 36px; text-transform: uppercase} .sIFR-root a { color: #1F3588; text-decoration: none; } .sIFR-root a:hover { color: #1F3588; text-decoration: none; }']
	,wmode: 'transparent'
	,selectable: true
});



sIFR.replace(valerie, {
    selector: '.creationDetail .tabContent h1'
    ,css: ['.sIFR-root { color: #ff6600; font-size: 72px; text-transform: uppercase; leading: -13;}']
    ,tuneHeight: -18
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
    selector: '.partyDetail .tabContent h1'
    ,css: ['.sIFR-root { color: #4190cd; font-size: 72px; text-transform: uppercase; leading: -13;}']
    ,tuneHeight: -18
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
    selector: '.sentInDetail .tabContent h1'
    ,css: ['.sIFR-root { color: #8cba1e; font-size: 72px; text-transform: uppercase; leading: -13;}']
    ,tuneHeight: -18
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
    selector: '.tabContent h1'
    ,css: ['.sIFR-root { color: #e3017c; font-size: 72px; text-transform: uppercase; leading: -13;}']
    ,tuneHeight: -18
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
    selector: '.inspirationOverview div.bottomBlock h5 a'
    ,css: ['.sIFR-root { color: #8CBA1E; font-size: 24px; text-transform: uppercase;}']
    ,wmode: 'transparent'
    ,tuneHeight: -11
	,selectable: true
});

sIFR.replace(valerie, {
    selector: 'div.bottomBlock h5 a'
    ,css: ['.sIFR-root { color: #0074CD; font-size: 24px; text-transform: uppercase;}']
    ,wmode: 'transparent'
    ,tuneHeight: -11
	,selectable: true
});

function sifrTabTitle(){
	sIFR.replace(valerie, {
		selector: '.creationDetail .tabContent em.title'
		,css: ['.sIFR-root { color: #ff6600; font-size: 48px; text-transform: uppercase;leading: -10;}']
		,tuneHeight: -10
		,wmode: 'transparent'
		,selectable: true
	});
	sIFR.replace(valerie, {
		selector: '.partyDetail .tabContent em.title'
		,css: ['.sIFR-root { color: #4190cd; font-size: 48px; text-transform: uppercase;leading: -10;}']
		,tuneHeight: -10
		,wmode: 'transparent'
		,selectable: true
	});	
	sIFR.replace(valerie, {
		selector: '.sentInDetail .tabContent em.title'
		,css: ['.sIFR-root { color: #8cba1e; font-size: 48px; text-transform: uppercase;leading: -10;}']
		,tuneHeight: -10
		,wmode: 'transparent'
		,selectable: true
	});
	sIFR.replace(valerie, {
		selector: '.tabContent em.title'
		,css: ['.sIFR-root { color: #e3017c; font-size: 48px; text-transform: uppercase;leading: -10;}']
		,tuneHeight: -10
		,wmode: 'transparent'
		,selectable: true
	});
}


/* Opinion titles */
	sIFR.replace(valerie, {
	    selector: '.creationDetail em.opinionTitle'
	    ,css: ['.sIFR-root { color: #ff6600; font-size: 42px; text-transform: uppercase}']
		,tuneHeight: -10
	    ,wmode: 'transparent'
		,selectable: true
	}); 
	
	sIFR.replace(valerie, {
	    selector: '.partyDetail em.opinionTitle'
	    ,css: ['.sIFR-root { color: #4190cd; font-size: 42px; text-transform: uppercase}']
		,tuneHeight: -10
	    ,wmode: 'transparent'
		,selectable: true
	}); 
	
	sIFR.replace(valerie, {
	    selector: '.sentInDetail em.opinionTitle'
	    ,css: ['.sIFR-root { color: #8cba1e; font-size: 42px; text-transform: uppercase}']
		,tuneHeight: -10
	    ,wmode: 'transparent'
		,selectable: true
	}); 
	sIFR.replace(valerie, {
	    selector: 'em.opinionTitle'
	    ,css: ['.sIFR-root { color: #e3017c; font-size: 42px; text-transform: uppercase}']
		,tuneHeight: -10
	    ,wmode: 'transparent'
		,selectable: true
	}); 
	
/* Comments title */
	sIFR.replace(valerie, {
	    selector: '.creationDetail em.commentsTitle'
	    ,css: ['.sIFR-root { color: #ff6600; font-size: 48px; text-transform: uppercase}']
	    ,wmode: 'transparent'
		,selectable: true
	}); 
	
	sIFR.replace(valerie, {
	    selector: '.partyDetail em.commentsTitle'
	    ,css: ['.sIFR-root { color: #4190cd; font-size: 48px; text-transform: uppercase}']
	    ,wmode: 'transparent'
		,selectable: true
	}); 
	
	sIFR.replace(valerie, {
	    selector: '.sentInDetail em.commentsTitle'
	    ,css: ['.sIFR-root { color: #8cba1e; font-size: 48px; text-transform: uppercase}']
	    ,wmode: 'transparent'
		,selectable: true
	}); 
	sIFR.replace(valerie, {
	    selector: 'em.commentsTitle'
	    ,css: ['.sIFR-root { color: #e3017c; font-size: 48px; text-transform: uppercase}']
	    ,wmode: 'transparent'
		,selectable: true
	}); 
	
	
sIFR.replace(androgyne, {
    selector: '.tipsColors h1'
    ,css: ['.sIFR-root { color: #8246be; font-size: 42px; text-align: center; text-transform: lowercase }']
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(androgyne, {
    selector: '.partyColors h1'
    ,css: ['.sIFR-root { color: #0074cd; font-size: 42px; text-align: center; text-transform: lowercase }']
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(androgyne, {
    selector: '.contactColors h1, #contentBody h1'
    ,css: ['.sIFR-root { color: #1f3588; font-size: 42px; text-align: center; text-transform: lowercase }']
    ,wmode: 'transparent'
	,selectable: true
});

sIFR.replace(valerie, {
	    selector: '#searchResults h6'
	    ,css: ['.sIFR-root { color: #ff1b17; font-size: 30px; text-transform: uppercase;}']
	    ,wmode: 'transparent'
		,selectable: true
		,tuneHeight: -10
	}); 
	
	sIFR.replace(valerie, {
	    selector: 'body#actionWinners h3'
	    ,css: ['.sIFR-root { color: #e3017c; font-size: 72px; text-transform: uppercase;}']
	    ,wmode: 'transparent'
	    ,tuneHeight: -19
		,selectable: true
	}); 
	
	sIFR.replace(valerie, {
	    selector: 'body#actionWinners h6'
	    ,css: ['.sIFR-root { color: #e3017c; font-size: 54px; text-transform: uppercase;}']
	    ,wmode: 'transparent'
		,selectable: true
	});  
