I've been a bit stuck, can anybody help me please.
I want a simple operation, get the class of the clicked item and
hide all elements inside of .rs-tabs that doesn't have the class
of the clicked element and show the one witch has the same class.
I couldn't make sense of your code, but here's how to hide all
the divs inside "rstabs" that don't have the class
"myClass". Replace "myClass" with whatever the class
is that you're giving your items when you click on them.