/////////////////////////////////////////////////////////////////////////////
//			FUNKCJE FORMULARZA NOTAM			   //
/////////////////////////////////////////////////////////////////////////////

function timeout()	{

			setTimeout("window.location.reload()", 300000);
}



function disable() {
		    var f=document.search;

		    f.numer.value = "0001-9998";
		    f.Rok.value = "";		    
}

function disable_Survival() {
		    var f=document.search;

		    f.numer.value = "0001-9998";
		    f.Rok.value = "";		    
}



function enable() {
		    
		    var f=document.search;

		    f.numer.value = "";
		    f.Rok.value = "2009";
}


function ukryj_niezaznaczone() {
		    
		    var i;
		    var id;
		    var el;
		    i=0;
		    for (i=0;i< document.wyniki.elements.length ; i ++) {
					el= document.wyniki.elements[i];
					id= document.wyniki.elements[i].name;
					el.style.visibility='hidden';
					if (!el.checked) {
							el= document.getElementById(id);
							if (el) {
								el.style.display='none';
							}
					}
		    }
}

function reload_menu(i,h,w,l) {

			parent.menu.location.replace("/menu.html?lang="+i+"&height="+h+"&width="+w+'&PHPSESSID='+l);
			parent.main.location.replace("/start.html?lang="+i+"&height="+h+"&width="+w+'&PHPSESSID='+l);
			return true;
}


function load(i,l){
			height=screen.availHeight;
			width=screen.availWidth;
			
			lang=i;
			window.open('index_menu.html?height='+height+'&lang='+lang+'&width='+width+'&PHPSESSID'+l,'index','fullscreen=yes');
//			alert('pixels:'+pixels);
}

function load_start(i){

			window.location.replace("/index.html?lang="+i);
			return true;

}