$(function() {
        $('.media').media({ 
            autoplay:  true,
            flashvars: { autostart: 'true' } , 
			width: 960,
			height: 346,
            params:    { wmode: 'transparent', quality: 'high' }, // object params/embed attrs 
            caption:   false // supress caption text 
        });    
    });

/*****************************************************************************
The sIFR configuration should typically go in `sifr-config.js`, but in order to
keep the config file clean, and to give a quick overview, it's done here instead.
*****************************************************************************/

	
	var myriadpro = {
		src: '/swf/fuentes/myriadpro.swf'
    };
	
	sIFR.activate(myriadpro);	
	
	var worldofwater = {
		src: '/swf/fuentes/worldofwater.swf'
    };
	
	sIFR.activate(worldofwater);	
	 
	
	sIFR.replace(myriadpro, {
		selector: '.h2-azul'
		,css: {'.sIFR-root': { 'color': '#0150d4', 'font-size' : '22px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
	sIFR.replace(myriadpro, {
		selector: '.h2-verde'
		,css: {'.sIFR-root': { 'color': '#92c61a', 'font-size' : '22px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
	sIFR.replace(myriadpro, {
		selector: '.h3-verde'
		,css: {'.sIFR-root': { 'color': '#92c61a', 'font-size' : '15px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : false
	});
	sIFR.replace(myriadpro, {
		selector: '.h3-dossier'
		,css: {'.sIFR-root': { 'color': '#98b4d4', 'font-size' : '19px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
	sIFR.replace(myriadpro, {
		selector: '.h3-pastilla-verde'
		,css: {'.sIFR-root': { 'color': '#d4f28c', 'font-size' : '19px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
	sIFR.replace(worldofwater, {
		selector: '.h3-pastilla-verde-world'
		,css: {'.sIFR-root': { 'color': '#d4f28c', 'font-size' : '19px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine :true
	});
	

