$(document).ready(function()
{ 
	$(".file_links a").each(function(i){
		var typ=$(this).attr("href");
		typ=typ.split(".");
		
		
		$(this).addClass(typ[1]);
	});




 	/*$("#sr_language_menu_select option").each(function(i)
                        {
                           var value=String($(this).attr("value"));
						   value=value.replace('//','/');
						   
						   $(this).attr("value",value);
                        });*/

$('.header_pics').cycle({ 
    fx:    'fade', 
    speed:  5000
 });

$(".pics_neu").accordion({
			active:false,
			event: "mouseover",
			animated: false,
			collapsible: true
		});	
		
$(".pics_neu").mouseleave(function(){
      $(".pics_neu").accordion('activate',false);
    });




 
 
	$("#head_1").mouseover(function(){
     $("#head_2_text").hide();
	 $("#head_3_text").hide();
	 $("#head_4_text").hide();
     $("#head_1_text").fadeIn("slow");
    }).mouseout(function(){
       $("#head_2_text").hide();
	 $("#head_3_text").hide();
	 $("#head_4_text").hide();
     $("#head_1_text").hide;
    });

	
	$("#head_2").mouseover(function(){
     $("#head_1_text").hide();
	 $("#head_3_text").hide();
	 $("#head_4_text").hide();
     $("#head_2_text").fadeIn("slow");
    }).mouseout(function(){
       $("#head_2_text").hide();
	 $("#head_3_text").hide();
	 $("#head_4_text").hide();
     $("#head_1_text").hide;
    });
	
	$("#head_3").mouseover(function(){
     $("#head_1_text").hide();
	 $("#head_2_text").hide();
	 $("#head_4_text").hide();
     $("#head_3_text").fadeIn("slow");
    }).mouseout(function(){
       $("#head_2_text").hide();
	 $("#head_3_text").hide();
	 $("#head_4_text").hide();
     $("#head_1_text").hide;
    });
	
	$("#head_4").mouseover(function(){
     $("#head_1_text").hide();
	 $("#head_3_text").hide();
	 $("#head_2_text").hide();
     $("#head_4_text").fadeIn("slow");
    }).mouseout(function(){
       $("#head_2_text").hide();
	 $("#head_3_text").hide();
	 $("#head_4_text").hide();
     $("#head_1_text").hide;
    });
	

 
 
 
 	

 
});