var tbkey='e316e3cfc4d8ab1d7d39847ab2c95dd2'; function showTBURL(element_id) { var element = document.getElementById(element_id); element.innerHTML = 'http://shorties.be/2007/wim-t/pivot/tb.php?tb_id=25&key=' + tbkey; } function showTBURLgen(element_id, tburl_gen) { var element = document.getElementById(element_id); element.innerHTML = tburl_gen; }