$(function() {
	$('#ss').cycle();
	$("#mia").tooltip({ effect: 'slide'}); 
	
	$(".rectangle").tooltip("#req");
	
	$('#ss2').cycle({
		fx: 'scrollHorz',
		timeout: 0,
		prev: '#prev',
		next: '#next'	
	});
	
/* fancybox */
	
	var lnks = "#fb1, #fb2, #fb3, #fb4, #fb4, #fb5, #fb6, #fb7, #fb8, #fb9, #fb10, #fb11, #fb12, #fb13, #fb14, #fb15, #fb16, #fb17, #fb18, #fb19, #fb20, #fb21, #fb22, #fb23, #fb24, #fb25";	
	$(lnks).fancybox({
		
		/*
		'titlePosition': 'inside',
		'titleShow': 'false',
		*/
		
		'autoDimensions'	: false,
		'height' : 495,
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'overlayOpacity': '.3',
		'overlayColor': '#000'
		
	});
	
	
/* cache imgs 
	$('#jfSlideShow #slides img').cacheImage({
		load    : function (e) { console.log('Loaded',    this, e); },
		error   : function (e) { console.log('Error',     this, e); },
		abort   : function (e) { console.log('Aborted',   this, e); },
		// complete callback is called on load, error and abort
		complete: function (e) { 
			
			$(this).attr('style', 'display:block');
			
			console.log(this);
			
			//console.log('Completed', this, e); 
			}
	});
	
	showSlideShow = function() {
		//$("#jfSlideShow").hide().show();
		console.log("slide show is function is hitting!");
		
	};
*/	
});