//---------------- show_img.js ---------------------------

liczs=0;

function show(tytul,nazwa,sz,w,comment,tekst) {



szerokosc=sz;

wysokosc=w+(14*tekst);

config='left='+(screen.width-szerokosc)/2+',top='+(screen.height-wysokosc)/2+',width='+szerokosc+',height='+wysokosc+',innerheight='+wysokosc+',innerwidth='+szerokosc+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no';

ble='foto' + liczs;

huzar=window.open('',ble,config)

huzar.document.write('<HTML><HEAD>');

huzar.document.write('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">');

huzar.document.write('<TITLE>'+tytul+'</title>');

huzar.document.write('</HEAD>');

huzar.document.write('<body bgcolor=white text=black leftmargin=0 topmargin=0 marginheight=0 marginwidth=0>');

huzar.document.write('<DIV align=center>');

huzar.document.write('<a href=# onclick="javascript:self.close();"><img alt="(Kliknij obrazek by zamkn±æ to okno)" src='+nazwa+' width='+sz+' height='+w+' border=0></A><br>');

huzar.document.write('<font size="1" face="Arial, Verdana, Tahoma">'+comment+'</font>');

huzar.document.write('</DIV>');

huzar.document.write('</body></html>');

huzar.focus();

liczs+=1;

}

//-------------- print.js ---------------------------------------

liczd=0;

function drukuj(co) {

	
	szerokosc=700;

	wysokosc=500;

	config='left='+(screen.width-szerokosc)/2+',top='+(screen.height-wysokosc)/2+',width='+szerokosc+',height='+wysokosc+',innerheight='+wysokosc+',innerwidth='+szerokosc+',toolbar=no,menubar=no,location=no,personalbar=no,scrollbars=yes,directories=no,status=no,resizable=no';

ble='drukowanie' + liczd;

	huzar=window.open('print.php?co='+co,ble,config)

	huzar.focus();

}

//------------ openwin.js ------------------------------

<!--
var flag=0;
function openCentered(theURL,winName,winWidth,winHeight,features) {
 var w = (screen.width - winWidth)/2;
 var h = (screen.height - winHeight)/2 - 30;
 features = features+',width='+winWidth+',height='+winHeight+',top='+h+',left='+w;
 window.open(theURL,winName,features);
}
//-->

//------------ dealerzy.js ------------------------------

function writeText(txt)

{

document.getElementById("desc").innerHTML=txt

}

//------------------------------------------------------

