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