jQuery.fn.extend({
adadvance:function(id){
var obj   = this;
var count = $('dd',obj).length-1;
if(id==null)
{
$('dd.'+count,obj).show();
}
else if(id>=0 && id<=count) 
{
$('dd.'+id,obj).show();
}
$('dt',obj).mouseover(function() {
$('dt',obj).removeClass("cur");
$(this).addClass("cur");
$('dd',obj).hide();
$('dd.'+$(this).attr("id")+'',obj).show();
});
}
});

