$(function(){var a=$("input.tabbutton");a.click(clickEvent);a.mouseover(mouseoverEvent);a.mouseout(mouseoutEvent);var b=$("input.ms_tabbutton");if(b.length>0){b.click(msClickEvent);b.mouseover(mouseoverEvent);b.mouseout(mouseoutEvent)}});function mouseoverEvent(){$(this).addClass("mouseover")}function mouseoutEvent(){$(this).removeClass("mouseover")}function clickEvent(){var a=$("div.tabbing_div");a.hide();$("input.tabbutton").removeClass("activetab");$(this).addClass("activetab");if($(this).attr("id")=="button_gestern"){$("#trends_gestern").show()}else{if($(this).attr("id")=="button_vorwoche"){$("#trends_vorwoche").show()}else{$("#trends_vormonat").show()}}}function msClickEvent(){var a=$("div.ms_tabbing_div");a.hide();$("input.ms_tabbutton").removeClass("activetab");$(this).addClass("activetab");if($(this).attr("id")=="ms_button_gestern"){$("#ms_trends_gestern").show()}else{if($(this).attr("id")=="ms_button_vorwoche"){$("#ms_trends_vorwoche").show()}else{$("#ms_trends_vormonat").show()}}};