function vmn_getContentURL($newsitem)
{
    global $mainframe;
    $database =& JFactory::getDBO();
    $Itemid = $mainframe->getItemid($newsitem->id, 0, 0);
    //$database->setQuery("SELECT DISTINCT id FROM #__menu WHERE type = 'content_category' AND componentid=$newsitem->catid AND published=1");
    //$menuid = $database->loadResult();
    //return vmn_sefRelToAbs("index.php?option=com_content&task=view&id=". $newsitem->id . "&Itemid=" . $menuid);
    return vmn_sefRelToAbs("index.php?view=article&id=" . $newsitem->id . "&option=com_content&Itemid=" . $Itemid);
}
            if ($usermailformat == 1) {
                ?>
<img src="<?php 
                echo "components/com_vemod_news_mailer/tick.png";
                ?>
"><?php 
            }
            ?>
&nbsp;&nbsp;
					</td>
     				<td>
					<?php 
            if ($usermailformat != 1 && $my->id != 0) {
                ?>
<a id="selectText" href="<?php 
                echo vmn_sefRelToAbs($base_url . "&amp;changeusermailformat=1");
                ?>
" title="<?php 
                echo JTEXT::_('Select');
                ?>
"><strong>Text</strong></a>&nbsp;&nbsp;&nbsp;<?php 
            } else {
                ?>
<strong>Text</strong>&nbsp;&nbsp;&nbsp;<?php 
            }
            ?>
				    </td>
					<td width="25">                 			  
				  		<?php 
            echo doTextPreview($readmore, $sidebarmodules, $unsubscribealltext);
            ?>