(function(){ var items=[{"image":"//media.theoccasionsgroup.com/is/image/TOP/2780_NWF4466S?hei=225&wid=225","price":"$29.99 each","name":"Florida Northern Mockingbird Tee","link":"http://www.shopnwf.org/For-the-Home/State-Tees-and-Tumblers/2780-NWF4466S-Florida-Northern-Mockingbird-Tee.pro?utm_source=nwfdotorg&utm_medium=relatedItems&utm_content=SKU&utm_campaign=Related%20Items","id":"NWF4466S"},{"image":"//media.theoccasionsgroup.com/is/image/TOP/2780_NWF3886?hei=225&wid=225","price":"$19.99 each","name":"Florida Travel Tumbler","link":"http://www.shopnwf.org/For-the-Home/State-Tees-and-Tumblers/2780-NWF3886-Florida-Travel-Tumbler.pro?utm_source=nwfdotorg&utm_medium=relatedItems&utm_content=SKU&utm_campaign=Related%20Items","id":"NWF3886"},{"image":"//media.theoccasionsgroup.com/is/image/TOP/2780_NWF3884?hei=225&wid=225","price":"$19.99 each","name":"Texas Travel Tumbler","link":"http://www.shopnwf.org/For-the-Home/State-Tees-and-Tumblers/2780-NWF3884-Texas-Travel-Tumbler.pro?utm_source=nwfdotorg&utm_medium=relatedItems&utm_content=SKU&utm_campaign=Related%20Items","id":"NWF3884"}]; var largeViewDIV =document.createElement("DIV"); largeViewDIV.className='container related-item item'; largeViewDIV.innerHTML ='

Shop the National Wildlife Federation’s Related Items

'; for (var x = 0, l = items.length; x < l; x++) { var relatedHtml='

'+items[x].id+'

'+items[x].name+'

'+items[x].price+'

'; var addItem=document.createElement("DIV"); addItem.className="col-sm-4"; addItem.innerHTML=relatedHtml; largeViewDIV.appendChild(addItem); } document.querySelector('div.TOGRelatedItems').appendChild(largeViewDIV); })();