$(document).ready(function(){

	$('#photos').cycle({ 
		fx:      'fade', 
		speed:    1200, 
		timeout:  8000 
	});


/*	jQuery-based sIFR:

	$('h2').flash(
        { 
            src: '/ama/images/helveticaneue2.swf', 
            flashvars: { 
                css: [
                    '* { color: #710005; font-size: 20px; }',
                    'a { color: #A10005; text-decoration: none; }',
                    'a:hover { text-decoration: underline; }'
                ].join(' ')
            }
        },
        { version: 7 },
        function(htmlOptions) {
            htmlOptions.flashvars.txt = this.innerHTML;
            this.innerHTML = '<div>'+this.innerHTML+'</div>';
            var $alt = $(this.firstChild);
            htmlOptions.height = $alt.height();
            htmlOptions.width = $alt.width();
            $alt.addClass('alt');
            $(this)
                .addClass('flash-replaced')
                .prepend($.fn.flash.transform(htmlOptions));						
        }
    );
*/
});

/*	sIFR 3:

	var helveticaneue = {
	  src: '/ama/images/helveticaneue.swf'
	};
	
	var cochin = {
	  src: '/ama/images/cochin.swf'
	};
	
	var helveticaneue = {
	  src: '/ama/images/helveticaneue.swf'
	};
	
	sIFR.activate(helveticaneue);
	
	sIFR.replace(helveticaneue, {
	  selector: 'h2',
	  wmode: 'transparent',
	  css: 'h2 { color: #660000; }'
	});
*/
