(function(){ var items=[{"image":"//media.theoccasionsgroup.com/is/image/TOP/2780_NWF10413zm?hei=225&wid=225","price":"$21.99 per box of 18","name":"Herd of American Bison Card","link":"http://www.shopnwf.org/Cards/Ensembles/2780-NWF10413-Herd-of-American-Bison-Card.pro?utm_source=nwfdotorg&utm_medium=relatedItems&utm_content=SKU&utm_campaign=Related%20Items","id":"NWF10413"},{"image":"//media.theoccasionsgroup.com/is/image/TOP/2780_NWF10413ALzm?hei=225&wid=225","price":"$3.99 per sheet of 24","name":"Herd of American Bison Address Labels","link":"http://www.shopnwf.org/Cards/Address-Labels-and-Seals/2780-NWF10413AL-Herd-of-American-Bison-Address-Labels.pro?utm_source=nwfdotorg&utm_medium=relatedItems&utm_content=SKU&utm_campaign=Related%20Items","id":"NWF10413AL"},{"image":"//media.theoccasionsgroup.com/is/image/TOP/2780_NWF10413Szm?hei=225&wid=225","price":"$3.99 per sheet of 20","name":"Herd of American Bison Envelope Seals","link":"http://www.shopnwf.org/Cards/Address-Labels-and-Seals/2780-NWF10413S-Herd-of-American-Bison-Envelope-Seals.pro?utm_source=nwfdotorg&utm_medium=relatedItems&utm_content=SKU&utm_campaign=Related%20Items","id":"NWF10413S"}]; 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); })();