document.getElementById('all_online').innerHTML = 1; function Balken(txt,val, clr, o_element, perc_online) { o_content = o_content + " " + val + " " + txt + "
"; return o_content ; } var o_content = ""; Balken("Männer ",0,"#FFB299", "m_online", 0); Balken("Frauen ",1,"#FFB299", "w_online", 70); document.getElementById('graph_online').innerHTML = o_content; var a = document.referrer; var b = ""; if (a.length) { for (i = 0; i < a.length; i++) { if (a.substring(i,i+1) == "/") { b = b + "+"; } else { b = b + a.substring(i,i+1); } } document.writeln(''); }