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

	
	
	Shadowbox.init();
});

/*****************************************************************************
    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 DueZero_Bold = {
		src: '/swf/fuentes/duepuntocero_bold.swf'
    };
	
	var DueZero = {
		src: '/swf/fuentes/duepuntocero.swf'
    };
	
	var Helvetica = {
		src: '/swf/fuentes/helvetica_rounded_bold.swf'
    };
	
  
	sIFR.activate(DueZero_Bold);
	sIFR.activate(DueZero);
	sIFR.activate(Helvetica);
	
	sIFR.replace(DueZero_Bold, {
		selector: '.titulo-caja'
		,css: {'.sIFR-root': { 'color': '#FFFFFF', 'font-size' : '20px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
	sIFR.replace(DueZero_Bold, {
		selector: '.titulo-listado'
		,css: {'.sIFR-root': { 'color': '#0066b1', 'font-size' : '18px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
	sIFR.replace(DueZero_Bold, {
		selector: '#cabecera-form'
		,css: {'.sIFR-root': { 'color': '#0066b1', 'font-size' : '20px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
	sIFR.replace(DueZero_Bold, {
		selector: '.encuentra_en'
		,css: {'.sIFR-root': { 'color': '#364446', 'font-size' : '18px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
	
	
	sIFR.replace(Helvetica, {
		selector: '.precios-desde'
		,css: {'.sIFR-root': { 'color': '#ffffff', 'font-size' : '11px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
	sIFR.replace(Helvetica, {
		selector: '.cantidad-precio'
		,css: {'.sIFR-root': { 'color': '#ffffff', 'font-size' : '20px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});	
	sIFR.replace(Helvetica, {
		selector: '.precios-desde-ampliada'
		,css: {'.sIFR-root': { 'color': '#ffffff', 'font-size' : '15px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
	sIFR.replace(Helvetica, {
		selector: '.cantidad-precio-ampliada'
		,css: {'.sIFR-root': { 'color': '#ffffff', 'font-size' : '27px','background-color' : 'transparent','letter-spacing': 0 } }
		,wmode : 'transparent'
		,offsetTop : 0
		,tuneWidth : 0
		,forceSingleLine : true
	});
