(function(){ var items=[{"image":"//media.theoccasionsgroup.com/is/image/TOP/2780_BFRG50?hei=225&wid=225","price":"$50.00 Adoption Kit","name":"Adopt a Barking Tree Frog","link":"http://www.shopnwf.org/Adoption-Center/50-Adoptions/2780-BFRG50-Adopt-a-Barking-Tree-Frog.pro?utm_source=nwfdotorg&utm_medium=relatedItems&utm_content=SKU&utm_campaign=Related%20Items","id":"BFRG50"},{"image":"//media.theoccasionsgroup.com/is/image/TOP/2780_BFRG35?hei=225&wid=225","price":"$35.00 Adoption Kit","name":"Adopt a Barking Tree Frog","link":"http://www.shopnwf.org/Adoption-Center/Adopt-a-Barking-Tree-Frog/2780-BFRG35-Adopt-a-Barking-Tree-Frog.pro?utm_source=nwfdotorg&utm_medium=relatedItems&utm_content=SKU&utm_campaign=Related%20Items","id":"BFRG35"},{"image":"//media.theoccasionsgroup.com/is/image/TOP/2780_BFRG25?hei=225&wid=225","price":"$25.00 Adoption Kit","name":"Adopt a Barking Tree Frog","link":"http://www.shopnwf.org/Adoption-Center/Adopt-a-Barking-Tree-Frog/2780-BFRG25-Adopt-a-Barking-Tree-Frog.pro?utm_source=nwfdotorg&utm_medium=relatedItems&utm_content=SKU&utm_campaign=Related%20Items","id":"BFRG25"}]; 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); })();