function setCookie(c_name,value,expiredays) { var exdate=new Date(); exdate.setDate(exdate.getDate()+expiredays); document.cookie=c_name+ "=" +escape(value)+ ((expiredays==null) ? "" : ";expires="+exdate.toGMTString())+ "; path=/"; } function zamknij() { setCookie('okno_box','1','10'); document.getElementById('dockcontent0').style.display='none'; } document.write(('
')); document.write(('')); document.write(('')); document.write(('
')); var Other =(document.getElementById&&!document.all); //Nowe przegladarki poza IE var IE=(document.all); // Internet Explorer function truebody(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body } function floatSideBar(lPY) { var pY,id="dockcontent0"; var source=document.all? document.all[id] : document.getElementById(id); var wH = source.offsetHeight; if(Other) pY = window.pageYOffset + window.innerHeight - wH; else if(IE) pY = truebody().scrollTop + window.truebody().clientHeight - wH; if(pY!= lPY) { document.getElementById(id).style.top = pY + 'px'; } setTimeout('floatSideBar('+pY+')',100); } floatSideBar(1);