$(
function(){
function
tabs(
tabTit,
on,
tabCon){
$(
tabTit).
children().
hover(
function(){
$(
this).
addClass(
on).
siblings().
removeClass(
on);
var
index =
$(
tabTit).
children().
index(
this);
$(
tabCon).
children().
eq(
index).
show().
siblings().
hide();
});
};
tabs(
".tab-hd1",
"active",
".tab-bd");
});