var JSFSplashWin = null;
function JSFSplashShowImage(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 == false && !document.layers) {JSFSplashWin.close();}
if (borderless && !document.layers) {
JSFSplashWin = window.open("", "splash", "fullscreen=1,toolbar=0,location=0,directories=0,statusbar=0,menubar=0,scrollbars=1,resizable=1");
JSFSplashWin.resizeTo(width+20, height+20);
JSFSplashWin.moveTo(100, 100);
}
else
JSFSplashWin = window.open("", "splash", "scrollbars=no,location=no,directories=no,menubar=no,toolbar=no,resizable=yes,dependent=no,copyhistory=no,statusbar=no,width=" + width + ",height=" + height + ",left=" + 100+ ",top=" + 100);
JSFSplashWin.document.open();
JSFSplashWin.document.clear();
JSFSplashWin.document.write("<html><head><title>Foto</title></head><body scroll='no' onload='window.resizeTo(document.images[0].width+10, document.images[0].height+25)' marginheight=0 marginwidth=0 leftmargin=0 topmargin=0><img src='"+url+"' border='0'></body></html>");
JSFSplashWin.document.close();
JSFSplashWin.focus();
}