
		        $f(player).addEvent('ready', ready);
			}

			function addEvent(element, eventName, callback) {
			    if (element.addEventListener) {
			        element.addEventListener(eventName, callback, false)
			    } else {
			        element.attachEvent(eventName, callback, false);
			    }
			}

			jQuery('.tfs-slider').flexslider({
				animation: "fade",
				slideshow: true,
				slideshowSpeed: 7000,
				animationSpeed: 600,
				smoothHeight: true,
				pauseOnHover: false,
				useCSS: false,
				video: