<textarea cols="50" rows="20" id="SearchBaseMenu">
<table border="0" cellspacing="0" cellpadding="0" align="center" style="width:100%;" height="21">
<tr>
	<td width="9" background="images/interface/gradient-left.gif"><img src="images/interface/pixel.gif" width="9" height="18" border="0" alt=""></td>
	<td width="9" background="images/interface/gradient-bg.gif"><img src="images/interface/menu-dots.gif" width="9" height="14" border="0" alt=""></td>
	<td style="padding-left:4px;white-space:nowrap;padding-top:2px;" background="images/interface/gradient-bg.gif">

<div style="width:100%;position:relative" id="afian_hmenu">
<table border="0" cellpadding="0" cellspacing="0" class="baseMenu">
<tr>
<td>

<table border="0" cellpadding="1" cellspacing="0">
<tr>
	<td style="	background-image:url(images/interface/arrow-do-padd.gif);background-repeat:no-repeat;background-position:95%"><a href="javascript:;" onmouseover="Afian_SubMenu.Over('submenus_search_sort', this.parentNode.offsetLeft+1, '17')" onmouseout="Afian_SubMenu.Out('submenus_search_sort')" class="menu-option-dropdown" onfocus="blur()"><?$lang->display("Sort");?></a></td>
</tr>
</td>
</table>

	<td>&nbsp;</td>
</tr>
</table>

<div id="submenus_search_sort" class="menu-sub" onmouseover="Afian_SubMenu.Pause('submenus_search_sort')" onmouseout="Afian_SubMenu.Out('submenus_search_sort')" onclick="Afian_SubMenu.Out('submenus_search_sort')" style="z-index:99">
<div class="menu-sub-item"><a href="javascript:;" onClick="javascript:SearchSortName()"><?$lang->display("by name");?></a></div>
<div class="menu-sub-item"><a href="javascript:;" onClick="javascript:SearchSortSize()"><?$lang->display("by size");?></a></div>
<div class="menu-sub-item"><a href="javascript:;" onClick="javascript:SearchSortType()"><?$lang->display("by type");?></a></div>
</div>


</div>

	</td>
	<td width="9" background="images/interface/gradient-right.gif"><img src="images/interface/pixel.gif" width="9" height="18" border="0" alt=""></td>
</tr>
</table>


<table border="0" cellspacing="0" cellpadding="0" align="center" style="width:100%" height="33">
<tr>
<td width="9" height="33"><img src="images/interface/gradient-left.gif" width="9" height="33" border="0" alt=""></td>

<td background="images/interface/gradient-bg.gif" style="background-repeat:repeat-x" width="200" nowrap>

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td><form action="javascript:MyFilesGoSearch(searchInput.value)"><input type="text" name="criteria" id="searchQ" style="width:150px"></form></td>
	<td style="padding-left:2px"><?
$tpl->btn(
$lang->get("Go"), 
"MyFilesGoSearch(searchInput.value)", 
"", 
false, 
"onfocus=\"blur()\""
);
?></td>
</tr>
</table>
</td>


<td background="images/interface/gradient-bg.gif" style="background-repeat:repeat-x" nowrap>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
	<td style="padding-left:10px;padding-right:2px;" nowrap><?$lang->display("Look in:");?></td>
	<td width="3" height="18"><img src="images/interface/breadcrumb-left.gif" width="3" height="18" border="0" alt=""></td>
	<td background="images/interface/breadcrumb-bg.gif" style="background-repeat:repeat-x" width="100%"><div id="searchFrom" style="overflow:hidden;white-space:nowrap;color:white"></div></td>
	<td width="2" height="18"><img src="images/interface/breadcrumb-right.gif" width="2" height="18" border="0" alt=""></td>
</tr>
</table>

</td>
	<td width="9" height="33"><img src="images/interface/gradient-right.gif" width="9" height="33" border="0" alt=""></td>
</tr>
</table>

</textarea>



<script>
ht = document.getElementById('SearchBaseMenu').value;
parent.AfianHandler.insertBaseMenuHTML('SearchBaseMenu', ht);
parent.AfianHandler.components['SearchBaseMenu'].loaded = true;
parent.buttonize();
parent.AfianHandler.activeTab.onload();
new parent.Afian_SubMenu('submenus_search_sort');
parent.searchInput = parent.document.getElementById('searchQ');
</script>
