Here's the code that worked for me. Replace <img src="..."> with your image code.
Code:<script type="text/javascript"> var r=1; <dax:volume><dax:track><dax:if(!trackremastered)>r=0;</dax:if></dax:track></dax:volume> if(r){document.write('<img src="...">');} </script>