function showFullPicture ( pageUrl, pageHeight, pageWidth ) 
{		
	myWin= open("", "displayWindow", "width="+pageHeight+",height="+pageWidth+",status=no,toolbar=no,menubar=no,resizable=no,left=50,top=50");  
	myWin.document.open();  
	myWin.document.write("<html><head><title>Full Picture</title>");
	myWin.document.write("</head><body bgcolor=black topmargin=0 leftmargin=0>");
	myWin.document.write("<a href='javascript:close()'><center><img src="+pageUrl+" border=0></center></a>");  	  
	myWin.document.write("</body></html>"); 
	myWin.document.close();  
}

function showbigpic ( page, name, widthpic, heightpic )
{
	myWin= open("", "displayWindow", "width="+widthpic+",height="+heightpic+",status=no,toolbar=no,menubar=no,resizable=no,left=20,top=20");
	myWin.document.open();
	myWin.document.write("<html><head><title>"+name+"</title>");
	myWin.document.write("</head><body bgcolor=black topmargin=0 leftmargin=0>");
	myWin.document.write("<a href='javascript:close()'><center><img src="+'inc/watermark/getimage.php?image_file='+page+" border=0></center></a>");
	myWin.document.write("</body></html>");
	myWin.document.close();
}

function redirect (url)
{	
	//ok = confirm ('Ar tikrai norite trinti?');
	//if (ok) 
	//{
		window.location.href = url;	
	//}	
}
