$(document).ready(function() {

    

	    //icon hover

		$(".imghover_1,.imghover_2").hover(
		    function(){
		        
		        tmp=$(this).attr("src").split("/");
		        rest=tmp.pop();
		       
		        n= rest.substring(0,rest.length - 10)+".gif";
		     
		        newSrc= tmp.join("/")+"/"+ n;
		     
		        $(this).attr({src: newSrc});
		    
	        },
	        function(){
		        tmp=$(this).attr("src").split("/");
		        rest=tmp.pop();
		      
		        n= rest.substring(0,rest.length - 4)+"_trans.gif";
		      
		        newSrc= tmp.join("/")+"/"+ n;
		     
		        $(this).attr({src: newSrc});
		    
	        }

	    );
	    //img_manifest rollover
    	$(".img_manifest").hover(
    	    function(){
    	        
    	        $(this).attr({src: SYSTEMPATH+"html/img/fontpics/bt_protocol_over_"+lang+".png"});
            },
            function(){
    	        $(this).attr({src: SYSTEMPATH+"html/img/fontpics/bt_protocol_"+lang+".png"});
            }
        );
	    //img_history rollover
    	$(".img_history").hover(
    	    function(){
    	        
    	        $(this).attr({src: SYSTEMPATH+"html/img/fontpics/bt_history_over_"+lang+".png"});
            },
            function(){
    	        $(this).attr({src: SYSTEMPATH+"html/img/fontpics/bt_history_"+lang+".png"});
            }
        );
        //klotz weg
        	$("#seite_unten").hide();
	   
		
});
/*********************************************/
function switch_step(idx){
    //erst alle aus
            $("#home_0").hide();
            $("#home_1").hide();
            $("#home_2").hide();
            $("#home_3").hide();
            $("#home_4").hide();
            $("#home_5").hide();
     //und den einen an       
            $("#home_"+idx).show();
            if(idx == 4)
                $("#seite_unten").show();
            else
                $("#seite_unten").hide();
    //und highlighten
    $(".akt").attr("src",SYSTEMPATH+"html/img/icons/symbol_"+idx+".gif");
    
}
/*********************************************/
