Split example
//::::gets the name id of the link
var nome = event.target.id;
//::::splits the name in the _ characters and puts the parts in an array
var n = nome.split("_");
//:::: gets the id number after the _ character in the position 2 of the array
var num = n[1];
//:::: attributes the element [1] to the currentCursoLinkId
currentCursoLinkId = num;
//currentCursoLink = event.target; //cursosLinks[currentCursoLinkId-1];
currentCursoLink = $("#"+nome);