//script pyta czy napewno chcesz dany link otworzyć
function ask(e,a) {
   if(window.confirm('Czy napewno ?')){
      window.location=parentNode.href;
	 }//end if
   return false;
}//end check()

function test() {
	setInterval("hideError();", 3000);
}

function hideError() {
	if($$('.error')[0] != null) {
		$$('.error')[0].fade({ duration: 3.0});	
	}
	if($$('.ok')[0] != null) {
		$$('.ok')[0].fade({ duration: 3.0});	
	}
}
