Try to find a global function, to get and to put the backgroundPosition-values, but I feel a bit confused. Here is the function:
function global_backgroundPosition_Menu(num){
$('#Navigation_1')
.css({
backgroundPosition: num + "px 0"
})
}
/////////////////// An here I want to call and put the function:
if ($('#Navigation_1 li.leistungen.active').length != 0){
global_backgroundPosition_Menu();
$('#Navigation_1')
.css({
backgroundImage: "url(images/background/menu_highlight_hg.png)",
backgroundRepeat: "no-repeat",
})
.animate({
backgroundPosition: "30px 0"
})
global_backgroundPosition_Menu(30)
};