<%
Sub createUpload()
%>
<script type="text/javascript">
//<![CDATA[
var nn_basePath = "<%=nn_basePath%>";
var nn_uploadPath = "<%=nn_uploadPath%>";
var nn_paramMaxFileSize = "<%=nn_paramMaxFileSize%>";
var nn_paramMaxFileNumber = "<%=nn_paramMaxFileNumber%>";
var nn_paramFilter = "<%=nn_paramFilter%>";
//]]>
</script>
<script type="text/javascript" src="<%=nn_basePath%>js/Silverlight.js"></script>
<script type="text/javascript" src="<%=nn_basePath%>js/total.js"></script>
<div id="silverlightControlHost">
	<object id="NnUpload" data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="<%=nn_width%>" height="<%=nn_height%>">
		<param name="source" value="<%=nn_basePath%>ClientBin/FileDragDrop.xap"/>
		<param name="onError" value="onSilverlightError" />
		<param name="background" value="white" />
		<param name="onload" value="pluginLoaded" />
		<param name="minRuntimeVersion" value="5.0.61118.0" />
		<param name="autoUpgrade" value="true" />
		<param name="initParams" value="paramSerialKey=<%=nn_key%>,paramUrl=http://<%=Request.ServerVariables("HTTP_HOST") & nn_basePath%>/FileUpload.ashx, paramFilter=<%=nn_paramFilter%>, paramMaxFileSize=<%=(nn_paramMaxFileSize*1048576)%>, paramMaxFileNumber=<%=nn_paramMaxFileNumber%>, prarmControlWidth=700, paramControlHeight=400" />
		<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=5.0.61118.0" style="text-decoration:none"><img src="http://go.microsoft.com/fwlink/?LinkId=161376" alt="Microsoft Silverlight 얻기" style="border-style:none"/></a>
	</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
</div>
<%
End sub
%>