$(document).ready(function(){
var link = $("#test a");
link.click(function(){
link.addClass(function( index, currentClass ) {
var addedClass = '';
if ( currentClass === "actived-1" ) {
addedClass = "actived-ie";
setTimeout(function(){
link.removeClass(addedClass);
}, 5000);
}
return addedClass;
});
});
});