")):($(".file-attachments").insertAfter(".picture-thumbs"),$(".attachmentLink").html("
"));$(".overview .prices").prependTo(".overview");$(".product-name").prependTo(".overview");$(".old-product-price").appendTo(".product-price");$(".short-description").appendTo(".product-price");r=$(".product-price span:first-child").text();i=$("span[class*='price-value']").text();console.log("price2 = ",i);i=i.replace(/\.00([^\d])/g,"$1");console.log("price = ",r);$("span[class*='price-value']").text(i);$(".pf-msrp").hide();$(".price-source").hide();$(".msrp").hide();$(".sku").insertAfter(".short-description");$(".add-to-cart").length?($(".productTabs").insertAfter(".add-to-cart"),$(".overview-buttons").insertAfter(".add-to-cart")):($(".productTabs").appendTo(".overview"),$("#product-qty").hide(),$(".sku").appendTo(".prices"),$(".sku").css("float","right"),$(".prices span").css("float","left"));n=$(".product-essential");prependClass(n,"estoris-grid-container-12-8-4 estoris-grid-gap-20");n=$(".gallery");prependClass(n,"estoris-grid-item-7-8-4");$('
<\/div>').insertAfter(".gallery");n=$(".overview");prependClass(n,"estoris-grid-item-4-8-4");$(".qty-input").insertAfter(".additional-details");$("#product-qty").insertBefore(".qty-input");$('
').insertBefore(".qty-input").delay(100);$('
').insertAfter(".qty-input").delay(100);t=$(".also-purchased-products-grid .item-box").length;console.log("sze == ",t);$(window).width()>1001&&t>4&&$(".also-purchased-products-grid .item-grid").bxSlider({slideSelector:".item-box",autoStart:!1,maxSlides:4,moveSlides:4,minSlides:4,slideWidth:350,touchEnabled:!1,infiniteLoop:!0,hideControlOnEnd:!1,responsive:!0});t=$(".related-products-grid .item-box").length;console.log("sze == ",t);$(window).width()>1001&&t>4&&$(".related-products-grid .item-grid").bxSlider({slideSelector:".item-box",autoStart:!1,maxSlides:4,moveSlides:4,minSlides:4,slideWidth:350,touchEnabled:!1,infiniteLoop:!0,hideControlOnEnd:!1,responsive:!0});$(".related-products-grid .title strong").html("You May Also Like");$(window).width()<500&&($(".overview .prices").prependTo(".product-essential"),$(".product-name").prependTo(".product-essential"),setInterval(function(){$(".ui-corner-bottom:nth-child(1)").insertAfter(".ui-corner-top:nth-child(1)")},500),setInterval(function(){$(".ui-corner-bottom:nth-child(2)").insertAfter(".ui-corner-top:nth-child(2)")},500),$("div#ui-id-3").insertAfter(".ui-corner-top:nth-child(2)"),$(".item-grid").bxSlider({slideWidth:600,minSlides:1,maxSlides:1,moveSlides:1}),$(".file-attachments").appendTo(".picture-thumbs"),$(".picture-thumbs").bxSlider({slideWidth:600,minSlides:1,maxSlides:1,moveSlides:1}),$(".picture-thumbs").length==0&&$(".picture").toggle());$(window).width()>500&&$(window).width()<1100&&($(".overview .prices").prependTo(".product-essential"),$(".product-name").prependTo(".product-essential"),prependClass($(".product-name"),"estoris-grid-item-12-8-4"),prependClass($(".prices"),"estoris-grid-item-12-8-4"));$(window).width()>1e3&&$(window).width()<1100&&(n=$(".gallery"),prependClass(n,"estoris-grid-item-12-8-4"),n=$(".overview"),prependClass(n,"estoris-grid-item-12-8-4"));$(window).width()>500&&$(window).width()<1100&&$(".item-grid").bxSlider({slideWidth:200,mode:"horizontal",minSlides:2,maxSlides:2});$('
Financing options available<\/a>').insertAfter(".overview .prices")})