/*图片预览*/
function PreviewImg(imgFile){
//预览代码,支持 IE6、IE7。
var preImg = document.getElementById("imgTag");
preImg.innerHTML = "";
preImg.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = imgFile.value;
preImg.style.width = "98px";
preImg.style.height = "98px";
}
</script>
<!-- 设置默认图片 -->
<s:if test="%{imageurlFileName==null||imageurlFileName==''}">
<img id="imageTag" src="images/article/001.jpg" width="80px"
height="80px" />
</s:if>
<s:else>
<img id="imageTag"
src="images/article/<s:property value="imageurlFileName"/> />"
width="80px" height="80px" />
</s:else>
</div>
</td>
</tr>
<tr>
<td height="30" align="right">
</td>
<td colspan="3" align="left">
<input id="imageurl" name="imageurl" type="file"
οnchange="javascript:PreviewImg(this);"
class="input_blue_border" size="25" />
</td>
</tr>