//<![CDATA[
var listMenultr = new FSMenu('listMenultr', true, 'display', 'block', 'none');

listMenultr.animations[listMenultr.animations.length] = FSMenu.animFade;
listMenultr.animations[listMenultr.animations.length] = FSMenu.animSwipeDown;
//listMenultr.animations[listMenultr.animations.length] = FSMenu.animClipDown;

var arrow = null;
if (document.createElement && document.documentElement)
{
 arrow = document.createElement('span');
 arrow.appendChild(document.createTextNode(''));
 // Feel free to replace the above two lines with these for a small arrow image...
// arrow = document.createElement('img');
// arrow.src = '../images/arrow.gif';
 //arrow.style.borderWidth = '0';
 arrow.className = 'subind';
}
addEvent(window, 'load', new Function('listMenultr.activateMenu("listMenuRootltr", arrow)'));

//addEvent(window, 'load', new Function('getRef("listMenuRoot").className="menulist"'));

//]]>

function MM_openBrWindow(theURL,winName,features) { 
  par = ', top=0, left=0'
  parametry = features + par
  window.open(theURL,winName, parametry);
  }
  
function send_date(day,month,year,name) {
	document.searchprogram.day.value = day;
	document.searchprogram.month.value = month;
	document.searchprogram.year.value = year;
	if(month.length==1) month = '0'+month;
	if(day==''){
	document.searchprogram.data.value = month+'-'+year;	
	}else{
	if(day.length==1) day = '0'+day;
	document.searchprogram.data.value = day+'-'+month+'-'+year;
	}
}

function clearfiltr() {
	document.searchprogram.day.value = 0;
	document.searchprogram.month.value = 0;
	document.searchprogram.year.value = 0;
	document.searchprogram.typ.value = 0;
	document.searchprogram.miejsce.value = 0;
	document.searchprogram.data.value = '';	
}
