jQuery(window).load(function() {
	jQuery('#mastheadflash').css({'height':'auto'});
	jQuery('#mastheadflash img').css({'display':'inline'});
	var numImages = jQuery("#mastheadflash").children().length;
	if (numImages > 1) //only use nivo-slider if more than 1 image is present
	{
		jQuery('#mastheadflash').nivoSlider({
			effect: 'fade',
			pauseTime: 6000,
			directionNav: false
		});
	}
});
jQuery.noConflict();
