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