function rozbal_zbal(id) { if (document.getElementById('oznam'+id+'text').style.display=='none') { if(/MSIE/.test(navigator.userAgent)) { document.getElementById('oznam'+id+'text').style.display='block'; } else { Effect.DefaultOptions.duration=0.5; Effect.DefaultOptions.fps=15; Effect.BlindDown('oznam'+id+'text'); } } else { if(/MSIE/.test(navigator.userAgent)) { document.getElementById('oznam'+id+'text').style.display='none'; } else { Effect.DefaultOptions.duration=0.5; Effect.DefaultOptions.fps=15; Effect.BlindUp('oznam'+id+'text'); } } } function strana(newhodnota) { if (window.location.search.indexOf('str')==-1) { window.location.search+='&str='+newhodnota; } else { window.location.search=str_replace(window.location.search,'str='+getvar('str'),'str='+newhodnota); } } function prepni(elm,obr,expand,collapse) { if (elm.style.display=='none') { // rozbalujeme //elm.style.display='block'; if(/MSIE/.test(navigator.userAgent)) { elm.style.display='block'; } else { Effect.DefaultOptions.duration=0.5; Effect.DefaultOptions.fps=15; Effect.BlindDown(elm); } obr.alt=collapse; obr.title=collapse; obr.src='./images/collapse.gif'; } else { // zbalujeme //elm.style.display='none'; if(/MSIE/.test(navigator.userAgent)) { elm.style.display='none'; } else { Effect.DefaultOptions.duration=0.5; Effect.DefaultOptions.fps=15; Effect.BlindUp(elm); } obr.alt=expand; obr.title=expand; obr.src='./images/expand.gif'; } } window.onload=function() { if (window.location.hash.indexOf('#')!=-1) if (isnumber(window.location.hash.charAt(window.location.hash.indexOf('#')+1))) document.getElementById('oznam'+window.location.hash.substring(window.location.hash.indexOf('#')+1,window.location.hash.length)+'text').style.display='block'; }