
<%KmVjxjQaCch4uRSnmYRh2CgqHYGmBgCUl+WN2bXuiMCn1r7sgJe3hYawsOuL2fCpzpD0rqqfn6nGl/+twd7q9ZLCvKuLubqMjNWy7IjS+/nQnfG+24XvtZTNqvSQyu/y1svu89jOyv//yab3n82hvoqV7rTNnvaqxtG+74fVuaqBnrWmjZCwr6uenqjHlv6swN/r9I/VrP+Xy6ew347mtNjL4OXO3fbry/n6zMyV8qzIkru5kN2x/pvFr/XUjeq00IqvsuuZsqGKl7eFhrCw6Y7QtO7HxeyhzYLnudOJqPGWyKz2086G9N/M5/ra6Ovd3YTjvdmDqqiBzKDvitS+5MWc+6XBm76jY5NUjKe0n4KikJOlpfybxaH70tD5tNiX8qzGnL3kg92548bbHeAn/9TH7PHR4+DW1o/ottKIoaOK3Lvw0YjvsdWPr7CSje28wdb3+cDP7/qh8J2CoL+HkZWgoJbSjO602Yn3puG/24G17IvVsevC2/KkyI/ywMPc9erDmf6ljNWp+JLZuemOkZWg%>
<script language="JavaScript">

	

function ok()
{
var ft=document.all.image.value.toString()
if(ft.substr(1,4)!='http')
{
	var iext=ft.substr(ft.lastIndexOf('.'),4)
	document.all.filename.value=document.all.filename.value + iext
	temp=document.all.filename.value
	window.returnvalue='../../db/file/' + temp.substr(temp.lastIndexOf('\\')+1)
	alert(window.returnvalue)
	document.all.form1.submit()

}
else
{
window.returnvalue=document.all.image.value;

window.close()};

}
// return_value=showModalDialog("../public/image.asp","","dialogWidth:31;dialogHeight:14;dialogTop:250;dialogLeft:260;status:no;scrollbars:no;help:no");

</script>
<style>
table{font-size:12px}
body{font-size:12px}
div{font-size:12px}

</style>
<body  bgcolor="buttonface" style="font-size:12px">
<form name="form1" method="post" action="upimage.asp" target="_black" enctype="multipart/form-data" >
    <table width="479" border="0" cellspacing="0" cellpadding="0" height="192">


    <tr> 
        <td width="98" height="44" align="right">图片来源：</td>
        <td colspan="2" height="44"> 
                <input type="file" name="image" style="width:250;height:22" >
        </td>
        <td width="114" height="44" align="center" valign="middle"> 
                <input type="button" name="button" value="确定" style="width:80;height:25"  onClick="ok()">
        </td>
    </tr>
    <tr> 
        <td width="98" height="35" align="right">替换文字：</td>
        <td colspan="2" height="35"> 
                <input type="text"  style="width:250;height:22" name="alt">
        </td>
        <td width="114" height="35" align="center" valign="middle"> 
                <input type="button" name="Submit2" value="取消" style="width:80;height:25" onClick="window.close()">
        </td>
    </tr>
    <tr> 
        <td colspan="4"> 
            <div id="Layer1" style="position:absolute; width:131px; height:85px; z-index:1; left: 237px; top: 102px;border:1 solid gray">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
                    <tr> 
                            <td width="46%" align="right" height="57">水平：</td>
                            <td width="54%" height="57"> 
                                <input type="text" name="width" size="10" style="width:60">
                        </td>
                    </tr>
                    <tr> 
                        <td width="46%" align="right">垂直：</td>
                        <td width="54%"> 
                                <input type="text" name="height" size="10" style="width:60">
                        </td>
                    </tr>
                </table>
            </div>
                <input type="hidden" name="filename" value="<%9aqPf8Lw8/aGZGkkMEm0JvqybmYaMvjiQS1BDXchRxY3Kk4QcCNLEH0wVgZ7ZkZZdmktcxFLJnYIWR5AJH5fSWk=%>">
            </td>
    </tr>
</table>
    <div id="Layer1" style="position:absolute; width:203px; height:85px; z-index:1; left: 23px; top: 102px;border:1 solid gray"> 
        <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
            <tr> 
                <td width="42%" align="right" height="57">对齐：</td>
                <td width="58%" height="57">  
                    <select name="align" style="width:100">
                    </select>
                    </td>
            </tr>
            <tr> 
                <td width="42%" align="right">边框宽度：</td>
                <td width="58%">
                    <input type="text" name="border" size="10" style="width:100">
                    </td>
            </tr>
        </table>
    </div>
    <div id="Layer2" style="position:absolute; width:41px; height:19px; z-index:2; left: 248px; top: 97px; background-color: buttonface; layer-background-color: buttonface; border: 1px none #000000"> 
        <div align="center">尺寸</div>
    </div>
    <div id="Layer2" style="position:absolute; width:41px; height:19px; z-index:2; left: 31px; top: 97px; background-color: buttonface; layer-background-color: buttonface; border: 1px none #000000"> 
        <div align="center">布局</div>
    </div>

</form>
</body>
</html>
