document.getElementById('blok-bbsluzba-1002964').innerHTML = 'Loading'; if(window.attachEvent) { window.attachEvent("onload", loadBoard_1002964); }else {loadBoard_1002964(); } function loadBoard_1002964(thank) { /* if (document.getElementsByTagName('meta')) { var metas = document.getElementsByTagName('meta'); for (var i = 0; i < metas.length; i++) { if (metas[i].content) { var obsah = metas[i].content.split(';'); if (obsah[0] == 'text/html' || obsah[0] == 'application/xhtml+xml') { if (obsah[1]) { var aKodovani = obsah[1].split('='); var kodovani = aKodovani[1]; //alert(kodovani); } else { document.write('spatne nastavene kodovani stranky'); } } } } } */ var head = document.getElementsByTagName("head")[0]; var script = document.createElement("script"); var kodovani; if (document.characterSet) kodovani = document.characterSet; else if (document.charset) kodovani = document.charset; script.src = '//miniaplikace.blueboard.cz/anketa_1.php?id=1002964&charset=' + kodovani + '&thank=' + thank + '&rand=' + Math.random(); head.appendChild(script); var script_poc = document.createElement("script"); script_poc.src = '//miniaplikace.blueboard.cz/counter_1.php?jid=mdt0hpvtxbfj7xm5mcje24bxcf6sbi'; head.appendChild(script_poc); } function hlasuj_1002964(moznost, token) { var head = document.getElementsByTagName("head")[0]; var script = document.createElement("script"); if (moznost == 'multi') { var result = [], inputs = document.getElementsByTagName('input'); for(var i = 0; i < inputs.length; i++) { var input = inputs[i]; if(input.checked === true) { result.push(input.value); } } moznost = result.join(','); } var kodovani; if (document.characterSet) kodovani = document.characterSet; else if (document.charset) kodovani = document.charset; script.src = '//miniaplikace.blueboard.cz/anketa_1.php?id=1002964&r1=' + moznost + '&charset=' + kodovani + '&hash=' + token ; if (moznost != '') { head.appendChild(script); } }