// JavaScript Document
function focus() {
for (a=0;a<document.links.length;)
document.links[a].onfocus=document.links[a++].blur;
}
function pokazGrafike(x) {
with(open('','fotka','width=1,height=1')){
  document.write('<html><head><title>SAG</title>'+
  '<script type="text/javascript">function L(I){'+
  'I.parentNode.style.visibility="visible";'+
  'focus();resizeTo(I.width+6,I.height+50);moveTo((screen.width-I.width)/2,(screen.height-I.height)/2);}<\/script></head>'+
  '<body style="background-color:#fff;'+
  'border:0px;font:normal bold 14px Verdana">'+
  '<div>Czekaj... , Wait...</div><div style="overflow:hidden;'+
  'position:absolute;visibility:hidden; left:0px; top:0px;">'+
  '<img onerror="L=parentNode.previousSibling;L.innerHTML='+
  '\'loading error...\';L.style.backgroundColor=\'red\'" onload="L(this)" src="'+x+'"></div></body></html>')
  document.close() 
}
}
