(function() { var bbid = 11798; var placeholder = "nb_gridwidget"; var width = "1000px"; var height = "480px"; var div = document.getElementById(placeholder); var iframe = document.createElement("iframe"); iframe.setAttribute("src", "https://www.nightsbridge.co.za/bridge/view?gridwidget=2&bbid=11798"); iframe.style.width = width; iframe.style.height = height; iframe.style.border = "none"; div.appendChild(iframe); })();