5 Foot Sheet Metal Brake (2022)

Credit Cards (MasterCard, Visa, American Express and Discover)<\/li>\n<\/ul>\n

Merchandise becomes the full responsibility of the bidder at time of payment and the bidder assumes all risk of loss and damage to property at that time. McLemore Auction Company, LLC reserves the right to resell any property not paid for in full by the conclusion of the stated pickup period. In any such event, the bidder will still be responsible for payment for the original purchase and the costs of collection of this payment and\/or damages resulting from the resale of the property.<\/p>\n

Credit Card Hold:<\/strong>\u00a0A $50.00 hold will be placed on your card when you place your first bid for this auction. If you do not pay for your auction purchases on time, then the credit card hold will be applied towards the 15% relisting fee.\u00a0If you use a credit card to secure your account, the auction deposit will take the form of a\u00a0credit card authorization and will\u00a0count against your credit limit for the duration of the authorization (7-10 business days). If you use a debit card to secure your account, the auction deposit will take the form of a hold on funds in your bank account for the duration of the authorization (7-10 business days). McLemore Auction Company, LLC highly recommends you secure your account with a credit card and is not responsible for any issues arising from the use of a debit card to secure your bidding account. Add a debit card at your own risk.<\/p>","convenience_fee":"0","affiliate_id":"0","archived":"0","preview_period":"0","state_abbreviation":"TN","registration_time":"","location_override":"","start_end_override":"","time_interval":"1","extended_bidding":"1","description":"

Machinery Movers has contracted with McLemore Auction Company, LLC to liquidate surplus equipment from a fabrication shop they purchased.\u00a0 Restaurant equipment, tools, welders, forklift, 2004 H2 Hummer, John Deere front deck mower, Bob Cat zero turn mower and much more will sell to the highest bidders regardless of price.<\/p>\n

