function SimpleSwap(e,t){e.src=e.getAttribute(t||"origsrc")}function SimpleSwapSetup(){for(var e=document.getElementsByTagName("img"),t=0;t<e.length;t++){var o=e[t].getAttribute("oversrc");o&&(e[t].oversrc_img=new Image,e[t].oversrc_img.src=o,e[t].onmouseover=new Function("SimpleSwap(this,'oversrc');"),e[t].onmouseout=new Function("SimpleSwap(this);"),e[t].setAttribute("origsrc",e[t].src))}}var ADAPT_CONFIG={path:"catalog/view/theme/gazal/stylesheet/rtl/grid/",dynamic:!0,range:["0px    to 760px  = mobile.css","760px  to 980px  = 720.css","980px  to 1280px = 960.css","1280px to        = 1200.css"]};$(document).ready(function(){$(".tab_content").hide(),$("ul.tabs").each(function(){$(this).find("li:first").addClass("active"),$(this).next(".tab_container").find(".tab_content:first").show()}),$("ul.tabs li a").click(function(){var e=$(this).closest("li");e.siblings("li").removeClass("active"),e.addClass("active"),e.closest("ul.tabs").nextAll(".tab_container:first").find(".tab_content").hide();var t=$(this).attr("href");return $(t).fadeIn(),!1})});var PreSimpleSwapOnload=window.onload?window.onload:function(){};window.onload=function(){PreSimpleSwapOnload(),SimpleSwapSetup()},$(window).load(function(){$(".foo3").carouFredSel({auto:!0,prev:"#prev2",next:"#next2",width:"100%",height:"auto",mousewheel:!1,transition:!0,responsive:!0,auto:{pauseOnHover:"resume"},swipe:{onMouse:!0,onTouch:!0},scroll:{duration:1e3},items:{height:"auto",visible:{min:1,max:4}},swipe:{onMouse:!0,onTouch:!0}})}),$(document).ready(function(){$().UItoTop({easingType:"easeOutQuart"})});