Javascript code and Sharepoint 2007 weird request

Javascript code and Sharepoint 2007 weird request

Guys,
I have a a strange request, generally the problem is that I've bit of a code generated by Sharepoint. It displays list of links containing user views in a form of dropdown menu. Now I don't want to have dropdown menu, instead I would like table with the same list of links that java script below code generate. Of course not after onclick but renders as page renders. I know, I know very bad idea but the issue is that I'm not site admin and I don't have privileges to do this in any other way / can't create page or even check source of main js on sharepoint. I'm only able to add webpart, put it in curtain site area and let it render html / javascript / JQuery for me.
When I use below code it works rendering dropdown menu. Question is, knowing below functions onclick can you figure out how to make table with links out of it instead doropdown menu?
Thanks
Evo

  1. <table cellspacing="0" cellpadding="0" border="0" style="margin-right: 4px"> <tbody> <tr> <td class="ms-listheaderlabel" nowrap="">View: </td> <td id="ctl00_m_g_ecb39695_6dcf_441f_ad1c_093e2e59f147_ctl00_ctl00_toolBarTbl_RightRptControls_ctl01_ctl00_onetViewSelector" class="ms-viewselector" nowrap="nowrap" onmouseout="this.className='ms-viewselector'" onmouseover="this.className='ms-viewselectorhover'"> <span title="Open Menu"> <div id="zz44_ViewSelectorMenu_t" class="ms-viewselector" nowrap="nowrap" oncontextmenu="this.click(); return true;" foa="MMU_GetMenuFromClientId('zz44_ViewSelectorMenu')" onclick=" MMU_Open(byid('zz34_ViewSelectorMenu'), MMU_GetMenuFromClientId('zz44_ViewSelectorMenu'),event,true, 'ctl00_m_g_ecb39695_6dcf_441f_ad1c_093e2e59f147_ctl00_ctl00_toolBarTbl_RightRptControls_ctl01_ctl00_onetViewSelector', 0);" hoverinactive="ms-viewselector" hoveractive="ms-viewselectorhover" onmouseover="MMU_PopMenuIfShowing(this);MMU_EcbTableMouseOverOut(this, true)"> <a id="zz44_ViewSelectorMenu" serverclientid="zz44_ViewSelectorMenu" menutokenvalues="MENUCLIENTID=zz44_ViewSelectorMenu,TEMPLATECLIENTID=zz34_ViewSelectorMenu" oncontextmenu="this.click(); return false;" onkeydown="MMU_EcbLinkOnKeyDown(byid('zz34_ViewSelectorMenu'), MMU_GetMenuFromClientId('zz44_ViewSelectorMenu'), event);" onfocus="MMU_EcbLinkOnFocusBlur(byid('zz34_ViewSelectorMenu'), this, true);" style="cursor:pointer;white-space:nowrap;" onclick="javascript:return false;" href="#" accesskey="W"> <img align="absbottom" alt="" src="/_layouts/images/blank.gif"> </div> </span> </td> </tr> </tbody> </table>