function ShowFotoFullSize(path, name, nameWin, w, h)
{
	var screenWidth = 0;
	var screenHeight = 0;
				
	if (self.screen) 
	{   
        	screenWidth = screen.width
        	screenHeight = screen.height
	}
	else if (self.java) 
	{   
       		var jkit = java.awt.Toolkit.getDefaultToolkit();
       		var scrsize = jkit.getScreenSize();       
       		screenWidth = scrsize.width; 
       		screenHeight = scrsize.height; 
	}
				
	screenWidth /=2;
	screenHeight /=2;
	screenWidth -= w/2;
	screenHeight -= h/2+50;
				
	hh = h+50;
	ww = w+50;
				
	str = "height = "+ hh;
	str += ", width = ";
	str +=ww;
	str += ", scrollbars = yes, resizable = yes, menubar = no, location = no, status = no, toolbar = no, dependent = yes, left = "+screenWidth+", screenx = "+screenWidth+", top = "+screenHeight+", screeny = "+screenHeight;
				
	var fotoWindow = window.open ('','foto', str);
	var windowHTML = "<html><head><meta http-equiv='Content-Type' content='text/html; charset=windows-1251'><title>"+nameWin+"</title></head><body bgcolor='#FFFFFF'>";
	windowHTML += "<p align='center'><img src='"+path+"' width="+w+" height="+h+" alt='"+name+"'  border='1'></p>";
	windowHTML += "</body></html>";
	fotoWindow.document.writeln(windowHTML);
	fotoWindow.document.close();
}
