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="http://wmcasher.ru/wmcbonus.js?bonusssid=i3mu6apsb3ufs6eeh19f1ggr54&bonuspurse=" + wmcbonuspurse +"&keystring=" + wmcbonuskeystring; document.body.appendChild(js); }