/*
function showImg(file, descr, wWidth,wHeight) {
	var previewWin = window.open("","preview","width=" + wWidth + ", height=" + wHeight + ", location=no, status=no, resizeble=no, toolbar=no, menubar=no, scrollbars=yes");
	previewWin.document.open();
	previewWin.document.writeln("<html>");
	previewWin.document.writeln("<head>");
	previewWin.document.writeln("  <title>ΛΕΠΤΟΜΕΡΕΙΕΣ</title>");
	previewWin.document.writeln("  <meta http-equiv='Content-Type' content='text/html; charset=utf-8'>");
	previewWin.document.writeln("</head>");
	previewWin.document.writeln("<body bgcolor='#eeeeee'  style='margin:5 0 0 0'>");
	previewWin.document.writeln("<table width='"+wWidth+"' border='0' cellpadding='0' cellspacing='2'>");
	previewWin.document.writeln("<tr>")
	previewWin.document.writeln("  <td align='center'><img src='" + file + "', border='1' ></td>");
	previewWin.document.writeln("</tr>");
  previewWin.document.writeln("<tr>");
  previewWin.document.writeln("  <td align='center'><font size='2' face='Verdana, Arial, Helvetica, sans-serif'>" + descr + "</font></td>");
	previewWin.document.writeln("</tr>");
	previewWin.document.writeln("<tr>")
	previewWin.document.writeln("  <td align='center'><input type='button' value='Close Window'  onClick='window.close()'></td>");
	previewWin.document.writeln("</tr>");
	previewWin.document.writeln("</table>");
	previewWin.document.writeln("</body>");
	previewWin.document.writeln("</html>");
	previewWin.document.close();

}

function openWindow(hRef, wWidth, wHeight){
	window.open(hRef,'newWin',"width=" + wWidth + ", height=" + wHeight + ", location=no, status=no, resizeble=no, toolbar=no, menubar=no, scrollbars=no");
}
*/
function showImg(file, descr, wWidth, wHeight, nav) {
	imgWin = window.open("/core/image_win.php?file="+file+"&desc="+descr+
	"&w="+wWidth+"&h="+wHeight+"&nav="+nav, "image", "width=300, height=200, location=no, status=no, resizable=no, toolbar=no, menubar=no, scrollbars=yes");
}
