//var styleDescWindow;

function opis(d,E,b,i,a)
{
  d=document;E=d.documentElement;b=d.body;if(!E)return;
  for(i=0;a=b.getElementsByTagName("div")[i];i++)
  {
    if(a.title)
	{
      with(a.t=d.createElement("div"))
	  {
        id="opis"
        innerHTML=a.title.replace(/\|/g,"<br />")
      }
      a.onmouseover=function(e)
	  {
        with(this){title="";onmousemove(e)}
        b.appendChild(this.t)
      }
      a.onmouseout=function(x)
	  {
        with(this){title=t.innerHTML.replace(/<br \/>/g,"\|")}
        if(x=d.getElementById("opis"))b.removeChild(x)
      }
      a.onmousemove=function(e)
	  {
        e=e||event;with(this.t.style)
		{
         if (e.clientX<=document.body.clientWidth-200) 
		 {
		 	left=e.clientX+(E.scrollLeft||b.scrollLeft)+"px";
		 }
		 else
		 {
			left=e.clientX+(E.scrollLeft||b.scrollLeft)-320+"px";
		 }
	
		 if (e.clientY<=document.body.clientHeight-200) 
		 {
			top=e.clientY+(E.scrollTop||b.scrollTop)+"px";
		 }
		 else
		 { 
			top=e.clientY+(E.scrollTop||b.scrollTop)-240+"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',opis);

