Te l'ho postato l'esempio

guida css
Con i links dentro alle td il tag che scatena
l'evento cambia quindi get target cambia
in questo modo:
Codice PHP:
function getTarget(e){
        var 
target window.event window.event.srcElement e.target null;
        if (!
target){return false;}
        if (
target.tagName.toLowerCase() == 'a'){target target.parentNode;}
        return 
target;
    }