function f(d){
	var dat=new Date();
	j=5;
	dat.setTime(dat.getTime()+30*8.64e7);
	for (i=1;i<=j;i++) {
		o=document.getElementById("sub"+i);
		if (i==d) {
			if(o.style.display=='none'){
				o.style.display='block';
				document.cookie='menu_sub'+i+'=1; expires='+dat.toGMTString()+';';
			} else {
				o.style.display='none';
				document.cookie='menu_sub'+i+'=0; expires='+dat.toGMTString()+';';
			}
		} else {
			o.style.display='none';
			document.cookie='menu_sub'+i+'=0; expires='+dat.toGMTString()+';';
		}
	}
}
function pokaz(d){
	o=document.getElementById(d);
	if(o.style.display=='none'){
		o.style.display='block';
	} else {
		o.style.display='none';
	}
}
function faq () {
	nowe= window.open('faq.php','jpeg', 'scrollbars=yes, width=546, height=400');
	nowe.focus();
}
function faq1 () {
	nowe= window.open('faqlaser.php','jpeg', 'scrollbars=yes, width=546, height=400');
	nowe.focus();
}
function ceny1 () {
	nowe= window.open('ceny1.php','jpeg', 'scrollbars=no, width=625, height=580');
	nowe.focus();
}
function ceny2 () {
	nowe= window.open('ceny2.php','jpeg', 'scrollbars=no, width=291, height=360');
	nowe.focus();
}
function ceny3 () {
	nowe= window.open('ceny3.php','jpeg', 'scrollbars=no, width=500, height=260');
	nowe.focus();
}
function ceny4 () {
	nowe= window.open('ceny4.php','jpeg', 'scrollbars=no, width=500, height=350');
	nowe.focus();
}
function ceny5 () {
	nowe= window.open('ceny5.php','jpeg', 'scrollbars=no, width=291, height=170');
	nowe.focus();
}
function ceny6 () {
	nowe= window.open('ceny6.php','jpeg', 'scrollbars=no, width=291, height=170');
	nowe.focus();
}
function step () {
	nowe= window.open('step.php','jpeg', 'scrollbars=yes, width=521, height=400');
	nowe.focus();
}
function term () {
	nowe= window.open('term.php','jpeg', 'scrollbars=yes, width=550, height=400');
	nowe.focus();
}