/**
 *
 * Auction Nudge
 * https://www.auctionnudge.com
 *
 * By Joseph Hawes
 * http://www.josephhawes.co.uk
 *
 */

function AN_Item_JS(){var AN=null;var h=null;var re=null;var rp={};var cid=null;var c=null;var lj=null;var mp=null;this.i=function(eid){AN=this;AN.h=document.getElementsByTagName('head')[0];AN.cid=eid;AN.re='https://trailerwarehousetownsville.com.au/?an_tool_key=item&an_request=';AN.l(window,'load',AN.r);}
this.r=function(){if(typeof window.AN_Item_ready=='function'){AN_Item_ready();}}
this.ath=function(html){AN.c=document.getElementById(AN.cid);AN.c.className+=' theme-'+AN.rp.theme;AN.c.innerHTML=html;AN.iw=document.getElementById('an-item-wrap');}
this.srp=function(p){AN.rp=p;}
this.aih=function(html){AN.iw.innerHTML=html;}
this.ce=function(type,attr,content){var e=document.createElement(type);for(key in attr){e.setAttribute(key,attr[key]);}
if(content){if(typeof content=='object'){e.appendChild(content);}else{e.innerHTML=content;}}
return e;}
this.l=function(e,event,callback){switch(event){case'load':if(typeof e.addEventListener!="undefined"){e.addEventListener("load",callback,false);}else if(typeof e.attachEvent!="undefined"){e.attachEvent("onload",callback);}else{if(e.onload!=null){var oo=e.onload;e.onload=function(e){oo(e);e[callback]();};}else{e.onload=callback;}}
break;default:if(typeof e.addEventListener!="undefined"){e.addEventListener(event,callback,false);}else if(typeof e.attachEvent!="undefined"){e.attachEvent('on'+event,callback);}
break;}}
this.aa=function(type,url){var et='';switch(type){case'css':et='link';var attr={'type':'text/css','rel':'stylesheet','href':url};break;case'js':et='script';var attr={'type':'text/javascript','src':url};break;}
AN.h.appendChild(AN.ce(et,attr,''));}
this.ri=function(){AN.sl(true);var request=AN.br();AN.pr(request);}
this.br=function(){AN.rp.action='update';var request=AN.re;for(key in AN.rp){request+='/'+key+'/'+AN.rp[key];}
return request;}
this.pr=function(request){if(AN.lj){AN.h.removeChild(AN.lj);}
var attr={'type':'text/javascript','src':request};var aj=AN.ce('script',attr,'');AN.h.appendChild(aj);AN.lj=aj;}
this.rc=function(){if(typeof window.auction_nudge_loaded=='function'){auction_nudge_loaded();}}
this.uc=function(psp,psn){if(typeof AN.up=='function'){AN.up(psp,psn);}
if(typeof window.an_item_resize=='function'){an_item_resize();}
if(typeof window.auction_nudge_loaded=='function'){auction_nudge_loaded();}}
this.sl=function(loading){if(loading){AN.c.className+=' an-loading';}else{AN.c.className=AN.c.className.replace(/( )?an-loading/g,'');}}
this.sp=function(){AN.c.className+=' an-paged';AN.pt=document.getElementById('an-page-top');AN.ptp=document.getElementById('an-page-top-prev');AN.ptn=document.getElementById('an-page-top-next');AN.pb=document.getElementById('an-page-bot');AN.pbp=document.getElementById('an-page-bot-prev');AN.pbn=document.getElementById('an-page-bot-next');var l=[AN.ptp,AN.ptn,AN.pbp,AN.pbn];for(i in l){AN.l(l[i],'click',function(e){var ele=e||window.event;var tar=ele.target||ele.srcElement;if(tar.className.indexOf('an-inactive')==-1){if(tar.className.indexOf('prev')!=-1){AN.hp('prev');}else{AN.hp('next');}}});}}
this.pl=function(type,active){if(typeof AN.pt==='undefined'){return false;}
if(type=='prev'){var ptl=AN.ptp;var pbl=AN.pbp;}else if(type=='next'){var ptl=AN.ptn;var pbl=AN.pbn;}
ptl.className=ptl.className.replace(/( )?an-inactive/g,'');pbl.className=pbl.className.replace(/( )?an-inactive/g,'');if(!active){ptl.className+=' an-inactive';pbl.className+=' an-inactive';}}
this.hp=function(a){var cp=parseInt(AN.rp.page);switch(a){case'prev':var tp=cp-1;if(cp>1){AN.rp.page=cp-1;}else{return;}
break;case'next':AN.rp.page=cp+1;break;}
if(window.location.hash!='#'+AN.cid||window.location.hash==''){window.location.hash='#'+AN.cid;}else{window.location.hash='#an-ebay-logo';}
AN.ri();}
this.hie=function(){AN.rp.page-=1;AN.mp=AN.rp.page;}
this.up=function(prev,next){AN.pl('prev',prev);AN.pl('next',next);if(AN.mp==AN.rp.page){AN.pl('next',false);}}
this.sc=function(type){AN.c.className+=' an-cats';AN.cn=document.getElementById('an-cats-nav');if(!AN.cn){return false;}
switch(type){case'dropdown':var cts=AN.cn.getElementsByTagName('option');for(i=0;i<cts.length;i++){if(cts[i].selected){AN.cs=cts[i];cts[0].innerHTML='All Categories';}}
AN.l(AN.cn,'change',function(e){var ele=e||window.event;var tar=ele.target||ele.srcElement;if(AN.hasOwnProperty('cs')){AN.cs.removeAttribute('selected');}
if(tar.options[0].innerHTML.indexOf('All')==-1){tar.options[0].innerHTML='All Categories';}
AN.cs=tar.options[tar.selectedIndex];AN.cs.setAttribute('selected','selected');AN.hc(AN.cs.getAttribute('data-cat_id'));});break;case'unstyled':var cts=AN.cn.getElementsByTagName('a');for(i=0;i<cts.length;i++){if(cts[i].className.indexOf('an-cat-selected')!=-1){AN.cs=cts[i];}
AN.l(cts[i],'click',function(e){var ele=e||window.event;var tar=ele.target||ele.srcElement;if(AN.hasOwnProperty('cs')){AN.cs.className=AN.cs.className.replace(/( )?an-cat-selected/g,'');}
AN.cs=tar;AN.cs.className+=' an-cat-selected';AN.hc(AN.cs.getAttribute('data-cat_id'));});}
break;}}
this.hc=function(id){AN.rp.categoryId=id;AN.rp.page=1;delete AN.mp;AN.ri();}
this.encode_str=function(str){return encodeURIComponent(str).replace(/[!'()*]/g,function(c){return'%'+c.charCodeAt(0).toString(16);});}
this.ss=function(type){AN.c.className+=' an-search';AN.sb=document.getElementById('an-search-box');AN.sst=document.getElementById('an-search-submit');if(!AN.sb||!AN.sst){return false;}
AN.sb.setAttribute('contentEditable','true');AN.l(AN.sb,'focus',function(e){if(AN.sb.innerHTML=='Search items...'){AN.sb.innerHTML='';}});AN.l(AN.sb,'keypress',function(e){if(e.keyCode==13){AN.hss(AN.sb.innerHTML);e.preventDefault()}});AN.l(AN.sst,'click',function(e){AN.hss(AN.sb.innerHTML);});}
this.hss=function(keyword){if(keyword!=''){keyword=keyword.replace(/<(.|\n)*?>/g,'');AN.rp.keyword=AN.encode_str(keyword);}else{delete AN.rp.keyword;}
AN.rp.page=1;delete AN.mp;AN.ri();}}var AN_Item=new AN_Item_JS();AN_Item.i('auction-nudge-items');function AN_Item_ready(){AN_Item.srp({"action":"init","theme":"responsive","page":"1","img_size":"120","cats_output":"dropdown","search_box":"1","blank":"0","show_logo":"1","lang":"english","SellerID":"bigtrailerwarehousetownsville","siteid":"15","MaxEntries":"6"});if(location.host.indexOf('ebay')!=-1||location.host.indexOf('paypal')!=-1){AN_Item.ath('<p><strong>Auction Nudge Error</strong><br />Your items can not load because the website hostname contains a disallowed keyword.</p>');}else{AN_Item.ath('<a href=\"https://www.auctionnudge.com/to_ebay/home/site_id/15/user_id/25031/tool_name/item\" rel=\"nofollow\"><img src=\"//assets-auctionnudge.s3.amazonaws.com/feed/item/img/rnoe-166x96.png\" id=\"an-ebay-logo\" width=\"83\" height=\"48\" /></a><div id=\"an-controls-top\"><div id=\"an-cats-wrap\" class=\"an-cats-dropdown\"><select id=\"an-cats-nav\"><option data-cat_id=\"0\">Filter by category:</option><option data-cat_id=\"9800\" class=\"an-cats-cat an-cat-9800\">Cars, Bikes, Boats</a><option data-cat_id=\"66468\" class=\"an-cats-cat an-cats-child an-cat-66468\">- Trailers</a><option data-cat_id=\"170769\" class=\"an-cats-cat an-cat-170769\">Industrial</a><option data-cat_id=\"257887\" class=\"an-cats-cat an-cats-child an-cat-257887\">- Heavy Machinery, Parts & Attachments</a><option data-cat_id=\"131090\" class=\"an-cats-cat an-cat-131090\">Vehicle Parts & Accessories</a><option data-cat_id=\"36632\" class=\"an-cats-cat an-cats-child an-cat-36632\">- Trailer Parts</a><option data-cat_id=\"34998\" class=\"an-cats-cat an-cats-child an-cat-34998\">- Automotive Tools & Supplies</a><option data-cat_id=\"26443\" class=\"an-cats-cat an-cats-child an-cat-26443\">- Boat Parts, Accessories</a></select></div><div id=\"an-search-wrap\"><div id=\"an-search-box\">Search items...</div><div id=\"an-search-submit\">Search</div></div></div><ul id=\"an-page-top\" class=\"an-page-wrap\"><li class=\"an-page-prev an-inactive\" id=\"an-page-top-prev\">« Previous</li><li class=\"an-page-next\" id=\"an-page-top-next\">Next »</li></ul><div id=\"an-item-wrap\"></div><ul id=\"an-page-bot\" class=\"an-page-wrap\"><li class=\"an-page-prev an-inactive\" id=\"an-page-bot-prev\">« Previous</li><li class=\"an-page-next\" id=\"an-page-bot-next\">Next »</li></ul><div><a href=\"https://www.auctionnudge.com/tools/your-ebay-items\" style=\"display:block;font-size:11px;color:#808080;text-decoration:none;font-family:Helvetica,Arial,sans-serif;text-align:center\">eBay Listings from <span style=\"color:#4374b7\">Auction Nudge</span></a></div>');AN_Item.aih('<div class=\"an-item\"><div class=\"an-title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhiaioigo\" rel=\"nofollow\">10X6 TANDEM GALVANISED TRAILER - HEAVY DUTY  FULL CHECKERPLATE  TOWNSVILLE</a></div><div class=\"an-wrap\"><div class=\"an-image an-img-size\" style=\"width:120px;height:120px;overflow:hidden\"><div class=\"image-container\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhiaioigo\" rel=\"nofollow\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><img src=\"https://thumbs1.ebaystatic.com/m/mZNxvqctKcZb1Ew8E6QbSvg/140.jpg\" /></a></div></div><div class=\"an-price\"><span class=\"an-amount\">AU &#36;3,499.00</span></div><div class=\"an-ends\"><span class=\"an-label\">Time Left:</span><span class=\"an-time\">0d 7h 11m</span></div><div class=\"an-view\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhiaioigo\" rel=\"nofollow\">Buy It Now&raquo;</a></div></div></div><div class=\"an-item alt\"><div class=\"an-title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhiai9gbg\" rel=\"nofollow\">10X6 GALVANISED CAGE TRAILER - HEAVY DUTY  FULL CHECKERPLATE  TOWNSVILLE</a></div><div class=\"an-wrap\"><div class=\"an-image an-img-size\" style=\"width:120px;height:120px;overflow:hidden\"><div class=\"image-container\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhiai9gbg\" rel=\"nofollow\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><img src=\"https://thumbs1.ebaystatic.com/m/mvZ6s9nDfPM3_lBcTXSGuRg/140.jpg\" /></a></div></div><div class=\"an-price\"><span class=\"an-amount\">AU &#36;4,000.00</span></div><div class=\"an-ends\"><span class=\"an-label\">Time Left:</span><span class=\"an-time\">0d 7h 14m</span></div><div class=\"an-view\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhiai9gbg\" rel=\"nofollow\">Buy It Now&raquo;</a></div></div></div><div class=\"an-item\"><div class=\"an-title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhia3gf3o\" rel=\"nofollow\">10x5 TANDEM GALVANISED CAGE TRAILER HEAVY DUTY  FULL CHECKERPLATE  TOWNSVILLE</a></div><div class=\"an-wrap\"><div class=\"an-image an-img-size\" style=\"width:120px;height:120px;overflow:hidden\"><div class=\"image-container\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhia3gf3o\" rel=\"nofollow\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><img src=\"https://thumbs1.ebaystatic.com/m/muPLl3-scK6LsMNLxzrhGIA/140.jpg\" /></a></div></div><div class=\"an-price\"><span class=\"an-amount\">AU &#36;3,500.00</span></div><div class=\"an-ends\"><span class=\"an-label\">Time Left:</span><span class=\"an-time\">0d 7h 40m</span></div><div class=\"an-view\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhia3gf3o\" rel=\"nofollow\">Buy It Now&raquo;</a></div></div></div><div class=\"an-item alt\"><div class=\"an-title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3b44b6ceoi\" rel=\"nofollow\">6X4 VAN TRAILERS ENCLOSED 5FT HIGH SINGLE AXLE BOX TRAILER FOR SALE  TOWNSVILLE</a></div><div class=\"an-wrap\"><div class=\"an-image an-img-size\" style=\"width:120px;height:120px;overflow:hidden\"><div class=\"image-container\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3b44b6ceoi\" rel=\"nofollow\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><img src=\"https://thumbs3.ebaystatic.com/m/m1pt3hI6o0WVmhZt9gZsT7A/140.jpg\" /></a></div></div><div class=\"an-price\"><span class=\"an-amount\">AU &#36;4,320.00</span></div><div class=\"an-ends\"><span class=\"an-label\">Time Left:</span><span class=\"an-time\">0d 8h 22m</span></div><div class=\"an-view\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3b44b6ceoi\" rel=\"nofollow\">Buy It Now&raquo;</a></div></div></div><div class=\"an-item\"><div class=\"an-title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhia7fido\" rel=\"nofollow\">9x5 TANDEM BUDGET SPECIAL TRAILER 15\" HIGH SIDES FULL CHECKERPLATE  TOWNSVILLE</a></div><div class=\"an-wrap\"><div class=\"an-image an-img-size\" style=\"width:120px;height:120px;overflow:hidden\"><div class=\"image-container\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhia7fido\" rel=\"nofollow\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><img src=\"https://thumbs1.ebaystatic.com/m/mJjUvG1PIH_y2LrDVBGZdXA/140.jpg\" /></a></div></div><div class=\"an-price\"><span class=\"an-amount\">AU &#36;2,915.00</span></div><div class=\"an-ends\"><span class=\"an-label\">Time Left:</span><span class=\"an-time\">0d 11h 51m</span></div><div class=\"an-view\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bhia7fido\" rel=\"nofollow\">Buy It Now&raquo;</a></div></div></div><div class=\"an-item alt\"><div class=\"an-title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bh3ba43bi\" rel=\"nofollow\">14x6\'6 Semi Flat Car Carrier Trailer  Full checkerplate 2x7ft Ramps, Townsville</a></div><div class=\"an-wrap\"><div class=\"an-image an-img-size\" style=\"width:120px;height:120px;overflow:hidden\"><div class=\"image-container\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bh3ba43bi\" rel=\"nofollow\" style=\"width:120px;height:120px;max-width:120px;max-height:120px;\"><img src=\"https://thumbs3.ebaystatic.com/m/m9d6UViVoxqdP9__JmEWzcQ/140.jpg\" /></a></div></div><div class=\"an-price\"><span class=\"an-amount\">AU &#36;4,940.00</span></div><div class=\"an-ends\"><span class=\"an-label\">Time Left:</span><span class=\"an-time\">6d 16h 17m</span></div><div class=\"an-view\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/25031/tool_name/item/item_hash/3bh3ba43bi\" rel=\"nofollow\">Buy It Now&raquo;</a></div></div></div>');AN_Item.sp();AN_Item.pl('next',true);AN_Item.sc('dropdown');AN_Item.ss();AN_Item.aa('css','//assets-auctionnudge.s3.amazonaws.com/feed/item/css/responsive-080818.gz.css');AN_Item.aa('js','//assets-auctionnudge.s3.amazonaws.com/feed/item/js/responsive-080317.gz.js');AN_Item.rc();}}