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 to the 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 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 for sharepoint. I'm only able to add webpart, put it in curtain site area and let it render html / javascript 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?

<table cellspacing="0" cellpadding="0" border="0" style="margin-right: 4px">
				<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" 
								oncontextmenu="; return true;" 
								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);" 
								onmouseover="MMU_PopMenuIfShowing(this);MMU_EcbTableMouseOverOut(this, true)">
								<a id="zz44_ViewSelectorMenu" serverclientid="zz44_ViewSelectorMenu" menutokenvalues="MENUCLIENTID=zz44_ViewSelectorMenu,TEMPLATECLIENTID=zz34_ViewSelectorMenu" oncontextmenu="; 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">