// JavaScript Document
$(document).ready(function(){ 
						   
						   
	/* calls fancybox lightbox effect for single images with 'lightbox' class */
	$("a.lightbox").fancybox();
	/* calls fancybox lightbox effect for inline elements with 'inline' class */
	$("a.inline").fancybox();
	/* calls fancybox lightbox effect for iframe */
	$("a.iframe").fancybox({
			'padding'		: 0,
			'width'			: 960,
			'height'		: 600
		});

	/* end lightbox */					   
	
		
	$(".ZoomImage").jqzoom(); 
	
	//$("a.lightbox").lightBox(); // Starts lightbox for links w. lightbox class
   
   $(".topImgs").hover( // jQuery v1.4.2
	function() {
		this.src = this.src.replace("_f1","_f2");
   }, 
   function(){
		this.src = this.src.replace("_f2","_f1");
   });
   

	$("#topButtons a").hover(function(){ // jQuery v1.4.2
			$(this).children("span").fadeOut();
		}, function(){
			$(this).children("span").fadeIn();
		});
	
	
	$(".homePageCenterLeftSection").hover(function(){ // jQuery v1.4.2
		$(this).children('.homePageCenterLeftInfo').slideDown();
	},function(){
		$(this).children('.homePageCenterLeftInfo').slideUp();
		}
	);
	
	//$('#homePageCycle').cycle({
	//	timeout: 3000,
	//	pause: 1,		
	//});
   
 });

