o = '+48 50';
r = ' 900';
p = '3 085';
s = 'wp.pl';
t = 'Mail ze strony http://wojtekkorda.pl';
u = 'kordawojtek';
var el = document.getElementById("kon");
var div = document.createElement('div');
	div.setAttribute("class", "ko4");
    el.appendChild(div);
var sel = el.lastChild; // sel=div
var a = document.createElement('a');
	a.setAttribute("class", "menu");
	a.setAttribute("href", 'mailto:' + u + 'qwesr6thf345sdhb' + s + '?subject=' + t);
	a.setAttribute("onmousedown", "this.href=this.href.replace(\'qwesr6thf345sdhb\',\'@\')");
	a.setAttribute("onkeydown", "this.onmousedown()");
	sel.appendChild(a); // div->a
var selt = sel.lastChild; //selt = a
var frag = document.createDocumentFragment();
	selt.appendChild(frag.appendChild(document.createTextNode('e-mail')));
// odstęp
var span = document.createElement ('span');
	sel.appendChild(span);
var selt = sel.lastChild;
var frag = document.createDocumentFragment();
	selt.appendChild(frag.appendChild(document.createTextNode('\xA0\xA0\xA0\xA0\xA0\xA0')));
// telefon
var span = document.createElement ('span');
	span.setAttribute("class", "menu");
	sel.appendChild(span);
var selt = sel.lastChild;
var frag = document.createDocumentFragment();
	selt.appendChild(frag.appendChild(document.createTextNode('tel. ' + o + p + r)));
