// JavaScript Document

	// rotating images 
  	$(document).ready(function(){

/*
	$('#rotating_header_list').cycle({ 
			 fx:      'fade', 
			 speed:    4000, 
			 timeout:  4000,
			 delay:    -5000 
		});
*/

		$('#rotating_images_list').innerfade({
			speed: 'slow',
			timeout: 4800,
			type: 'sequence',
			containerheight: '224px'
		});

		$(function() {
			$('#rotating_images_list li a').lightBox();
		});
		
		$(function() {
			$('.page_thumbnails a').lightBox();
		});

		
	});


	// navigation drop down - needed for IE
  $(document).ready(function(){
		$("#nav-one li").hover(
			function(){ $("ul", this).fadeIn("slow"); }, 
			function() { } 
		);
		if (document.all) {
			$("#nav-one li").hoverClass ("sfHover");
		}
  });
  
	$.fn.hoverClass = function(c) {
		return this.each(function(){
			$(this).hover( 
				function() { $(this).addClass(c);  },
				function() { $(this).removeClass(c); }
			);
		});
	};	  
	// end navigation
