<!--

//function openfoto(file, windowW, windowH, target, title, bgcolor, bordercolor) {
//	if (target == undefined) target = 'win_kia';
//	if (title == undefined) title = 'Galeria';
//	if (bgcolor == undefined) bgcolor = '#000000';
//	if (bordercolor == undefined) bordercolor = bgcolor;
//	windowW += 30; windowH += 50; windowX = ((screen.width - windowW) / 2); windowY = ((screen.height - windowH) / 2);
//	win = window.open('./', target,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=12000,top=12000,width=100,height=100'); win.document.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-2"><title>' + title +'</title></head><body bgcolor=' + bgcolor + ' leftmargin=0 topmargin=0><table cellpadding=0 cellspacing=0 border=0 width=100% height=100%><td align=center valign=center><img src="./' + file + '" style="border: solid 1px ' + bordercolor + '"></td></table></body></html>'); win.document.close();
//	win.resizeTo(windowW, windowH); win.moveTo(windowX, windowY); win.focus();
//}

function openfoto2(file, windowW, windowH, scroll, target, title, bgcolor, bordercolor ) {
	if (!target) target = 'win_kia';
	if (!title) title = 'Galeria';
	if (!bgcolor) bgcolor = '#E6F79F';
	if (!bordercolor) bordercolor = bgcolor;
	if (!scroll) scroll = 'yes';
	
	windowW += 30; windowH += 50; windowX = ((screen.width - windowW) / 2); windowY = ((screen.height - windowH) / 2);
	win = window.open('./', target,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars='+scroll+',resizable=no,left=12000,top=12000,width=550,height=500'); win.document.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-2"><title>' + title +'</title></head><body bgcolor=' + bgcolor + ' leftmargin=0 topmargin=0><table cellpadding=0 cellspacing=0 border=0 width=100% height=100%><td align=center valign=center><img src="./' + file + '" style="border: solid 1px ' + bordercolor + '"></td></table></body></html>'); win.document.close();
	win.resizeTo(windowW, windowH); win.moveTo(windowX, windowY); win.focus();
}

//-->