// Copyright Jan Holomek (http://www.jahnet.eu); // /************************************************************************************/ //vyhledávací okno function show_search() { document.getElementById('layout').style.opacity=".2"; document.getElementById('layout').style.filter = "alpha(opacity=20, style=0)"; if(document.getElementById('search')==null) { var search = document.createElement('div'); search.setAttribute('id', 'search'); search.style.backgroundColor = "white"; search.style.display='block'; search.style.position = "fixed"; search.style.top = "10%"; search.style.left = (document.body.clientWidth/2)-300+"px"; search.style.border = "2px solid rgb(79,129,189)"; search.style.minWidth = "500px"; search.style.maxHeight=(document.body.clientHeight/100*88)+"px"; search.style.zIndex = "200"; search.style.overflow = "auto"; search.style.padding = "18px"; search.style.textAlign = "center"; var content='

Vyhledávání

zavřít


'; content+="Sekce:


zavřít'; search.innerHTML=content; document.body.appendChild(search); } else {document.getElementById('search').style.display='block'; document.getElementById('search_input').value='zadejte hledaný výraz'; document.getElementById('search_input').style.fontStyle='italic';} } function close_search() { document.getElementById('layout').style.opacity=""; document.getElementById('layout').style.filter = ""; document.getElementById('search').style.display='none'; }