/***********************************************
*   
*    Custom content for betterplace.com masthead
*    copyright (c) Better Place, 2009
*
***********************************************/

/***********************************************
*   
*    Init Code for SIFR replacement
*
***********************************************/
function InitSIFR(site)
{

		if (site == 'default_site') {
			var vagRounded = {
				src: '/scripts/vag_rounded_std_light.swf'
			};
		}	
		else if ( site == 'france' )
		{
			var vagRounded = {
				src: '/base/scripts/vag_rounded_std_light_ext.swf'
			};
		
		}
		else {
			var vagRounded = {
				src: '/base/scripts/vag_rounded_std_light.swf'
			};
		}
		sIFR.activate(vagRounded);

		sIFR.replace(vagRounded, {
			selector: 'body h1#page-title',
			css: {
				'.sIFR-root': { 'color': '#969182', 'text-transform': 'lowercase', 'font-size': '22px'}
			}
			 , wmode: 'transparent'
		});

		sIFR.replace(vagRounded, {
			selector: 'body h1#page-title-no-transform',
			css: {
				'.sIFR-root': { 'color': '#969182', 'font-size': '22px'}
			}
			 , wmode: 'transparent'
		});
	sIFR.replace(vagRounded, {
			selector: 'body h2.section-title',
			css: {
				'.sIFR-root': { 'color': '#969182', 'text-transform': 'lowercase', 'font-size': '18px'}
			}
			 , wmode: 'transparent'
		});
sIFR.replace(vagRounded, {
			selector: 'body h2.section-title-no-transform',
			css: {
				'.sIFR-root': { 'color': '#969182', 'font-size': '18px'}
			}
			 , wmode: 'transparent'
		});

		sIFR.replace(vagRounded, {
			selector: 'body h3.section-title',
			css: {
				'.sIFR-root': { 'color': '#969182', 'text-transform': 'lowercase', 'font-size': '18px'}
			}
			 , wmode: 'transparent'
		});
sIFR.replace(vagRounded, {
			selector: 'body h3.section-title-no-transform',
			css: {
				'.sIFR-root': { 'color': '#969182', 'font-size': '18px'}
			}
			 , wmode: 'transparent'
		});
		sIFR.replace(vagRounded, {
			selector: 'body h2.quote-copy',
			css: {
				'.sIFR-root': { 'color': '#969182', 'font-size': '16px', 'leading': '8'}
			}
			 , wmode: 'transparent'
		});
sIFR.replace(vagRounded, {
			selector: 'body h2.headline-copy',
			css: {
				'.sIFR-root': { 'color': '#969182', 'font-size': '16px', 'leading': '8'}
			}
			 , wmode: 'transparent'
		});
sIFR.replace(vagRounded, {
			selector: 'body h2.headline-copy-small',
			css: {
				'.sIFR-root': { 'color': '#969182', 'font-size': '14px', 'leading': '8'}
			}
			 , wmode: 'transparent'
		});
		
sIFR.replace(vagRounded, {
			selector: 'body h3.sidebar-title',
			css: {
				'.sIFR-root': { 'color': '#969182', 'font-size': '13px', 'leading': '8'}
			}
			 , wmode: 'transparent'
		});
		
		sIFR.replace(vagRounded, {
			selector: '.blog-title',
			css: {
				'.sIFR-root': { 'color': '#969182', 'text-transform': 'lowercase', 'font-size': '22px'}
			}
			 , wmode: 'transparent'
		});

		sIFR.replace(vagRounded, {
			selector: 'body h2.headline-copy-small-staging',
			css: {
				'.sIFR-root': { 'color': '#969182', 'font-size': '14px', 'leading': '8'}
				
			}, 
			wmode: 'transparent'
		});

		sIFR.replace(vagRounded, {
			selector: 'body h1#page-title-no-transform-small',
			css: {
				'.sIFR-root': { 'color': '#969182', 'font-size': '17px'}
			}
			 , wmode: 'transparent'
		});

}

/***********************************************
*   
*    Document Ready
*
***********************************************/

$(document).ready(function()
{	

   // InitSIFR();

});

/***********************************************
*   
*    END
*
***********************************************/




