<!-- <![CDATA[
var conf =[
        {'lyrID':'zakladki'}
]

var img=new Image();

img.src='img/belka.gif';

var imgInfo=[
        ['Urzędy'],        
        ['Zdrowie i opieka'],
        ['Telefony użyteczne'],
        ['Kultura'],        
        ['Sport i rekreacja'],
        ['Kościoły'],
        ['Szkolnictwo'],
        ['Twój dom'],
        ['Auto-Moto'],
        ['Twoje finanse'],
        ['Media, reklama, informatyka'],
        ['Twój styl'],
        ['Rozrywka'],
        ['Uroda i zdrowie'],
        ['Pozostałe branże'],
]

function desc(num){
        if( !imgInfo[num] ) return '';
        var sReturn = ''

        sReturn += '<div class="dzial">'
        sReturn += '<span class="dzial_txt">' + imgInfo[num][0] + '</span>'
        sReturn += '</div>'

        return sReturn;
}

function fajneImg(e,j,i,t,k){
        d=document;E=d.documentElement;b=d.body;if(!E)return;
        for(j=0,k=0;j<conf.length;j++) {
                for(i=0;t=d.getElementById(conf[j]['lyrID']).getElementsByTagName('img')[i];i++){
                        t.num=k++;
                        t.conf=conf[j]['lyrDIR'];
                        t.className='out';
                        t.onmouseout=function(){this.className='out';if(!this.t)return;b.removeChild(this.t);this.t=false;/*ie bug with onmouseout fix*/}
                        t.onmouseover=function(e,o){
                                this.t=d.createElement('div');
                                this.t.className='tooltip';
                                this.className='over';
                                o=d.createElement('div');
                                o.id='opisContainer';
                                o.innerHTML=desc(this.num);
                                this.t.appendChild(o);
                                with(o.style){
                                        textAlign=(this.conf?'right':'left');
                                        this.conf?right=this.offsetWidth+10+'px':left=this.offsetWidth+10+'px';
					bottom=-this.offsetHeight+o.offsetHeight+'px';
					this.conf?marginRight=this.offsetWidth+10+'px':marginLeft=this.offsetWidth+10+'px';
				}
				with(this.t.style){
					backgroundPosition='top '+(this.conf?'right':'left');
					textAlign=(this.conf?'right':'left');

					width=img.width+'px';
					height=img.height+'px';

					top=this.offsetTop-0+'px';
					left=this.conf?this.offsetLeft+(this.offsetWidth-parseInt(width))+10+'px':this.offsetLeft-0+'px';
				}
		    b.appendChild(this.t);
			}
		}
	}
}
onload=fajneImg
// ]]> -->

