function pokaz_email(user, host)
{
	szerokosc_okna = 400;
	wysokosc_okna =  100;

	noweokienko=window.open("",'','toolbar=no,menubar=yes,scrollbars=no,fullscreen=no,width='+szerokosc_okna+' height='+wysokosc_okna+' border=\"0\"'); 
	noweokienko.document.open(); //otwarcie dokumentu do edycji 
	noweokienko.document.write ("<html>\n<head>\n<link rel=\"stylesheet\" href=\"style/da5.css\" type=\"text/css\">\n</head>\n<title>\n\te-mail\n</title>\n</head>\n<body style=\"font-family:verdana; font-size:8;font-weight:bold; color:navy;\">");

	noweokienko.document.write("<table width=\"80%\">"); 
	noweokienko.document.write("<tr><td style=\"text-align:right;\">e-mail:</td><td class=\"dane\"><a href=\"mailto:"+user+"@"+host+"\">"+user+"@"+host+"</a></td></tr>"); 

	noweokienko.document.write("\n<table>\n</body>\n</html>"); 
	noweokienko.document.close(); //zakonczenie sesji wpisywania dokumentu 
	noweokienko.focus(); //aby okno pojawilo sie na wierzchu
}

function otworz_link(url)
{
	//var xy = (screen.width)-800

	//nowe=window.open (url,"Alpine","screenX=" + xy + ",left=" + xy +",toolbar=0,location=0,directories=0,statusbar=0,menubar=0,scrollbars=1,resizable=1 screenY=0,top=20,width=750,height=520");	
	var xy = screen.width;
	var x = screen.hegth;
	var szerokosc = (screen.width);
	var wysokosc = (screen.height);

	nowe=window.open (url,"Alpine","screenX=" + xy + ",left=" + xy +",toolbar=1,location=0,directories=0,statusbar=1,menubar=0,scrollbars=1,resizable=1 screenY=0,top=20,width=750,height=520");	
//	nowe=window.open (url,"", "screenX=0,left=0,toolbar=1,location=1,directories=0,statusbar=1,menubar=1,scrollbars=1,resizable=1, screenY=0,top=0,width="+szerokosc+",height="+wysokosc+"");	
}

function otworz_obrazek(sciezka, szerokosc, wysokosc, tytul)
{
	szerokosc_okna = szerokosc;
	wysokosc_okna =  wysokosc;

	NoweOkienko=window.open("",'','toolbar=no,menubar=no,scrollbars=no,fullscreen=no,width='+szerokosc_okna+' height='+wysokosc_okna+' border=\"0\"'); 
	NoweOkienko.document.open(); 
	NoweOkienko.document.write ("<HTML><HEAD><TITLE>"+tytul+"</TITLE><LINK REL=stylesheet HREF=\"style/da5.css\" TYPE=\"text/css\"></HEAD><body class=\"otwierane_okienka\"><table border=\"0\" width=\"100%\">");

	NoweOkienko.document.write("<tr><td><B>"+tytul+"</B><HR><img src=\""+sciezka+"\" alt=\""+tytul+"\" border=\"1\" style=\"cursor: hand; border: #000000 1px solid\" onclick=\"window.close();\"><br></td></tr></table></BODY></HTML>"); 
	NoweOkienko.document.close(); //zakonczenie sesji wpisywania dokumentu 
	NoweOkienko.focus(); //aby okno pojawilo sie na wierzchu

/*
	NoweOkienko=window.open("",'','toolbar=no,menubar=no,scrollbars=no,fullscreen=no,width='+szerokosc_okna+' height='+wysokosc_okna+' border=\"0\"'); 
	NoweOkienko.document.open(); //otwarcie dokumentu do edycji 
	//NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: stas(zek) - fotogaleria ::.</TITLE></HEAD><body bgcolor=\"#997755\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#886644\"><tr><td class=\"\" width=\"200\" height=\"30\" style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">"+opis+"</td><td style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">"+szerokosc+"x"+wysokosc+"&nbsp;px</td><td>&nbsp;</td></tr></table>");
/	NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: stas(zek) - fotogaleria ::.</TITLE></HEAD><body bgcolor=\"#997755\">");
	NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: stas(zek) - fotogaleria ::.</TITLE></HEAD><body bgcolor=\"#997755\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#886644\"><tr><td class=\"\" width=\"200\" height=\"30\" style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">"+opis+"</td><td style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">wyswietlane: "+szerokosc+"x"+wysokosc+"&nbsp;px&nbsp&nbsp </td><td style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\"> oryginał: "+szerokosc_oryg+"x"+wysokosc_oryg+"&nbsp;px</td><td>&nbsp;<INPUT TYPE=\"button\" style=\"background-color:#886644;color: white;\" VALUE=\"         zamknij        \" onClick=\"window.close();\"></td></tr></table>");
/	NoweOkienko.document.write("<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#997755\" style=\"text-align:center;\"><tr><td colspan=\"4\"><a class=\"fotki\" onclick=\"window.close();\"><img src=\""+nazwa+"\" alt=\""+opis+"\" border=\"1\" height=\""+wysokosc+"\" width=\""+szerokosc+"\"></a></td></tr><tr><td style=\"text-align: center\">&nbsp;</td></tr></BODY></HTML>"); 
	NoweOkienko.document.close(); //zakonczenie sesji wpisywania dokumentu 
	NoweOkienko.focus(); //aby okno pojawilo sie na wierzchu
*/
}

