function showInstallForm($title, $p_startdir)
    {
        ?>
		<table class="content">
<?php 
        XmapAdminHtml::writableCell('/administrator/components/com_xmap/extensions');
        ?>
		</table>
		<div style="margin: 10px 0px; padding: 5px 15px 5px 35px; min-height: 25px; border: 1px solid #cc0000; background: #ffffcc; text-align: left; color: red; font-weight: bold; background-image: url(../includes/js/ThemeOffice/warning.png); background-repeat: no-repeat; background-position: 10px 50%;">
			<?php 
        echo _XMAP_INSTALL_3PD_WARN;
        ?>
		</div>
		<script language="javascript" type="text/javascript">
		function submitbutton3(pressbutton) {
			var form = document.adminForm_dir;

			// do field validation
			if (form.install_directory.value == ""){
				alert( "<?php 
        echo str_replace('"', '\\"', _XMAP_MSG_SELECT_FOLDER);
        ?>
" );
			} else {
				form.submit();
			}
		}
		</script>
		<form enctype="multipart/form-data" action="index2.php" method="post" name="filename">
		<table class="adminheading">
		<tr>
			<th class="install">
			<?php 
        echo $title;
        ?>
			</th>
		</tr>
		</table>

		<table class="adminform">
		<tr>
			<th>
			<?php 
        echo _XMAP_UPLOAD_PKG_FILE;
        ?>
			</th>
		</tr>
		<tr>
			<td align="left">
			Package File:
			<input class="text_area" name="install_package" type="file" size="40"/>
			<input class="button" type="submit" value="<?php 
        echo _XMAP_UPLOAD_AND_INSTALL;
        ?>
" />
			</td>
		</tr>
		</table>

		<input type="hidden" name="task" value="uploadfile" />
		<input type="hidden" name="installtype" value="upload" />
		<input type="hidden" name="option" value="com_xmap" />
		</form>
		<br />

		<form enctype="multipart/form-data" action="index2.php" method="post" name="adminForm_dir">
		<table class="adminform">
		<tr>
			<th>
			<?php 
        echo _XMAP_INSTALL_F_DIRECTORY;
        ?>
			</th>
		</tr>
		<tr>
			<td align="left">
			<?php 
        echo _XMAP_INSTALL_DIRECTORY;
        ?>
:&nbsp;
			<input type="text" name="install_directory" class="text_area" size="60" value="<?php 
        echo $p_startdir;
        ?>
"/>&nbsp;
			<input type="button" class="button" value="<?php 
        echo _XMAP_INSTALL;
        ?>
" onclick="submitbutton3()" />
			</td>
		</tr>
		</table>

		<input type="hidden" name="task" value="installfromdir" />
		<input type="hidden" name="installtype" value="folder" />
		<input type="hidden" name="option" value="com_xmap"/>
		</form>
		<?php 
    }