function LoadImg(windows, ImageNum, nextFileName) {
  alert('Neaao?uaa');
} 
function popUpWin(fileName, windowName, winWidth, winHeight, nextFileName){
   var nn4 = (document.layers)? true : false;
   var ie4 = (document.all)? true : false;
   var nn6 = (document.getElementById && !ie4)? true : false;
   var str = new String("");
   fileName = '../../img/photoes/big'+fileName+'.jpg'; 
	if (nn4 || ie4 || nn6) {
						posX = Math.round((screen.width - winWidth) / 2);
						posY = Math.round((screen.height - winHeight) / 2);
						posCode = "left="+posX+",top="+posY;
					} else {
						posX = Math.round((screen.width - winWidth) / 2);
						posY = Math.round((screen.height - winHeight) / 2);
						posCode ="left="+posX+",top="+posY;
					}

					newWindow = window.open(fileName,windowName,posCode+'menubar=no,toolbar=no,scrollbars=yes,status=yes,width='+winWidth+',height='+winHeight+','+posCode);
					newWindow.focus();
					str = "<html>\n<head>\n<title>Oioiaeuaii</title>\n</head>\n<body>\n<p id = 'container'>\n<a href='#' onClick = 'LoadImg(newWindow, fileName, nextFileName); return false;'><img id='MainImage' src="+fileName+"></a></p></body></html>";
				
					newWindow.document.writeln(str);
					newWindow.document.close();
 
}
