$(document).ready(function(){

$("[class=scroll]").click(function(){
$("#content").scrollTo($(this).attr("name"), 500);
});
});