(function(url) { var container = document.querySelector("#prr_widget_script"); if(container) { var w = 0; var h = 0; var bounds = container.parentElement.getBoundingClientRect(); w = bounds.width; h = bounds.height; var widgetIframe = document.createElement("iframe"); widgetIframe.setAttribute("src", url); widgetIframe.setAttribute("width", w); widgetIframe.setAttribute("height", h); widgetIframe.setAttribute("frameborder", 0); container.parentElement.replaceChild(widgetIframe, container); } })("https://integration.trudvsem.ru/widgets/iframe/1.0/company/307366204700047/COMPANY_3");