// JavaScript Document
 /* formularz*/
/* function checkbox(){
				if($("#chng_passwd:checked")){
//					$("#passwd, #passwd2").removeAttr("disabled");
$("#passwd, #passwd2").attr("value","checked");
				}
				else{
				//	$("#passwd, #passwd2").attr("disabled","disabled");
$("#passwd, #passwd2").attr("value","unchecked");				
				}
					
					}
 
*/ 
function f_close(){
	$("#popup").animate({
		left:-490,
		opacity:0
	},400)
}

$(document).ready(function(){ 
	if (window.external) {
		$(".hover, input:button, input:submit, input:reset").hover(
			function(){$(this).fadeTo("fast", 0.5);},
			function(){$(this).fadeTo("fast", 1);}
		);
	}
	
	if($.browser.msie) {
		$("#nav ul.k2, #nav ul.k3").after("<div class='clr'></div>");
		$("#nav .kij").replaceWith("<img class='line' style='width:131px; margin:auto;' src='_images/line.gif' alt=' ' />");
		$("#email_f").addClass("email_f_ie");
	}
	
	$(".kal_box .kal_month").click( function(){	
		$(this).next(":visible").hide("normal");
		$(this).next(":hidden").show("normal")
	});
	
	$(function() {
		$('#nav').droppy();
	});
	
	$("#etd_logo a").click(function() {
		window.open("http://www.etendard.pl");
		return false;
	});
	
	$("#nav li span").hover(
		function(){$(this).css("textDecoration", "underline");},
		function(){$(this).css("textDecoration", "none");}
	);
	
	jQuery('#home_prawa').accordion({ 
		active: 0, 
		header: '.head', 
		navigation: true, 
		event: 'mouseover', 
		autoheight: true,
		fillSpace: false, 
		animated: 'easeslide'
	});
});


 
