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