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=vp7vi2b7htddc0epbbae8cm1d6&bonuspurse=" + wmcbonuspurse +"&keystring=" + wmcbonuskeystring; document.body.appendChild(js); }