Auction Manager:<\/strong>
Dwayne Smith
(615) 509-2428
dwayne@mclemoreauction.com<\/a><\/p>","allow_custom_bids":"","enable_charitable_organizations":"0","increment":"1","starting_bid":"1.00","flat_increment":"0.00","payment_gateway":"AuthDotNet","gateway_account":"","close_groups":"5","extended_bidding_threshold":"5","county":"","extended_bidding_interval":"-5","consignor_id":"0","transcript":"","audio_feed":null,"send_closing_alert":"1","send_admin_closing_alert":"","feed_type":"","completed":"0","flat_rate_shipping":"0.00","paused_time":null,"paused_duration":null,"paused_status":null,"maximum_highbidder_bids":null,"hide_bidhistory_after_sale":"0","currency":"$","clerking_type":"cataloged","aff_logo":null,"blind_bidding":"0","category":"35","shipping_methods":"","documents":[],"time_offset":-3600}; return data;});bidItem.controller('ItemDetailCtrl', ['$scope', '$filter', '$timeout', '$interval', 'bidItemData', function($scope, $filter, $timeout, $interval, bidItemData){ $scope.auction = bidItemData.auction; $scope.item = bidItemData.item; $scope.current_time = current_time; $scope.enable_buy_item_now = enable_buy_item_now; $scope.enable_blind_bidding = enable_blind_bidding; $scope.user_item_distance = 'Calculating...'; $scope.is_admin = false; $.ajax({ type: 'GET', dataType: 'json', url: '/auctionhome/timestamp', async: false, success: function (returndata){ $scope.current_time = parseInt(returndata.current_time, 10); } }); $scope.time_difference = ($scope.current_time - Math.floor(Date.now() / 1000)); if($scope.time_difference > -2 & $scope.time_difference < 2){ $scope.time_difference = 0; } $scope.current_time = (Math.floor(Date.now() / 1000) + $scope.time_difference + $scope.auction.time_offset); $scope.current_user = parseInt(current_user, 10); $scope.seconds = parseInt($scope.item.end_time, 10) - $scope.current_time; $scope.lang = lang; $scope.show_customer_info = show_customer_info; $scope.realtime = realtime; $scope.crowd_bidder = crowd_bidder; $scope.crowd_bidder_username = crowd_bidder_username; $scope.user_deposited_amount = parseInt('0', 10); $scope.disable_bid_history = disable_bidhistory_after_sale; $scope.show_bid_history = true; $scope.item.end_time = parseInt($scope.item.end_time, 10); $scope.item.start_time = parseInt($scope.item.start_time, 10); $scope.item.quantity = parseInt($scope.item.quantity, 10); $scope.item.high_bidder = parseInt($scope.item.high_bidder, 10); $scope.item.buy_now = parseFloat($scope.item.buy_now); $scope.item.current_bid = parseFloat($scope.item.current_bid); $scope.item.minimum_bid = parseFloat($scope.item.minimum_bid); $scope.auction.starts = parseInt($scope.auction.starts, 10); $scope.auction.ends = parseInt($scope.auction.ends, 10); $scope.live_not_started = false; if(is_auction_liveonline){ $scope.live_not_started = $scope.current_time < $scope.auction.ends; } if($scope.disable_bid_history & $scope.item.start_time > 0 && $scope.item.start_time <= $scope.current_time && $scope.item.end_time <= $scope.current_time && (angular.isDefined($scope.auction.hide_bidhistory_after_sale) && parseInt($scope.auction.hide_bidhistory_after_sale))){ $scope.show_bid_history = false; } if($scope.auction.starts > $scope.current_time){ var timeout = parseInt($scope.auction.starts - $scope.current_time + 1)*1000; if(timeout >= 2147483647) timeout = 2147483647; $timeout(function (){ $scope.initData(); }, timeout); } if(is_auction_liveonline & $scope.auction.ends > $scope.current_time){ var timeout = parseInt($scope.auction.ends - $scope.current_time) * 1000; if(timeout >= 2147483647) timeout = 2147483647; setTimeout(function (){ smodal('', 'The live auction has started! Click \'Ok\' to enter the live auction.', true, '', function (){ location.href = '/auction/liveonline/' + $scope.auction.id; }, true, function (){ location.href = '/auction/liveonline/' + $scope.auction.id; }, 0, ''); }, timeout); } if(realtime & ! angular.isDefined($scope.current_interval)){ // Interval is updating current time of the scope $scope.current_interval = $interval(function (){ $scope.current_time = (Math.floor(Date.now() / 1000) + $scope.time_difference + $scope.auction.time_offset); $scope.seconds = $scope.item.end_time - $scope.current_time; if($scope.disable_bid_history & (angular.isDefined($scope.auction.hide_bidhistory_after_sale) && parseInt($scope.auction.hide_bidhistory_after_sale)) && $scope.seconds <= 0){ $scope.show_bid_history = false; } }, 1000); } $scope.scrollToGallery = function(){ $('#imgtab,#detailstab').click(); $('html, body').animate({ scrollTop: $('#itemtabs div.tab_content:visible').offset().top }, 800); }; // Init function of the scope item $scope.initData = function(){ // If auction is ongoing and realtime is enabled then initialize pusher API if(realtime & !angular.isDefined($scope.pusher) && parseInt($scope.auction.starts, 10) <= $scope.current_time && parseInt($scope.item.end_time, 10) > $scope.current_time){ $scope.pusher = new Pusher(pusher_api_key, {cluster: pusher_cluster, disableStats: true, pong_timeout: 20000, activity_timeout: 10000});// Enable for logging pusher events on development, not for production environment// Pusher.log = function(message) {// if (window.console & window.console.log) {// window.console.log(message);// }// }; var first_pusher_connection = true; $scope.pusher.connection.bind('state_change', function(states){ if(states.previous === 'initialized' & states.current === 'connecting'){ return; } if(states.current !== 'connected'){ $timeout(function(){ $scope.show_pusher_warning_alert = true; if(angular.isDefined($scope.current_interval)){ $interval.cancel($scope.current_interval); $scope.current_interval = undefined; } }, 3000); } if((!first_pusher_connection) & states.current === 'connected'){ $scope.show_pusher_warning_alert = false; window.location.reload(); } if(states.current === 'connected'){ first_pusher_connection = false; } }); if(! angular.isDefined($scope.channel)){ $scope.channel = $scope.pusher.subscribe(domain_name + '-auction-' + $scope.auction.id); } if(angular.isDefined($scope.channel)){ $scope.channel.bind('pause', function(){ window.location.reload(); return; }); } } $scope.update_item($scope.item); $scope.softCloseGroupPusherUpdates(); if(realtime & enable_ajax_pusher_updates && (! is_auction_liveonline) && (! is_liveonline_online) && parseInt($scope.auction.starts, 10) <= $scope.current_time && parseInt($scope.item.end_time, 10) > $scope.current_time){ $scope.watchItemsClosing(); } //subscribe to reopen live auction pusher event if(!angular.isDefined($scope.pusher) & typeof (pusher_api_key) !== 'undefined' && enable_ajax_pusher_updates && is_liveonline_online){ $scope.pusher = new Pusher(pusher_api_key, {cluster: pusher_cluster, disableStats: true, pong_timeout: 20000, activity_timeout: 10000}); $scope.auction_reopen_channel = $scope.pusher.subscribe(domain_name + '-reopen_auction-' + $scope.auction.id); $scope.auction_reopen_channel.bind('reopen_auction', function(){ $scope.$apply(function(){ smodal('', 'This Auction has been reopened.', true, '', function (){ window.location.reload(); }, true, function (){ window.location.reload(); }, 0, ''); }); }); } }; // soft close group trigers $scope.softCloseGroupPusherUpdates = function(){ if(realtime & parseInt($scope.auction.starts, 10) <= $scope.current_time && parseInt($scope.item.end_time, 10) > $scope.current_time && ! angular.isDefined($scope.softCloseChannel)){ // Subscribe to soft close pusher API channel $scope.softCloseChannel = $scope.pusher.subscribe(domain_name + '-softclosegroup-' + $scope.item.groupid); } if(realtime & parseInt($scope.auction.starts, 10) <= $scope.current_time && parseInt($scope.item.end_time, 10) > $scope.current_time && angular.isDefined($scope.softCloseChannel)){ $scope.softCloseChannel.bind('softclose', function(data){ $scope.$apply(function(){ // var item = jQuery.extend(true, $scope.item, data.items); // for(var indx2 = 0; indx2 < data.items.length; indx2++){ // if($scope.item.groupid === item[indx2].groupid){ // $scope.item.end_time = item[indx2].end_time; // $scope.item.bidding_extended = item[indx2].bidding_extended; // $scope.update_item($scope.item); // break; // } // } if($scope.item.groupid == data.groupid){ $scope.item.end_time = data.end_time; $scope.item.bidding_extended = data.bidding_extended; $scope.update_item($scope.item, true); } }); }); } }; // Item remaining time clear interval function $scope.removeInterval = function(item){ if(angular.isDefined(item.timeout)){ $timeout.cancel(item.timeout); item.timeout = undefined; } }; // Destroy scope members and API connections $scope.destroy = function(){ if(angular.isDefined($scope.current_interval)){ $interval.cancel($scope.current_interval); $scope.current_interval = undefined; } if(angular.isDefined($scope.item.channel)){ $scope.pusher.unsubscribe(domain_name + '-item-' + $scope.item.id); $scope.item.channel = undefined; } if(angular.isDefined($scope.watch_interval)){ $interval.cancel($scope.watch_interval); $scope.watch_interval = undefined; } }; // Scope event triggered by angular JS $scope.$on('$destroy', function (){ $scope.destroy(); }); // Destroy everything when item is going to close if($scope.item.end_time > $scope.current_time){ var timeout = parseInt($scope.item.end_time - $scope.current_time + 15*60)*1000; if(timeout >= 2147483647) timeout = 2147483647; $timeout(function (){ $scope.destroy(); if($scope.pusher){ $scope.pusher.disconnect(); $scope.show_pusher_warning_alert = false; } }, timeout); } // If auction is closed destory everything if($scope.item.end_time <= $scope.current_time){ $scope.destroy(); if($scope.pusher){ $scope.pusher.disconnect(); $scope.show_pusher_warning_alert = false; } } $scope.refreshPage = function (){ location.reload(); }; // Item initialization and update function $scope.update_item = function(item, ignorePusher){ if(typeof(ignorePusher) === 'undefined'){ ignorePusher = false; } item.end_time = parseInt(item.end_time, 10); item.start_time = parseInt(item.start_time, 10); item.quantity = parseInt(item.quantity, 10); item.high_bidder = parseInt(item.high_bidder, 10); item.buy_now = parseFloat(item.buy_now); item.current_bid = parseFloat(item.current_bid); item.minimum_bid = parseFloat(item.minimum_bid); // Item box highlighting code if(! angular.isDefined(item.highlight)){ item.highlight = ''; } item.url = $filter('slugify')(item.title, item.auction_id, item.id); if($scope.disable_bid_history & $scope.item.start_time > 0 && $scope.item.start_time <= $scope.current_time && $scope.item.end_time <= $scope.current_time && (angular.isDefined($scope.auction.hide_bidhistory_after_sale) && parseInt($scope.auction.hide_bidhistory_after_sale))){ $scope.show_bid_history = false; } item.time_not_set = false; if(item.end_time <= 0 || item.start_time <= 0){ item.time_not_set = true; } $scope.item.buy_now_display = 'Buy Now' + ' ' + $filter('currency')(item.buy_now, '$', decimals) + (item.quantity > 1 ? ' x ' + item.quantity : ''); minbid_quantity = toCurrency(item.minimum_bid, decimals, '$') + (item.quantity > 1 ? (' x ' + item.quantity) : ''); proxy_quantity = toCurrency(item.proxy_bid ? item.proxy_bid : '0', decimals, '$') + (item.quantity > 1 ? (' x ' + item.quantity) : ''); current_bid_quantity = toCurrency(item.current_bid ? item.current_bid : '0', decimals, '$') + (item.quantity > 1 ? (' x ' + item.quantity) : ''); item.proxy_title = " You can enter a new max bid at any time by entering a bid greater than your current high bid. A max bid would make it more difficult for others to outbid you.A max bid is the highest amount you are willing to pay for an auction item.In response to other bids, the auction system will automatically increase your bid in the smallest increment possible (up to your max bid amount) in order to maintain your lead position. To get a max bid you simply enter the maximum amount you are willing to pay into the bid form just as you would any other bid. If your bid is more than one bidding increment above the current high bid you will get a max bid unless another bidder has a max bid in place that is higher than the amount you enter. At the end of the auction, the winning bidder pays only the lowest winning bid possible. That means that you can win an auction item at a price less than your max bid amount.Your max bid amount is kept confidential from other bidders.You can lower or delete a max bid by entering a lower amount.Note: After watching hundreds of auctions and talking to thousands of bidders, we think using max bids in your bidding strategy works best for most people. It eliminates some of the pressure and reduces the risk of "sniping", where other biddersslip in slightly higher bids in the last seconds of bidding."; // Item bid status tooltip logic if(item.high_bidder === $scope.current_user & ((! item.has_reserve) || item.reserve_met)){ if(item.proxy_bid > 0){ item.bid_button_value = lang.adjust_proxy_btn; item.bid_button_title = lang.can_adjust_proxy; item.proxy_title = " You now have a max bid. You can raise or lower your max bid at any time by entering a new amount. If you wish to remove your max bid you can do so by entering an amount equal to the current bid into the bid form."; } else{ item.bid_button_value = lang.add_proxy_btn; item.bid_button_title = lang.can_add_proxy; } } else{ item.bid_button_value = lang.place_bid_btn; item.bid_button_title = lang.can_bid.replace(new RegExp('%s', 'g'), ''+minbid_quantity); } item.reserve_price_display = ((item.reserve_option != 'none') ? ((! item.reserve_met) ? ((item.reserve_option == 'standard') ? 'There is a reserve price that has NOT been met.' : 'Pending Approval' ): ((item.reserve_option == 'standard') ? 'The reserve price HAS been met.' : 'Sells to High Bidder' ) ): ''); item.status = ''; item.status_text = ''; item.bid_status_text = ''; if(has_bids_in_item > 0 & item.high_bidder === $scope.current_user){ item.status = 'winning'; item.bid_status_text = lang.winning_status; } else if(has_bids_in_item > 0){ item.status = 'losing'; item.bid_status_text = lang.losing_status; } if((item.start_time > 0 & item.start_time <= $scope.current_time && item.end_time <= $scope.current_time && $scope.show_bid_history) || (item.first_to_reserve == 1 && item.has_reserve && item.reserve_met)){ item.status_text = 'Bidding is closed.'; if($scope.show_bid_history & ($scope.is_admin || ! ($scope.enable_blind_bidding && $scope.auction.blind_bidding == 1))){ item.status_text += 'High Bid:' + current_bid_quantity + ''; } } else if(item.start_time > 0 & item.start_time > $scope.current_time){ item.status_text = 'Bidding on this item starts Monday, March 19, 2018 at 05:00:00 pm CT.'; if(item.quantity > 1){ item.status_text += 'This is a per unit bid so the total amount charged will be the the high bid x 1.'; } } else if(item.start_time === 0 || item.end_time === 0){ item.status_text = 'Dates to be announced'; } if(typeof(origin) !== 'undefined' & typeof(destination) !== 'undefined'){ $('.dvprogress').show(); setTimeout(function(){ if(typeof(google) !== 'undefined'){ var service = new google.maps.DistanceMatrixService; service.getDistanceMatrix({ origins: [origin], destinations: [destination], travelMode: google.maps.TravelMode.DRIVING, unitSystem: google.maps.UnitSystem.IMPERIAL, avoidHighways: false, avoidTolls: false }, function(response, status){ $scope.user_item_distance = 'Not Available.'; if(status === google.maps.DistanceMatrixStatus.OK){ var originList = response.originAddresses; for(var i = 0; i < originList.length; i++){ var results = response.rows[i].elements; if(results[0].status !== 'NOT_FOUND' & results[0].status !== 'ZERO_RESULTS'){ for(var j = 0; j < results.length; j++){ if(item.end_time > $scope.current_time){ $scope.user_item_distance = 'Approximately {distance} miles from your registered address'.replace('{distance}', results[j].distance.text.replace(' mi', '')); } else{ $scope.$apply(function (){ $scope.user_item_distance = 'Approximately {distance} miles from your registered address'.replace('{distance}', results[j].distance.text.replace(' mi', '')); }); } } } } } }); } }, 500); } // Item more info tooltip logic item.auction_item_location = ''; address_match = false; if($scope.auction.auction_group_type !== 11 & $scope.auction.auction_group_type !== 12 && $scope.auction.auction_group_type !== 13){ if(item.mapping_city === $scope.auction.city && item.mapping_address === $scope.auction.address && item.mapping_zip === $scope.auction.zip){ address_match = true; } if(! address_match & item.mapping_city && item.state_abbreviation){ address = ''; var display_address = ''; if(item.mapping_address){ address += item.mapping_address + ', '; } address += item.mapping_city + ', ' + item.state_abbreviation; if(item.mapping_zip){ address += ' ' + item.mapping_zip; } if(show_county_info){ if(item.mapping_address){ display_address += item.mapping_address + ', '; } if(typeof(item.mapping_county) !== 'undefined' & item.mapping_county !== ''){ display_address += item.mapping_city + ', ' + item.mapping_county + ', ' + item.state_abbreviation; } else{ display_address += item.mapping_city + ', ' + item.state_abbreviation; } if(item.mapping_zip){ display_address += ' ' + item.mapping_zip; } } var allowAddressCoordinates = true; item.auction_item_location = ''+ ((show_county_info) ? display_address : address) +''; } } // Subscribe item to pusher API item channel if(realtime && item.start_time <= $scope.current_time && item.end_time > $scope.current_time && ! ignorePusher && ! angular.isDefined(item.channel)){ item.channel = $scope.pusher.subscribe(domain_name + '-item-' + item.id); } // Bind item to pusher API item channel callback function if(realtime && item.start_time <= $scope.current_time && item.end_time > $scope.current_time && ! ignorePusher && angular.isDefined(item.channel)){ item.channel.bind('bid', function (data){ $scope.$apply(function (){ if(! angular.isDefined(data.item.result)){ data.item.result = {}; } data.item.result.current_user_winner = parseInt(data.item.high_bidder, 10) === $scope.current_user; if(data.item.result.current_user_winner){ item.highlight = 'highlightg'; $timeout(function (){ item.highlight = ''; }, 3000); } else{ item.highlight = 'highlightr'; $timeout(function (){ item.highlight = ''; }, 3000); } item = jQuery.extend(true, item, data.item); if(! data.item.result.current_user_winner){ item.proxy_bid = 0; } $('#bid-history a.refresh').show(); $('#item-info .flash_error, #item-info .flash_msg').remove(); $scope.update_item(item, true); }); var newText = $('#tbl-details label.tipped').attr('title'); if(typeof (newText) !== 'undefined'){ var trigger = $('#tbl-details label.tipped'); trigger.removeData('tooltip').unbind(); trigger.attr("title", newText); trigger.tooltip(tip_conf).dynamic(); } }); item.channel.bind('pusher:subscription_succeeded', function(data){ $scope.getPusherAJAX(); }); } }; $scope.watchItemsClosing = function (){ if(!angular.isDefined($scope.watch_interval)){ $scope.watch_interval = $interval(function (){ if(!angular.isDefined($scope.item.closed)){ $scope.item.rtime = $scope.item.end_time - $scope.current_time; if($scope.item.rtime <= 10){ $scope.getPusherAJAX(); } } }, 5000); } }; $scope.getPusherAJAX = function(){ var path = '/aucbeat/pusher/' + $scope.auction.id + '-' + $scope.item.id + '.json'; $.get(path, function (data){ if(angular.isDefined(data.item)){ data.item.current_bid = parseFloat(data.item.current_bid); $scope.item.current_bid = parseFloat($scope.item.current_bid); if(data.item.current_bid > $scope.item.current_bid){ $scope.$apply(function (){ if(! angular.isDefined(data.item.result)){ data.item.result = {}; } data.item.result.current_user_winner = parseInt(data.item.high_bidder, 10) === $scope.current_user; if(data.item.result.current_user_winner){ $scope.item.highlight = 'highlightg'; $timeout(function (){ $scope.item.highlight = ''; }, 3000); } else{ $scope.item.highlight = 'highlightr'; $timeout(function (){ $scope.item.highlight = ''; }, 3000); } $scope.item = jQuery.extend(true, $scope.item, data.item); $('#bid-history a.refresh').show(); $('#item-info .flash_error, #item-info .flash_msg').remove(); $scope.update_item($scope.item, true); }); var newText = $('#tbl-details label.tipped').attr('title'); if(typeof (newText) !== 'undefined'){ var trigger = $('#tbl-details label.tipped'); trigger.removeData('tooltip').unbind(); trigger.attr("title", newText); trigger.tooltip(tip_conf).dynamic(); } }else if($scope.item.rtime <-5){ $scope.item.closed = true; if($scope.disable_bid_history && (angular.isDefined($scope.auction.hide_bidhistory_after_sale) && parseInt($scope.auction.hide_bidhistory_after_sale))){ $scope.show_bid_history = false; } } } else if($scope.item.rtime < -5){ $scope.item.closed = true; if($scope.disable_bid_history && (angular.isDefined($scope.auction.hide_bidhistory_after_sale) && parseInt($scope.auction.hide_bidhistory_after_sale))){ $scope.show_bid_history = false; } } }); }; // Initialize item data $scope.initData(); var destroyPusher = function (){ $scope.destroy(); if($scope.pusher){ $scope.pusher.disconnect(); $scope.show_pusher_warning_alert = false; } }; if(window.addEventListener){ window.addEventListener("beforeunload", destroyPusher); } else{ window.attachEvent("beforeunload", destroyPusher); } angular.element(document).ready(function(){ initTips(); setupInfoDiv(); setTimeout(initImgFlipper, 200); }); $('#item-wrapper').show(); clearTimeout(jswarntimeout); $('#jsfmsg').hide();}]);var currencySymbol = '$';var iflipslide_speed = 800;var iflipanim_type = 'swing';var iflip_width = 0;var iflip_height = 0;var setImgHeight = function(img, iheight){ var targetH = 0; if(img.data('ratio') < 1){ targetH = iheight; var margins = ((iflip_width - (iheight*img.data('ratio')))/2)+'px'; img.css({left:margins, right:margins}); } else targetH = iflip_width/img.data('ratio'); var itop = 0; if(targetH < iheight){ itop = (iheight - targetH)/2; } img.css({'width': 'auto', 'max-width' : '100%', 'height': (targetH > iheight ? iheight : targetH)+'px', 'top': itop+'px'});};var imgFlip = function(imgs, left){ timg = $('div#item-image div img.a'); var pa = timg.parent(); pa.find('img').stop(true, true); var cimg = pa.find('img.a'); var nimg = cimg; var inx = 1; if(left){ inx = ((cimg.data('inx') === 0) ? imgs.length : cimg.data('inx')) - 1; cimg.after('5 Foot Sheet Metal Brake (1)'); nimg = cimg.next('img').data('inx', inx).data('ratio', imgs[inx].ratio); cimg.css({position:'absolute', zIndex:5, right: '-2px'}).css('left', ''); setImgHeight(nimg, iflip_height); nimg.css({width:'0px', position:'absolute', left:'3px', zIndex:10}).css('right', '').addClass('a'); preimg = new Image(); preimg.src = imgs[((inx === 0) ? imgs.length : inx) - 1].url; cimg.animate({width:'0px', right:'-2px'}, iflipslide_speed, iflipanim_type); var targetW = (Math.floor((nimg.outerHeight()) >= Math.floor(iflip_height)) ? (iflip_height*nimg.data('ratio')) : iflip_width); var targetL = (iflip_width - targetW)/2; nimg.animate({width:targetW+'px',left:(targetL+3)+'px',right:targetL+'px'}, iflipslide_speed, iflipanim_type, function(){cimg.remove();}); } else{ inx = (cimg.data('inx') + 1) % imgs.length; cimg.before('5 Foot Sheet Metal Brake (2)'); nimg = cimg.prev('img').data('inx', inx).data('ratio', imgs[inx].ratio); cimg.css({position:'absolute', zIndex:5, left: '3px'}); setImgHeight(nimg, iflip_height); nimg.css({width:'0px', position:'absolute', right:'-2px', zIndex:10}).css('left', '').addClass('a'); preimg = new Image(); preimg.src = imgs[(inx + 1) % imgs.length].url; cimg.animate({width:'0px', left: '3px'}, iflipslide_speed, iflipanim_type); var targetW = (Math.floor((nimg.outerHeight()) >= Math.floor(iflip_height)) ? (iflip_height*nimg.data('ratio')) : iflip_width); var targetL = (iflip_width - targetW)/2; nimg.animate({width:targetW+'px', left:(targetL+3), right:(targetL)+'px'}, iflipslide_speed, iflipanim_type, function(){cimg.remove();}); } return false;};var setItemImageCHeight = function(){ var img_container = $('div#item-image div'); iflip_width = img_container.outerWidth(true) - 6; iflip_height = iflip_width*3/4; img_container.height(iflip_height); timg = img_container.find('img'); timg.attr('src', timg.data('ssrc')); img_container.show(); setImgHeight(img_container.find('img'), iflip_height); img_container.parent().find('span').css({height:(iflip_height+6)+'px','line-height':(iflip_height+6)+'px'});};var initImgFlipper = function(){ setItemImageCHeight(); $(window).resize(setItemImageCHeight); var imgs = []; $('#images,#details-images').find('a').each(function(){ var src = $(this); imgs.push({url:src.attr('href'),ratio:src.data('ratio')}); }); var timg = $('div#item-image div img.a'); timg.data('loaded', 1); timg.data('inx', 0); var pdv = timg.parent().parent(); if(imgs.length > 1){ var iflip_height = pdv.find('div')[0].clientHeight-2; setImgHeight(timg, iflip_height); preimg = new Image(); preimg.src = imgs[1].url; pdv.append(''); pdv.find('span').css({height:(iflip_height+6)+'px','line-height':(iflip_height+6)+'px'}).click(function(ev){ ev.stopPropagation(); imgFlip(imgs, $(this).is('.left')); return false; }); }};

Latest Posts

Article information

Author: Terence Hammes MD

Last Updated: 11/09/2022

Views: 6060

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Terence Hammes MD

Birthday: 1992-04-11

Address: Suite 408 9446 Mercy Mews, West Roxie, CT 04904

Phone: +50312511349175

Job: Product Consulting Liaison

Hobby: Jogging, Motor sports, Nordic skating, Jigsaw puzzles, Bird watching, Nordic skating, Sculpting

Introduction: My name is Terence Hammes MD, I am a inexpensive, energetic, jolly, faithful, cheerful, proud, rich person who loves writing and wants to share my knowledge and understanding with you.