var JSFSplashWin = null;
function ShowImage(url) {
width=height=25;
borderless=false;
ScrWidth = 640; ScrHeight = 480;
if (window.screen) {ScrWidth = window.screen.width; ScrHeight = window.screen.height}
PosX = Math.round((ScrWidth - width-200)/2);
PosY = Math.round((ScrHeight - height-200)/2);
//if (JSFSplashWin != null && !document.layers) {JSFSplashWin.close();}
if (borderless && !document.layers) {
 JSFSplashWin = window.open("", "splash", "fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");

 JSFSplashWin.resizeTo(width+20, height+20);

JSFSplashWin.moveTo(100, 100);
}
else
{
var ie4 = ((navigator.appVersion.indexOf("MSIE")>0) && (parseInt(navigator.appVersion) >= 4))

if(ie4)
{
JSFSplashWin = window.open("", "splash", "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,copyhistory=no,width=" + width + ",height=" + height + ",left=" + 100+ ",top=" + 100);
JSFSplashWin.document.open();
JSFSplashWin.document.clear();
JSFSplashWin.document.write("<html><head><title>Meble - WRZESIEŃ ZHU</title></head><body scroll='no' onload='var h = document.images[0].height+70; var w = document.images[0].width+10; window.resizeTo(w, h);' marginheight=0 marginwidth=0 leftmargin=0 topmargin=0  style=\"background-color: #D4D0C8;\"><img src='"+url+"' border='0' onclick='window.close()'></body></html>");
} else

{
JSFSplashWin = window.open("", "splash", "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,copyhistory=no,width=" + width + ",height=" + height + ",left=" + 100+ ",top=" + 100);
JSFSplashWin.document.open();
JSFSplashWin.document.clear();
JSFSplashWin.document.write("<html><head><title>Meble - WRZESIEŃ ZHU</title></head><body scroll='no' onload='window.resizeTo(document.images[0].width+10, document.images[0].height+45)' marginheight=0 marginwidth=0 leftmargin=0 topmargin=0 style=\"background-color: #D4D0C8;\"><img src='"+url+"' border='0' onclick='window.close()'></body></html>");}

JSFSplashWin.document.close();
JSFSplashWin.focus();}
}