function otworz_obrazek_1(nazwa, opis, szerokosc, wysokosc, szerokosc_oryg, wysokosc_oryg)
{
	//alert(opis);
	szerokosc_okna = 800;
	wysokosc_okna =  600;

	NoweOkienko=window.open("",'','toolbar=no,menubar=no,scrollbars=no,fullscreen=yes,width='+szerokosc_okna+' height='+wysokosc_okna+' border=\"0\"'); 
	NoweOkienko.document.open(); //otwarcie dokumentu do edycji 
	NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: stas(zek) - fotogaleria - fotka: "+opis+" ::.</TITLE></HEAD><body bgcolor=\"#5588FF\" style=\"font-family:Verdana; font-size:10;font-weight:bold; color:white;\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" style=\"font-family:Verdana; font-size:10;font-weight:bold; color:white; text-align:center;\"><tr><td>"+opis+"</td><td>wyswietlane: "+szerokosc+"x"+wysokosc+"&nbsp;px&nbsp&nbsp </td><td> oryginał: "+szerokosc_oryg+"x"+wysokosc_oryg+"&nbsp;px</td><td>&nbsp;<SPAN style=\"cursor: hand;\" onClick=\"window.close();\">[x]</td></tr>"); //<INPUT TYPE=\"button\" style=\"background-color: #886633;color: white;\" VALUE=\"  zamknij \" onClick=\"window.close();\">

	NoweOkienko.document.write("<tr><td colspan=\"4\"><a class=\"fotki\" onclick=\"window.close();\"><HR style=\" color:white;\"><img src=\""+nazwa+"\" alt=\""+opis+"\" border=\"1\" height=\""+wysokosc+"\" width=\""+szerokosc+"\" style=\"cursor: hand;\"></a><br></td></tr></table></BODY></HTML>"); 
	NoweOkienko.document.close(); //zakonczenie sesji wpisywania dokumentu 
	NoweOkienko.focus(); //aby okno pojawilo sie na wierzchu

/*
	NoweOkienko=window.open("",'','toolbar=no,menubar=no,scrollbars=no,fullscreen=no,width='+szerokosc_okna+' height='+wysokosc_okna+' border=\"0\"'); 
	NoweOkienko.document.open(); //otwarcie dokumentu do edycji 
	//NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: stas(zek) - fotogaleria ::.</TITLE></HEAD><body bgcolor=\"#997755\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#886644\"><tr><td class=\"\" width=\"200\" height=\"30\" style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">"+opis+"</td><td style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">"+szerokosc+"x"+wysokosc+"&nbsp;px</td><td>&nbsp;</td></tr></table>");
/	NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: stas(zek) - fotogaleria ::.</TITLE></HEAD><body bgcolor=\"#997755\">");
	NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: stas(zek) - fotogaleria ::.</TITLE></HEAD><body bgcolor=\"#997755\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#886644\"><tr><td class=\"\" width=\"200\" height=\"30\" style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">"+opis+"</td><td style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">wyswietlane: "+szerokosc+"x"+wysokosc+"&nbsp;px&nbsp&nbsp </td><td style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\"> oryginał: "+szerokosc_oryg+"x"+wysokosc_oryg+"&nbsp;px</td><td>&nbsp;<INPUT TYPE=\"button\" style=\"background-color:#886644;color: white;\" VALUE=\"         zamknij        \" onClick=\"window.close();\"></td></tr></table>");
/	NoweOkienko.document.write("<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#997755\" style=\"text-align:center;\"><tr><td colspan=\"4\"><a class=\"fotki\" onclick=\"window.close();\"><img src=\""+nazwa+"\" alt=\""+opis+"\" border=\"1\" height=\""+wysokosc+"\" width=\""+szerokosc+"\"></a></td></tr><tr><td style=\"text-align: center\">&nbsp;</td></tr></BODY></HTML>"); 
	NoweOkienko.document.close(); //zakonczenie sesji wpisywania dokumentu 
	NoweOkienko.focus(); //aby okno pojawilo sie na wierzchu
*/
}

