/**
 *
 * 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='http://toyfigureworld.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);}}}var AN_Item=new AN_Item_JS();AN_Item.i('auction-nudge-items');function AN_Item_ready(){AN_Item.srp({"action":"init","theme":"columns","page":"1","img_size":"80","cats_output":false,"blank":"0","show_logo":"1","SellerID":"toyfigureworld","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/12881/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><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=\"http://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('<table class=\"columns\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\"><tr><th class=\"image\">Picture</th><th class=\"title\">Product</th><th class=\"bids\">Bids</th><th class=\"price\">Price</th><th class=\"ends\" align=\"center\">Time Left</th></tr><tr class=\"alt\"><td class=\"image\" valign=\"top\"><div class=\"image-container\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/he9oifheeb\" rel=\"nofollow\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><img src=\"//thumbs4.ebaystatic.com/m/mmxUnGAQ_ZZZaMHopSTvwBQ/140.jpg\" /></a></div></td><td class=\"title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/he9oifheeb\" rel=\"nofollow\">The Walking Dead Funko: Blood Splatter Tank Walker Vinyl Figure (NEW NO Tags)</a></td><td class=\"bids\" width=\"60\" align=\"center\">-</td><td class=\"price\" width=\"80\">AU &#36;9.00<br /><small>Buy It Now</small></td><td class=\"ends\" width=\"60\" align=\"center\"><small>0d 2h 24m</small></td></tr><tr><td class=\"image\" valign=\"top\"><div class=\"image-container\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/ihgll3gddf\" rel=\"nofollow\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><img src=\"//thumbs4.ebaystatic.com/m/mvhaF9udLFGRCRi_o_IviYQ/140.jpg\" /></a></div></td><td class=\"title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/ihgll3gddf\" rel=\"nofollow\">Hasbro Marvel Mashers Star Lord 6\" SuperHero Figure (New Without Tags or Box)</a></td><td class=\"bids\" width=\"60\" align=\"center\">-</td><td class=\"price\" width=\"80\">AU &#36;16.00<br /><small>Buy It Now</small></td><td class=\"ends\" width=\"60\" align=\"center\"><small>0d 3h 2m</small></td></tr><tr class=\"alt\"><td class=\"image\" valign=\"top\"><div class=\"image-container\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/he9hdb3eg9\" rel=\"nofollow\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><img src=\"//thumbs2.ebaystatic.com/m/mRoWzWNGyDK0NkNXNWST1oQ/140.jpg\" /></a></div></td><td class=\"title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/he9hdb3eg9\" rel=\"nofollow\">MATTEL WWE Wrestling - Bray Wyatt Action Figure (New without Tags or Box)</a></td><td class=\"bids\" width=\"60\" align=\"center\">-</td><td class=\"price\" width=\"80\">AU &#36;16.00<br /><small>Buy It Now</small></td><td class=\"ends\" width=\"60\" align=\"center\"><small>0d 3h 42m</small></td></tr><tr><td class=\"image\" valign=\"top\"><div class=\"image-container\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/hecc73ocb9\" rel=\"nofollow\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><img src=\"//thumbs2.ebaystatic.com/m/mNfARmCPJfnD90mljDh61lQ/140.jpg\" /></a></div></td><td class=\"title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/hecc73ocb9\" rel=\"nofollow\">Transformer Mashers Soundwave 6\" SuperHero Figure (New Without Tags or Box)</a></td><td class=\"bids\" width=\"60\" align=\"center\">-</td><td class=\"price\" width=\"80\">AU &#36;18.00<br /><small>Buy It Now</small></td><td class=\"ends\" width=\"60\" align=\"center\"><small>0d 4h 31m</small></td></tr><tr class=\"alt\"><td class=\"image\" valign=\"top\"><div class=\"image-container\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/ih3le47o9h\" rel=\"nofollow\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><img src=\"//thumbs2.ebaystatic.com/m/mdi6_yYxKfPPXHtj_kEhxpg/140.jpg\" /></a></div></td><td class=\"title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/ih3le47o9h\" rel=\"nofollow\">Loot Crate Exclusive DC Comics The Joker Painted Wooden Figure (BRAND NEW!)</a></td><td class=\"bids\" width=\"60\" align=\"center\">-</td><td class=\"price\" width=\"80\">AU &#36;9.50<br /><small>Buy It Now</small></td><td class=\"ends\" width=\"60\" align=\"center\"><small>0d 10h 41m</small></td></tr><tr><td class=\"image\" valign=\"top\"><div class=\"image-container\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/heoec9c34b\" rel=\"nofollow\" style=\"width:80px;height:80px;max-width:80px;max-height:80px;\"><img src=\"//thumbs4.ebaystatic.com/m/mw5TSe1aVP-LAL-kA2m9XDw/140.jpg\" /></a></div></td><td class=\"title\"><a href=\"https://www.auctionnudge.com/to_ebay/item/site_id/15/user_id/12881/tool_name/item/item_hash/heoec9c34b\" rel=\"nofollow\">Lord of the Rings - RING : Gold PLATED (New Without Tags or Box)</a></td><td class=\"bids\" width=\"60\" align=\"center\">-</td><td class=\"price\" width=\"80\">AU &#36;7.00<br /><small>Buy It Now</small></td><td class=\"ends\" width=\"60\" align=\"center\"><small>0d 12h 21m</small></td></tr></table>');AN_Item.sp();AN_Item.pl('next',true);AN_Item.aa('css','//assets-auctionnudge.s3.amazonaws.com/feed/item/css/columns-080317.gz.css');AN_Item.rc();}}