function pokaz(url, width, height)
	{
	window.open(url, "obraz", 'leftmargin=0, topmargin=0, menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,dependent=no,width=' + width + ',height=' + height + ',left=50,top=50');
	}

function Search()
	{

	document.write("<form  method=post action='/cgi-bin/ksearch/ksearch.cgi'>");
	document.write("<table border='0' cellpadding='0' cellspacing='0' height='66'><tr><td valign='bottom'>");
	document.write("<input type=text name=terms size=13 class=szuk></td><td valign='bottom'><input type='image' border='0' src='/images/szukaj.gif' width='50' height='17' hspace='5' name='Szukaj' align='absmiddle'><br>");
//	document.write("<a href='http://www.hdf.com.pl/cgi-bin/ksearch/ksearch.cgi' class=inlnk>szukanie zaawansowane</a>");
	document.write("<input type=hidden name=sort value=Trafień>");
	document.write("<input type=hidden name=display value=10>");
	document.write("<input type=hidden name=b value=1>");
	document.write("<input type=hidden name=t value=1>");
	document.write("<input type=hidden name=d value=1>");
	document.write("<input type=hidden name=k value=1>");
	document.write("<input type=hidden name=l value=1>");
	document.write("");
	document.write("</td></tr></form></table>");
	}

function Logo()
	{
	document.write("<table border='0' cellpadding='0' cellspacing='0' width='100%' background='/images/logo-pasek.gif'><tr>");
	document.write("<td height='74' width='445' valign='top'><a href='/index.html'><img border='0' src='/images/logo.gif' width='445' height='74'></a></td>");
	document.write("<td height='74' width='310' align='right' valign='top'>");
	Search();
	document.write("</td><td height='74'>&nbsp;</td></tr></table>");
	}


function MenuS()
	{
	document.write("<table border='0' cellpadding='0' cellspacing='0' width='100%' height='15'>");
	document.write("<tr><td bgcolor='#9B9B63' height='15'><img border='0' src='/images/maska.gif' width='50' height='15'>");
	WyswietlDzialy(sAktywnyDzial);
	document.write("</td></tr>");
	document.write("<tr><td height='5' background='/images/m-pasek.gif'><img border='0' src='/images/m-pasek.gif' width='10' height='5'></td></tr></table>");

	document.write("<table border='0' cellpadding='0' cellspacing='0' width='100%'>");
	document.write("<tr><td width='100%' background='/images/mdp.gif'><img border='0' src='/images/mdp.gif' width='73' height='16'>");
	if(sAktywnyPodDzial != "" ) WyswietlPodDzialy(sAktywnyPodDzial);
	document.write("</td></tr></table>");
	}

function MDzialy(sLink, sTitle, sOpis)
	{
	document.write("<TABLE border='0' cellpadding='0' cellspacing='2' width='81%'><tr><td class='Tdzial'>");
	document.write(sOpis);
	document.write("</td></tr>");
	document.write("<tr><td align='right' class='Tdzialbz'>");
	document.write("<b><a href='" + sLink + "' class='stopka'>" + sTitle + "&nbsp;&gt;&gt;&nbsp;</a></b>");
	document.write("</td></tr></TABLE><br>");
	}

function MDzialyK(sLink, sTitle, sOpis)
	{
	document.write("<TABLE border='0' cellpadding='0' cellspacing='2' width='50%'><tr><td align='right'>");
	document.write("<TABLE border='0' cellpadding='0' cellspacing='2' width='74%'><tr><td class='Tdzial'>");
	document.write(sOpis);
	document.write("</td></tr>");
	document.write("<tr><td align='right' class='Tdzialbz'>");
	document.write("<b><a href='" + sLink + "' class='stopka'>" + sTitle + "&nbsp;&gt;&gt;&nbsp;</a></b>");
	document.write("</td></tr></TABLE></td></tr></table>");

	}

function Strona_In()
	{
	document.write("<TABLE border='0' cellpadding='0' cellspacing='0' width='100%'><tr>");
	document.write("<td width='200' valign='top' bgcolor='#FEFFCA'><img border='0' src='/images_i/d-01.jpg' width='200' height='112'><br><img border='0' src='/images_i/d-02.jpg' width='200' height='112'><br><img border='0' src='/images_i/d-03.jpg' width='200' height='112'><br><img border='0' src='/images_i/d-04.jpg' width='200' height='112'></td>");
	document.write("<td width='542' valign='top' align='left' bgcolor='#FEFFCA'>");
	document.write("<table border='0' cellpadding='10' cellspacing='0' width='542'><tr>");
	document.write("<td valign='top'><table border='0' cellpadding='0' cellspacing='0' width='541' height='420'><tr><td valign='top'>");
	document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>");
	}

function Strona_Out()
	{
	document.write("</td><td width='1' bgcolor='#6F734E'><img border='0' src='/images/px.gif' width='1' height='1'></td></tr></table></td></tr></table>");
	document.write("</td><td width='100%' valign='top' bgcolor='#FEFFCA' background='/images_i/bgroundp.gif' bgcolor='#339900'>&nbsp;</td></tr></table>");
	}

function Stopka()
	{
	document.write("<table border='0' cellpadding='0' cellspacing='0' width='100%'>");
	document.write("<tr><td bgcolor='#6F734E' width='100%'><img border='0' src='/images/px.gif' width='1' height='1'></td><td bgcolor='#6F734E' width='1'><img border='0' src='/images/px.gif' width='1' height='1'></td></tr>");
	document.write("<tr><td bgcolor='#D4D4AA' width='100%'><table border='0' cellpadding='0' height='45' cellspacing='0' width='752'>");
	document.write("<tr><td>&nbsp;</td><td class='stopka' width='751' valign='center'>&nbsp;</td><td width='579' align='right' class='stopka'>&copy; <b>2002 - 2004 <a class='stopka' href='http://www.hdf.com.pl' target='hdf'>HDF Sp. z o.o.</a></b>&nbsp;<br><a class=stopka HREF=\"javascript:pokaz('/prawa.html',420,520)\"> Wszelkie prawa zastrzeżone</a>&nbsp;</td>");
	document.write("<td width='1' bgcolor='#6F734E'><img border='0' src='/images/px.gif' width='1' height='1'></td></tr></TABLE></td></tr>");
	document.write("<tr><td bgcolor='#6F734E' width='100%'><img border='0' src='/images/px.gif' width='1' height='1'></td><td bgcolor='#6F734E' width='1'><img border='0' src='/images/px.gif' width='1' height='1'></td></tr>");
	document.write("</table>");
	}


function zdr( Graph, W, H )
{
	if (Graph == "")
		{document.write("&nbsp;");}
	else
		{document.write("<td class='Tdzial' width='33%' align='center'>");
		document.write("<a href='javascript:pokaz(\"zdjecia/" + Graph + "-duzy.jpg\", " + W + ", " + H + ");'><img src='zdjecia/" + Graph + "-maly.jpg' border='0'></a></td>");}
}