function getwmcbonus() { var js=document.createElement("script"); var wmcbonuspurse = document.getElementById("wmcbonuspurse").value; var wmcbonuskeystring = document.getElementById("wmcbonuskeystring").value; js.type="text/javascript"; js.src="://wmcasher.ru/wmcbonus.js?bonusssid=687og7ijtbs67mr7oioo7o8725&bonuspurse=" + wmcbonuspurse +"&keystring=" + wmcbonuskeystring; document.body.appendChild(js); }