/* ----------------------------------------------------------------------------
JavaScript Library for KAMUNIKAT.org
Copyright (c) 2007 by Aleksander Maksymiuk, http://setpro.net.pl/
---------------------------------------------------------------------------- */

function popupBE(URL, secs, ww, wh) {
  var handle = window.open('about:blank', 'newwindow', 'scrollbars=no,resizable=no,width='+ww+',height='+wh+',left=0,top=0');
  handle.document.open();
  handle.document.write('<html><head><title>Карцінка 100%</title></head><body bgColor="#ffffff"><center><img src="'+URL+'" title="Націснуць, каб зачыніць..." alt="Націснуць, каб зачыніць..." onClick="window.close();" /></center></body></html>');
  handle.document.close();
  if (secs > 0) setTimeout('handle.close()', 1000 * secs);
}

function popupPL(URL, secs, ww, wh) {
  var handle = window.open('about:blank', 'newwindow', 'scrollbars=no,resizable=no,width='+ww+',height='+wh+',left=0,top=0');
  handle.document.open();
  handle.document.write('<html><head><title>Obrazek 100%</title></head><body bgColor="#ffffff"><center><img src="'+URL+'" title="Kliknij, aby zamknąć..." alt="Kliknij, aby zamknąć..." onClick="window.close();" /></center></body></html>');
  handle.document.close();
  if (secs > 0) setTimeout('handle.close()', 1000 * secs);
}

function popupEN(URL, secs, ww, wh) {
  var handle = window.open('about:blank', 'newwindow', 'scrollbars=no,resizable=no,width='+ww+',height='+wh+',left=0,top=0');
  handle.document.open();
  handle.document.write('<html><head><title>Image 100%</title></head><body bgColor="#ffffff"><center><img src="'+URL+'" title="Click to close..." alt="Click to close..." onClick="window.close();" /></center></body></html>');
  handle.document.close();
  if (secs > 0) setTimeout('handle.close()', 1000 * secs);
}

