var tbkey='a81e97b217ec0621e599f3f79c670a27'; function showTBURL(element_id) { var element = document.getElementById(element_id); element.innerHTML = 'http://futanari.in/pivot/tb.php?tb_id=25&key=' + tbkey; } function showTBURLgen(element_id, tburl_gen) { var element = document.getElementById(element_id); element.innerHTML = tburl_gen; }