<script language="JavaScript">
<!--
function unlockdrop(filename)
{
	var exten = filename.split(".");

	if( exten[1] == 'pak' )
	{
		eval("document.import.import_cat.disabled = false");
	}
	else
	{
		eval("document.import.import_cat.disabled = true");
	}
}
// -->
</script>
<div align="center">
<table cellspacing="1" cellpadding="4" border="0" width="70%" class="forumline">
<form action="{S_SMILEY_CAT_ACTION}" method="post" name="import">
	<tr>
		<th class="thTop" width="50%" colspan="2">{L_IMPORT_TITLE}</th>
	</tr>
	<tr>
		<td class="row2" valign="top" colspan="2"><span class="genmed">{L_IMPORT_DESCRIPTION}</span></td>
	</tr>
	<tr> 
		<td class="row1"><span class="genmed">{L_SELECT_PAK}</span></td>
		<td class="row1"><select name="smile_pak" onChange="unlockdrop(this.options[selectedIndex].value)">{S_CAT_PAK}</select></td>
	</tr>
	<tr> 
		<td class="row1"><span class="genmed">{L_SELECT_IMPORT}<span style="color: red;">*</span></span></td>
		<td class="row1"><select name="import_cat" disabled="disabled">{S_CAT_IMPORT}</select></td>
	</tr>
	<tr> 
		<td class="row1"><span class="genmed">{L_DEL_EXISTING}<span style="color: red;">*</span></span></td>
		<td class="row1"><span class="genmed"><input type="radio" name="del_smiley" value="1" />{L_YES}&nbsp;&nbsp;<input type="radio" name="del_smiley" value="0" checked="checked" />{L_NO}</span></td>
	</tr>
	<tr> 
		<td class="row1"><span class="genmed">{L_CONFLICTS}<span style="color: red;">*</span></span></td>
		<td class="row1"><span class="genmed">&nbsp;<input type="radio" name="replace" value="1" checked/>{L_REPLACE_EXISTING}<br />&nbsp;<input type="radio" name="replace" value="0" />{L_KEEP_EXISTING}</span></td>
	</tr>
	<tr> 
		<td class="row1"><span class="genmed">{L_DEL_EXISTING_ALL}</span></td>
		<td class="row1"><span class="genmed"><input type="radio" name="del_all" value="1" />{L_YES}&nbsp;&nbsp;<input type="radio" name="del_all" value="0" checked="checked" />{L_NO}</span></td>
	</tr>
	<tr> 
		<td class="catBottom" colspan="2" align="center"><input class="mainoption" name="import_pack_submit" type="submit" value="{L_SUBMIT}" /></td>
	</tr>
</form>
</table>
<br />
<span class="copyright">{COPYRIGHT}</span></div>
