function show_picture_scroll(strona, pic_w, pic_h)
{
pic_l = (screen.width) ? (screen.width-pic_w)/2 : 0;
pic_t = (screen.height) ? (screen.height-pic_h)/2 : 0;
window.open(strona,'new','menubar=no, toolbar=no, location=no, scrollbars=yes, resizable=no, status=no,width='+pic_w+', height='+pic_h+', left='+pic_l+', top='+pic_t).focus()
return false;
}

function target_new(strona)
{
window.open(strona,'new','menubar=yes, location=yes, resizable=yes, scrollbars=yes, status=yes, toolbar=yes, directories=yes').focus()
}

//----------------------------------------------------------------------------//


function tooltip(d,E,b,i,area){
  d=document;E=d.documentElement;b=d.body;if(!E)return;
  for(i=0;area=b.getElementsByTagName("area")[i];i++){
    if(area.title){
      with(area.t=d.createElement("div")){
        id="tooltip"
        innerHTML=area.title.replace(/\|/g,"<br />")
      }
      area.onmouseover=function(e){
        with(this){title="";onmousemove(e)}
        b.appendChild(this.t)
      }
      area.onmouseout=function(x){
        with(this){title=t.innerHTML.replace(/<br \/>/g,"\|")}
        if(x=d.getElementById("tooltip"))b.removeChild(x)
      }
      area.onmousemove=function(e){
        e=e||event;with(this.t.style){
         left=e.clientX+(E.scrollLeft||b.scrollLeft)+"px"
         top=e.clientY+(E.scrollTop||b.scrollTop)+"px"
        }
      }
    }
  }
}
function addEvent(O,E,F,x){
  return(x=O.addEventListener)?x(E,F,1):(x=O.attachEvent)?x('on'+E,F):!1
}
addEvent(window,'load',tooltip);

