// JavaScript Document

//alert('ok');

function sH(what) {
what=what.split("__");
to=document.getElementById(what[1]).style;
if(what[0]=='S')to.display='block';
else to.display='none';
}

function emil(w) {
d='chemia.waw.pl';
document.write('<a href="mailto:'+w+'@'+d+'" class="emil">'+w+'@'+d+'</a>');
}

function sonduj() {
jest=0;
sonder=document.getElementById('sonder');
radia = sonder.getElementsByTagName('input');
for (i=0;i<radia.length;++i) if(radia[i].type =="radio"&& radia[i].checked==true)jest=1;

if(jest==0) {
	alert('Wybierz jedną z odpowiedzi');
	return false;
	}
}

function chemgo(u) {
window.top.location.href=u;
}