<script type="text/javascript">
function highlightAction(div_id){
Analytics.logAction(/* String for the Name */'subtab highlighted', /* Object for the Param */ {tab_id: div_id})
}
</script>
<div id="some_sub_tab" onclick="highlightAction('some_sub_tab')">
This is a tab with some interesting information inside and we care if they click on it.
</div>