window.onload=function(){var a=chrome.extension.getBackgroundPage(),b=a.markingInfo;if(b&&b.popupImageSrc){var c=document.getElementById("link"),d=new Image;d.onload=function(){c.style.backgroundImage="url("+b.popupImageSrc+")",c.style.width=d.width+"px",c.style.height=d.height+"px"},d.src=b.popupImageSrc,c.onclick=function(){localStorage.removeItem("pv"),chrome.wow.stats.record(!1,"3.3.1.1.2","ad="+(b.index+1)),chrome.tabs.getSelected(function(){chrome.tabs.create({url:b.popupLinkUrl})}),chrome.tabs.query({},function(a){for(var b=0,c=a.length;b<c;b++)chrome.pageAction.hide(a[b].id)})}}};