
	// Custom Fancybox behavior for SWF links
	jQuery('a[href$=".swf"]').unbind('click').click(function() {
		var swfWidth = jQuery(this).data('swfWidth')
			, swfHeight = jQuery(this).data('swfHeight')
			, href = jQuery(this).attr('href');

		swfWidth = swfWidth || 640;
		swdHeight = swfHeight || 480;

		console.log('firing swf handler');
		jQuery.fancybox({
			padding: 0
			, autoScale: false
			, transitionIn: 'none'
			, transitionOut: 'none'
			, title: this.title
			, width: swfWidth
			, height: swfHeight
			, href: href
			, type: 'swf'
		});
	});

