//mirror
a = 0;
function lustro()
{
 if (a==0) { document.image.style.filter='FlipH()'; a=1; }
 else { document.image.style.filter=''; a=0; }
}

//powiekszenia
function img_zoom_flip(nazwa,x,y)
{
 okno=window.open("", "","scrollbars=0, status=no, width="+x+", height="+y)
 napis="<html><head><title>Powiekszenie</title><script language=JavaScript src=\"archi.js\"></script></head><body>0<div id=\"layer\" style=\"position:absolute; width:88px; height:20px; z-index:1; left: 0; top: 0\"><img src=\"img/lustro.gif\"  height=\"25\" alt=\"Lustrzane odbicie\" onclick=\"lustro();\"></div><div style='position:absolute; left:0; top:0'><img name='image' src=\""+nazwa+"\" border=0 onclick=\"javascript:window.close()\"></div></body></html>"
 okno.document.write(napis)
}

//powiekszenia
function img_zoom(nazwa,x,y)
{
 okno=window.open("", "","scrollbars=0, status=no, width="+x+", height="+y)
 napis="<html><head><title>Powiekszenie</title><style type=\"text/css\"><!-- body {background: url(img/loading.gif) fixed no-repeat center; } --> </style></head><body><div style='position:absolute; left:0; top:0'><a href='javascript:window.close()'><img src=\""+nazwa+"\" border=0></a></div></body></html>"
 okno.document.write(napis)
}



