(function($){$.fn.bigTarget=function(options){var opts=$.extend({},$.fn.bigTarget.defaults,options);return this.each(function(){var $a=$(this);var href=$a.attr('href');var title=$a.attr('title');var o=$.meta?$.extend({},opts,$a.data()):opts;$a.parents(o.clickZone).hover(function(){$h=$(this);$h.addClass(o.hoverClass);if(typeof o.title!='undefined'&&o.title===true&&title!=''){$h.attr('title',title);}},function(){$h.removeClass(o.hoverClass);if(typeof o.title!='undefined'&&o.title===true&&title!=''){$h.removeAttr('title');}}).click(function(){if(getSelectedText()==""){if($a.is('[rel*=external]')){window.open(href);return false;}else{window.location=href;}}});});};function getSelectedText(){if(window.getSelection){return window.getSelection().toString();}else if(document.getSelection){return document.getSelection();}else if(document.selection){return document.selection.createRange().text;}};$.fn.bigTarget.defaults={hoverClass :'hover',clickZone :'li:eq(0)',title :true};})(jQuery);
$(document).ready(function(){if ($("#banner-slider").length){$("#banner-slider h3").addClass("jq").animate({"opacity": 0.75}, 0);setInterval(function(){$("#slides div:first").animate({"marginLeft":"-650px"}, 750, function(){$(this).clone().css({"margin":""}).insertAfter($("#slides div:last"));$("#slides div:first").remove();});}, 10000);}});
$(window).load(function(){$("#welcomecats h3 a").bigTarget();$("#bigtarget h4 a").bigTarget({clickZone : 'div:eq(0)'});if ($("#product-image").length){$("#product-image a").hover(function(){var newimg = $(this).attr("href");$("#product-image a.on").removeClass("on");$(this).addClass("on");$("#detail").attr("src", newimg);}).click(function(){return false;});var sources = $("#product-image a");var imgone = new Image();imgone.src = sources.eq(1).attr("href");var imgtwo = new Image();imgtwo.src = sources.eq(2).attr("href");}if ($("#sizechartlink").length){$("#sizechartlink").click(function(){$("#inline-sizechart").slideToggle("750");return false;});}});