/**
* Funkcja [show]
*
* @author Remigiusz Pyrek (fraxinus@fraxinus.pl)
* @package my.own.library
*/

function show(url) {
  var win = window.open(url,"show","toolbar=no,location=no,directories=no,menubar=no,status=no,scrolling=auto,scrollbars=auto,resizable=yes,width=480,height=480,left=20,top=20");
  win.focus();}

function show2(url, width, height, y, x) {
  var win = window.open(url,"show",'width=' + width + ',height=' + height + ',top=' + y + ',left=' +x + ',resizable=0,scrollbars=0,menubar=no,scrolling=no,status=no,directories=no,toolbar=no,location=no' );
  win.focus();}

function show3(url, w, h, y, x, full) {
  var win = window.open(url,"show",'fullscreen='+full+',toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width='+w+',height='+h+',top='+y+',left='+x+'');
  win.focus();}

function showImg(url, winName, width, height, y, x) {
  var Win = window.open(url, winName,'width=' + width +',height='+height+ ', top='+y+', left='+x+',resizable=0,scrollbars=no,menubar=no' );
  HTMLStr = "<HTML>\n";
  HTMLStr += "<HEAD>\n";
  HTMLStr += "<TITLE>"+winName+"</TITLE>\n";
  HTMLStr += "<META http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-2\">\n";
  HTMLStr += "</HEAD>\n";
  HTMLStr += "\n";
  HTMLStr += "<BODY bgcolor=\"#FFFFFF\" text=\"#000000\">\n";
  HTMLStr += "<IMG src=\""+url+"\">\n";
  HTMLStr += "</BODY>\n";
  HTMLStr += "</HTML>\n";
  Win.document.write(HTMLStr);
  Win.focus();
}
//showImg("remig","ShowImg",200,200,100,100);
