$(document).ready(function(){	
	/* Funcion para el flash */
	
	$(function() {
		$('.media').media({ 
			autoplay:  true,
			width: 987,
			height: 146,
			flashvars: { autostart: 'true' } , 
			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 helvetica = {
      src: '/swf/fuentes/HelveticaLTCondensedLight.swf'
    };
	

	var helvetica_bold = {
      src: '/swf/fuentes/HelveticaLTCondensed.swf'
    };


    // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
    // sIFR.useStyleCheck = true;
    sIFR.activate(helvetica,helvetica_bold);

   sIFR.replace(helvetica, {
      selector: '#submenu a'
	  ,css: {'.sIFR-root': { 'color': '#434343', 'font-size' : '14px','background-color' : 'transparent','letter-spacing': -0.5,'cursor':'pointer'} }
	  ,offsetLeft : 15
	  ,offsetTop : 3
	  ,wmode : 'transparent'
	  ,onRelease: function(obj){
						enlace = obj.getAncestor();
						enlace.click();
					}
    });
	
	sIFR.replace(helvetica_bold, {
      selector: '#seccion h3'
	  ,css: {'.sIFR-root': { 'color': '#076ba7', 'font-size' : '24px','background-color' : 'transparent','letter-spacing': -0.5} }
	  ,offsetTop : 6
	  ,wmode : 'transparent'
    });

	
