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