this.fadeLinks = function() {	







	







	var selector = "a.knapp";







	var speed = "slow"







	







	var bgcolor = "rgb(255,152,32)";







							







	$(selector).each(function(){ 







		$(this).css("position","relative");







		var html = $(this).html();







		$(this).html("<span class=\"one\">"+ html +"</span>");







		$(this).append("<span class=\"two\">"+ html +"</span>");		







		if($.browser.msie){







			$("span.one",$(this)).css("bgcolor");







			$("span.two",$(this)).css("bgcolor");	







			$("span.one",$(this)).css("opacity",1);			







		};







		$("span.two",$(this)).css("opacity",0);		







		$("span.two",$(this)).css("position","absolute");		







		$("span.two",$(this)).css("top","0");







		$("span.two",$(this)).css("left","0");		







		$(this).hover(







			function(){







				$("span.one",this).fadeTo(speed, 0);				







				$("span.two",this).fadeTo(speed, 1);







			},







			function(){







				$("span.one",this).fadeTo(speed, 1);	







				$("span.two",this).fadeTo(speed, 0);







			}			







		)







	});







};



$(document).ready(function(){	







	fadeLinks();







});


