var desktop = document.createElement("script"); desktop.type = "text/javascript"; desktop.src = "//scripts.psyma.com/layer_question.php?xmlPath=abfr/abfr12_audi"; document.body.appendChild(desktop);