zapamietaj_id_div='';
function showHide(id_div){
	if(document.getElementById(id_div).style.display=='none'){
	  if(zapamietaj_id_div) {document.getElementById(zapamietaj_id_div).style.display='none';}
	  document.getElementById(id_div).style.display='block';
	  zapamietaj_id_div = id_div;
	}else{
	  document.getElementById(id_div).style.display='none';
	}
	return false;
}

function sprawdzenie(aform,ident) {
	if(!aform.akcep.checked) {
	alert('Prosimy zaakceptować regulamin');
	return false;
	}
	if(aform.kod.value =='') {
	alert('Prosimy podać kod z SMS');
	return false;
	}
	if(aform.email.value =='') {
	alert('Prosimy podać adres email do ewentualnych reklamacji');
	return false;
	}
pageTracker._trackEvent('zakup', ident, '', 19);
return true;
}

function okienko(numer,ident) {
	document.write('<a href="#" onclick="return showHide(\'zaplac');
	document.write(numer);
	document.write('\');">');
	document.write('dostępne w raporcie płatnym</a> <DIV style="display:none;align:center;" id="zaplac');
	document.write(numer);
	document.write('"><table border="1"><tr><td align="center"><small><b>Aby uzyskać pełny raport o tej osobie<br>(wszystkie firmy i wszystkie stanowiska)</b><br>wyślij SMS (Cena: 23,18 zł, w tym VAT) o treści:<br><b><big>DA.OS</big></b><br>na numer<br><big>91955</big><br>Po chwili otrzymasz SMS z kodem dostępu.<br>Otrzymany kod wpisz tutaj.<form enctype="multipart/form-data" action="r.php" method="POST" onsubmit="return sprawdzenie(this,\''+ident+'\')"><input type="hidden" name="id" value="');
	document.write(ident);
	document.write('"><input type="checkbox" name="akcep">Akceptuję <a href="http://www.infoveriti.pl/regulamin.html">regulamin usługi</a><br>Kod otrzymany w SMS: <input type="text" size="10" maxlength="10" name="kod"><br>Email: <input type="text" size="30" maxlength="100" name="email"><br><input type="submit" value="Dalej"/></form></small></td></tr></table></DIV>');
	return true;
}

function okienko_globalne(ident) {
	document.write('<a href="#" onclick="return showHide(\'zaplac');
	document.write(ident);
	document.write('\');">');
	document.write('Zamów pełny raport o osobie</a> (raport zawiera także dane archiwalne). <a href="http://www.infoveriti.pl/osoba-przyklad.html" rel="nofollow">Zobacz przykładowy raport</a>. <DIV style="display:none;align:center;" id="zaplac');
	document.write(ident);
	document.write('"><table border="1"><tr><td align="center"><small><b>Aby uzyskać pełny raport o tej osobie<br>(wszystkie firmy i wszystkie stanowiska)</b><br>wyślij SMS (Cena: 23,18 zł, w tym VAT) o treści:<br><b><big>DA.OS</big></b><br>na numer<br><big>91955</big><br>Po chwili otrzymasz SMS z kodem dostępu.<br>Otrzymany kod wpisz tutaj.<form enctype="multipart/form-data" action="r.php" method="POST" onsubmit="return sprawdzenie(this,\''+ident+'\')"><input type="hidden" name="id" value="');
	document.write(ident);
	document.write('"><input type="checkbox" name="akcep">Akceptuję <a href="http://www.infoveriti.pl/regulamin.html">regulamin usługi</a><br>Kod otrzymany w SMS: <input type="text" size="10" maxlength="10" name="kod"><br>Email: <input type="text" size="30" maxlength="100" name="email"><br><input type="submit" value="Dalej"/></form></small></td></tr></table></DIV>');
	return true;
}