function otworz_obrazek_rozrywka(nazwa, opis, szerokosc, wysokosc, szerokosc_okna, wysokosc_okna)
{
	//alert(opis);
	if(szerokosc_okna > 850)
		szerokosc_okna = 800;
	if(wysokosc_okna >  670)
		wysokosc_okna =  600;


	NoweOkienko=window.open("",'','toolbar=no,menubar=no,scrollbars=yes,fullscreen=no,width='+szerokosc_okna+' height='+wysokosc_okna+' border=\"0\"'); 
	NoweOkienko.document.open(); //otwarcie dokumentu do edycji 
	NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: "+opis+" - rozrywka - stas(zek) ::.</TITLE></HEAD><body bgcolor=\"#5588FF\"><table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\"  style=\" text-align:center;\"><tr><td class=\"\" style=\"font-family:Verdana, Arial; font-size:10;font-weight:bold; color:white; text-align:center; \">nazwa: "+opis+"</td><td style=\"font-family:Verdana, Arial; font-size:10;font-weight:bold; color:white;\">rozmiar: "+szerokosc+"x"+wysokosc+"&nbsp;px&nbsp&nbsp </td><td style=\"font-family:Verdana; font-size:10;font-weight:bold; color:white;\">&nbsp;&nbsp;<SPAN style=\"cursor: hand;\" onClick=\"window.close();\">[x]</td><td>&nbsp;</td></tr>");

	NoweOkienko.document.write("<tr><td colspan=\"4\" style=\" color:white;\"><HR style=\" color:white;\"><a class=\"fotki\" onclick=\"window.close();\"><img src=\""+nazwa+"\" alt=\""+opis+"\" border=\"1\" height=\""+wysokosc+"\" width=\""+szerokosc+"\" style=\"cursor: hand;\"></a><br></td></tr></table></BODY></HTML>"); 
	NoweOkienko.document.close(); //zakonczenie sesji wpisywania dokumentu 
	NoweOkienko.focus(); //aby okno pojawilo sie na wierzchu

/*
	NoweOkienko=window.open("",'','toolbar=no,menubar=no,scrollbars=no,fullscreen=no,width='+szerokosc_okna+' height='+wysokosc_okna+' border=\"0\"'); 
	NoweOkienko.document.open(); //otwarcie dokumentu do edycji 
	//NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: stas(zek) - fotogaleria ::.</TITLE></HEAD><body bgcolor=\"#997755\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#886644\"><tr><td class=\"\" width=\"200\" height=\"30\" style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">"+opis+"</td><td style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">"+szerokosc+"x"+wysokosc+"&nbsp;px</td><td>&nbsp;</td></tr></table>");
/	NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: stas(zek) - fotogaleria ::.</TITLE></HEAD><body bgcolor=\"#997755\">");
	NoweOkienko.document.write ("<HTML><LINK REL=\"stylesheet\" HREF=\"../style/indexstyl.css\" TYPE=\"text/css\"><HEAD><TITLE>.:: stas(zek) - fotogaleria ::.</TITLE></HEAD><body bgcolor=\"#997755\"><table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#886644\"><tr><td class=\"\" width=\"200\" height=\"30\" style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">"+opis+"</td><td style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\">wyswietlane: "+szerokosc+"x"+wysokosc+"&nbsp;px&nbsp&nbsp </td><td style=\"font-family:Arial; font-size:10;font-weight:bold; color:white;\"> oryginał: "+szerokosc_oryg+"x"+wysokosc_oryg+"&nbsp;px</td><td>&nbsp;<INPUT TYPE=\"button\" style=\"background-color:#886644;color: white;\" VALUE=\"         zamknij        \" onClick=\"window.close();\"></td></tr></table>");
/	NoweOkienko.document.write("<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#997755\" style=\"text-align:center;\"><tr><td colspan=\"4\"><a class=\"fotki\" onclick=\"window.close();\"><img src=\""+nazwa+"\" alt=\""+opis+"\" border=\"1\" height=\""+wysokosc+"\" width=\""+szerokosc+"\"></a></td></tr><tr><td style=\"text-align: center\">&nbsp;</td></tr></BODY></HTML>"); 
	NoweOkienko.document.close(); //zakonczenie sesji wpisywania dokumentu 
	NoweOkienko.focus(); //aby okno pojawilo sie na wierzchu
*/
}
