$(document).ready(function() {
	$(".fancybox").fancybox({ 'hideOnContentClick': false,'padding':15 });
	$('#cyclenow').cycle({ 
    		speed:  2000,
			timeout: 10000,
			fx: 'scrollLeft'
	});
	$(".fblike").click(function() {
      alert('Your 25% Coupon Code is: likebutton25off');
   });
 	var orgin = $('.fromprice').attr('href')
	var pathname = window.location.pathname;
	$('.fromprice').attr('href', pathname+orgin) //Weird I know... otherwise FF, Chrome don't treat anchor links like they should
});
