<textarea cols="50" rows="20" id="SearchContextMenus">


<!-- FILE MENU -->
<div id="afian_search_context_file" class="menu">
<div class="contextMenu">
<img src="images/interface/x.gif" width="8" height="8" border="0" alt="" style="position:absolute;top:2px;right:2px;cursor:hand;" onClick="javascript:AfianHandler.activeTab.unselectAll()" title="<?$lang->display("Clear selection");?>">
<strong>



<?
/*if ($permissions['unlimitedTraffic'] || $quota->canAddTraffic()) {*/
?>
<a href="javascript:;" onClick="javascript:SearchGet()" class="item"><?$lang->display("Download");?></a>
<?/*} else {?>
<a href="javascript:;" onClick="javascript:msg('notraffic')" class="itemdisabled"><?$lang->display("Download");?></a>
<?}*/?>

</strong>
<br>
<a href="javascript:;" onClick="javascript:SearchGoTo()" class="item"><?$lang->display("Go to");?></a>
</div>
</div>


<!-- DIR MENU -->

<div id="afian_search_context_dir" class="menu" >
<div class="contextMenu">
<img src="images/interface/x.gif" width="8" height="8" border="0" alt="" style="position:absolute;top:2px;right:2px;cursor:hand;" onClick="javascript:AfianHandler.activeTab.unselectAll()" title="<?$lang->display("Clear selection");?>">
<strong><a href="javascript:cd(false, true, false)" class="item"><?$lang->display("Open in new tab");?></a></strong>
<br>
<a href="javascript:;" onClick="javascript:SearchGoTo()" class="item"><?$lang->display("Go to");?></a>
</div>
</div>



</textarea>


<script>
ht = document.getElementById('SearchContextMenus').value;
parent.AfianHandler.loadHTMLComponent('SearchContextMenus', ht);
parent.AfianHandler.components['SearchContextMenus'].loaded = true;

parent.makeDragable('afian_search_context_file');
parent.makeDragable('afian_search_context_dir');
</script>