/* auctionnudge.com (v2025.6.2) by morehawes.ca */ function AN_Item_JS(){var AN=null;var head=null;var request_endpoint=null;var request_params={};var container=null;var last_js=null;var max_pages=null;this.init=function(params={}){AN=this;AN.config={target_div_id:'auction-nudge-items',request_params:{},template_html:'',item_html:'',page_active:false,page_show_next:false,page_show_prev:false,cats_output:false,search_box:false,load_styles:[],load_scripts:[]};AN.update_config(params);AN.head=document.getElementsByTagName('head')[0];AN.request_endpoint='https://pawndetroit.com/?an_action=item_request&an_request=';AN.listen(window,'load',AN.ready);} this.update_config=function(params={}){for(i in params){if(typeof AN.config[i]!=='undefined'){AN.config[i]=params[i];}}} this.ready=function(){AN.container=document.getElementById(AN.config.target_div_id);if(AN.container===null){AN.console_error('Container #'+AN.config.target_div_id+' not found.');return false;} if(AN.container.className.indexOf('auction-nudge-items')===-1){AN.container.className+=' '+'auction-nudge-items';} AN.container.className+=' theme-'+AN.config.request_params.theme;AN.add_template_html(AN.config.template_html);AN.add_item_html(AN.config.item_html);if(AN.config.page_active){AN.setup_pagination();AN.page_links('next',AN.config.page_show_next);} if(AN.config.cats_output){AN.setup_cats(AN.config.cats_output);} if(AN.config.search_box){AN.setup_search();} if(AN.config.load_styles.length>0){for(i in AN.config.load_styles){AN.add_asset('css',AN.config.load_styles[i]);}} if(AN.config.load_scripts.length>0){for(i in AN.config.load_scripts){AN.add_asset('js',AN.config.load_scripts[i]);}} AN.ready_callback();} this.update=function(params={}){AN.update_config(params);AN.show_loading(false);if(AN.config.item_html){AN.add_item_html(AN.config.item_html);}else{AN.handle_items_end();} AN.update_callback(AN.config.page_show_prev,AN.config.page_show_next);} this.console_error=function(text=''){console.log('Auction Nudge Error: '+text+'');} this.add_template_html=function(html){if(location.host.indexOf('ebay')!=-1||location.host.indexOf('paypal')!=-1){html='

Auction Nudge Error
Your items can not load because the website hostname contains a disallowed keyword.

';} AN.container.innerHTML=html;AN.item_wrap=AN.container.getElementsByClassName('an-item-wrap')[0];} this.add_item_html=function(html){AN.item_wrap.innerHTML=html;} this.create_element=function(type,attr,content){var ele=document.createElement(type);for(key in attr){ele.setAttribute(key,attr[key]);} if(content){if(typeof content=='object'){ele.appendChild(content);}else{ele.innerHTML=content;}} return ele;} this.listen=function(ele,event,callback){if(typeof ele!=='object'){AN.console_error('Element not found');return false;} switch(event){case'load':if(typeof ele.addEventListener!="undefined"){ele.addEventListener("load",callback,false);}else if(typeof ele.attachEvent!="undefined"){ele.attachEvent("onload",callback);}else{if(ele.onload!=null){var old_onload=ele.onload;ele.onload=function(e){old_onload(e);e[callback]();};}else{ele.onload=callback;}} break;default:if(typeof ele.addEventListener!="undefined"){ele.addEventListener(event,callback,false);}else if(typeof ele.attachEvent!="undefined"){ele.attachEvent('on'+event,callback);} break;}} this.add_asset=function(type,url){var e_type='';switch(type){case'css':e_type='link';var styles=AN.head.getElementsByTagName(e_type);for(i=0;i1){AN.config.request_params.page=curr_page-1;}else{return;} break;case'next':AN.config.request_params.page=curr_page+1;break;} if(window.location.hash!='#'+AN.config.target_div_id||window.location.hash==''){window.location.hash='#'+AN.config.target_div_id;}else{window.location.hash='';window.location.hash='#'+AN.config.target_div_id;} AN.request_items();} this.handle_items_end=function(){AN.config.request_params.page-=1;AN.max_pages=AN.config.request_params.page;} this.update_pagination=function(prev,next){AN.page_links('prev',prev);AN.page_links('next',next);if(AN.max_pages==AN.config.request_params.page){AN.page_links('next',false);}} this.setup_cats=function(type){AN.container.className+=' an-cats';AN.cats_nav=AN.container.getElementsByClassName('an-cats-nav')[0];if(!AN.cats_nav){return false;} switch(type){case'dropdown':var cats=AN.cats_nav.getElementsByTagName('option');for(i=0;i/g,'');AN.config.request_params.keyword=AN.encode_str(keyword);}else{delete AN.config.request_params.keyword;} AN.config.request_params.page=1;delete AN.max_pages;AN.request_items();}} var AN_Item_1019f2423=new AN_Item_JS();AN_Item_1019f2423.init({target_div_id:'auction-nudge-1019f2423',request_params:{"target":"1019f2423","action":"init","theme":"responsive","page":"1","img_size":"248","cats_output":"dropdown","search_box":"1","user_profile":"0","add_details":"0","show_logo":"1","lang":"english","SellerID":"pawndetroit","siteid":"0","MaxEntries":"18"},template_html:'
Ad Clicking an item will take you to eBay, who may pay a referral commission if a purchase is made (?)
Search items...
Search
',item_html:'',page_active:true,page_show_next:true,cats_output:'dropdown',search_box:true,load_styles:["https:\/\/www.auctionnudge.app\/assets\/feed\/item\/css\/all.css.gz?v=2025.6.2"],load_scripts:["https:\/\/www.auctionnudge.app\/assets\/feed\/item\/js\/responsive.js.gz?v=2025.6.2"],});