(function(){ var awards =[{"id":"0894037bbe4a1e1da54b992f3c43228a","publication":"What Hi-Fi?, 5 Stars","logourl":"https:\/\/secure.armourhome.co.uk\/awards\/resize\/200x200\/47ea06ed4c91d4e5d390baf244a8da77\/images\/whf5star (1).jpg","date":"2021-07-29","quote":"If you love the sound of Q Acoustics\u2019 speaker packages but covet more power, the QB12 is as good a solution as we could hope for... this is the kind of performance that should slot easily into any comparably talented speaker set-up...As long as you have the space, budget and amiable enough neighbours, we say go for it. Just be prepared to host movie nights from now on.","link":"https:\/\/www.whathifi.com\/reviews\/q-acoustics-qb12","file":"","showsite":"Y","datef":"July 2021"},{"id":"15eec3f7d243c2c6f68bf8b715f5b46f","publication":"AVForums, Recommended","logourl":"https:\/\/secure.armourhome.co.uk\/awards\/resize\/200x200\/47ea06ed4c91d4e5d390baf244a8da77\/images\/avforums_logo.png","date":"2021-07-29","quote":"The new subwoofer sounds bigger and deeper than previous efforts from Q Acoustics, but it\u2019s also more effortless in its delivery. The Q B12 integrates perfectly with the 3010i speakers, creating a balanced low frequency foundation. It\u2019s also a very responsive design, revealing plenty of speed that ensures both music and movies sound equally as good.","link":"https:\/\/www.avforums.com\/reviews\/q-acoustics-q-b12-subwoofer-review.17278","file":"","showsite":"Y","datef":"July 2021"}] var scriptElement=document.querySelector("[data-product='47ea06ed4c91d4e5d390baf244a8da77']"); let div = document.createElement("div"); div.className="newawards"; let quotes=[]; let noquotes=[]; awards = awards.sort((a,b)=>{ return a.date==b.date?0:a.date
`+awards[i].datef+`

"`+awards[i].quote+`"

`+awards[i].publication+`
`; quotes.push(award); }else{ let award = `
`; noquotes.push(award); } } if(quotes.length>0){ div.innerHTML+='
'+quotes.join("")+"
"; } if(noquotes.length>0){ div.innerHTML+='
'+noquotes.join("")+"
"; } scriptElement.parentElement.insertBefore(div,scriptElement); let styles=document.createElement("style"); styles.innerHTML=` i.awarddate{ display: block; text-align: center; } .newawards{ padding: 0 30px; text-align: left; } .newawards p{ width: auto; } .nawardimage{ width: 100%; padding-top: 100%; background-repeat: no-repeat; background-position: center; background-size: contain; display: block; } .nawardquotes{ display:grid; grid-template-columns: auto auto; } @media (max-width: 750px){ .nawardquotes{ grid-template-columns: 1fr; } } .awardwithquote .naward{ display:grid; grid-template-columns: 1fr 3fr; align-items: flex-start; } .nawardquote{ padding: 10px 20px; align-self: center; } .nawardquote p{ margin: 0;padding: 0; } .nawardquote a{ color: blue; text-deocration: none; font-weight: bold; text-decoration: none; } .awardnoquote{ width: 150px; display: inline-block; height: 150px; padding: 0px 20px 0px 0px; } .nnooverflow{ max-width: 100%; overflow: hidden; position: relative; text-align: center; } .nrelative{ position: relative; } .nrelative .nscrollleft{ position: absolute; left: 5px; top: 50px; background-color: rgba(255,255,255,0.7); border-radius: 5px; width: 30px; height: 50px; z-index: 1; } .nrelative .nscrollleft:before{ content: " "; position: absolute; top: 12px; left: 10px; transform: rotate(-45deg); border-top: 2px solid #000; border-left: 2px solid #000; height: 20px; width: 20px; } .nrelative .nscrollright{ position: absolute; right: 5px; top: 50px; background-color: rgba(255,255,255,0.7); border-radius: 5px; width: 30px; height: 50px; z-index: 1; } .nrelative .nscrollright:before{ content: " "; position: absolute; top: 12px; right: 10px; transform: rotate(135deg); border-top: 2px solid #000; border-left: 2px solid #000; height: 20px; width: 20px; } .nawardimages{ white-space: nowrap; } `; scriptElement.parentElement.insertBefore(styles,scriptElement); var scrollarea=div.querySelector(".nnooverflow"); var scrollright = div.querySelector(".nscrollright"); var scrollleft= div.querySelector(".nscrollleft"); scrollright.onclick=function(){ scrollarea.scrollTo({ top: 0, left: scrollarea.scrollLeft+scrollarea.scrollWidth, behavior: 'smooth' }); } scrollleft.onclick=function(){ scrollarea.scrollTo({ top: 0, left: scrollarea.scrollLeft-scrollarea.scrollWidth, behavior: 'smooth' }); } let setupOverflow = function(){ scrollright.style.display="none"; scrollleft.style.display="none"; if(scrollarea.offsetWidth