
function em(ur,ht)
{
document.write('<a href="mailto:'+ur+'@'+ht+'" style="font-weight: bold;">'+ur+'@'+ht+'</a>');
}

function mapa() 
{

	var w = 750;
	var h = 500;
	var win_x = Math.round((screen.width - w) / 2);
	var win_y = Math.round((screen.height - h) / 2);

	map = new Object;
	url = 'http://www.um.gliwice.pl/mapa/mapa.php4?RUN=MAPA.Gliwice.000.002.3320.3470';
	map = open(url, "OKNO_MAPA", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0, height=" + h + ",width=" + w + ",top=" + win_y + ",left=" + win_x);
	map.focus();
}

function OpenWindow(obr,opis,x,y)
{
msg=open("pic.php?p="+obr+"&o="+opis,"DisplayWindow","toolbar=no,directories=no,menubar=no,width="+x+",height="+y); 
}

function em1(ur,ht,nz,kl)
{
document.write('<a href="mailto:'+ur+'@'+ht+'" class="'+kl+'">'+nz+'</a>');
}

function mailuj(lng,h)
{
msg=open("mail.php?lng="+lng+"&h="+h,"DisplayWindow","toolbar=no,directories=no,menubar=no,width=600,height=500"); 
}

function em2(ur,ht,c)
{
document.write('<a href="mailto:'+ur+'@'+ht+'?subject=Zapytanie ofertowe - HEXOR" style="font-weight: bold;"> '+c+' </a>');
}

function em3(ur,ht)
{
document.write(ur+'@'+ht);
}
