jQuery.noConflict();

jQuery(document).ready(function($){
	// hover effect for teaserblocks 
	$("ul.teaserimages li").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.teaserimg").css({'background' : 'url(' + thumbOver + ') no-repeat center bottom'});
		$(this).find("span").stop().fadeTo('normal', 0 , function() {
			$(this).hide() 
		});
	} , function() { 
		$(this).find("span").stop().fadeTo('normal', 1).show();
	});
	$('ul.payment_nav li a').tipsy({gravity: 'sw'});
	$('ol.currently li a').tipsy({gravity: 'w'});
	$('ul.mb li a').tipsy({gravity: 'n'});
	// Hover effect for Product listing
	$("ul.products-grid li").hover(function() {
		$(this).animate({ backgroundColor: "#f5f5f5" }, 600);
		},function() {
		$(this).animate({ backgroundColor: "#ffffff" }, 400);
	});
      
 $("a[rel=gal]").fancybox({
    'transitionIn'    : 'elastic',
    'transitionOut'    : 'elastic',
    'overlayShow': true,
'overlayOpacity': 0.8,
'overlayColor': '#fff' ,
'titlePosition' : 'outside',
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
  });	
});






