<!-- S 图片上传组件 -->
<!-- 上传图片公共组件 Start-->
<div id="confirmBox" style="display:none;z-index:1000;" class="layer_common_v2 layer_pop_out">
    <div class="layer_inner">
        <div class="layer_hd"><div class="layer_hd_title">温馨提示</div><a class="layer_hd_close" href="javascript:void(0)" onClick="closeDialog('confirmBox');">close</a></div>
        <div class="layer_bd">
            <i class="layer_status icon_tips_32_failure"></i>
            <div class="layer_cont">
                <div class="layer_cont_hd"></div>
                <div class="layer_cont_bd" id="confirmBox_txt">确定删除图片吗？</div><br/>
                <div class="layer_cont_ft">
                    <a class="mod_btn" href="javascript:void(0)" onClick="deleteShopImageCallback();"><span class="btn_cont">确定</span></a>
                    <a class="mod_btn mod_btn_gray" href="javascript:void(0)" onClick="closeDialog('confirmBox');"><span class="btn_cont">取消</span></a>
                </div>
            </div>
        </div>
    </div>
</div>

<div  class="module_box_normal"  id="pic_area" style="display:none;z-index:99999;">
	  <!--[if IE 6]><iframe frameBorder="0" style="position:absolute;top:-10px;left:-10px;z-index:-1;filter:Alpha(Opacity=0);border:solid;width:105%;height:300px;"></iframe><![endif]-->
	  <div class="box_title"><h4 id="pic_area_title">上传图片</h4><a href="javascript:closePicArea()" class="bt_close"></a></div>
	  <div class="box_content">
			<form id="upload_pic_form" name="upload_pic_form" enctype="multipart/form-data" method="POST"
				 action="/upload?callback=parent.showUploadImgResult" target="upload_pic_form_cmd">
				 <input type="hidden" name="name" id="upload_name" value="" />
				 <div class="up-tabs">
					<div class="up-tabs-title"><ul class="clearfix"><li class="active">本地上传</li><li>网络图片</li></ul></div>
					<div class="up-tabs-content">
					<div class="tab">
						<input type="file" name="upfile" id="upload_pic"   /> <input type="checkbox" id="upload_pic_cloud" name="cloud" value="1" onclick="uploadCloud()" /> 使用炫彩云空间<br/><input type="hidden" name="img_name" id="img_name"/><input type="button"   value="上传" onclick="uploadImg();" />&nbsp;&nbsp;<input type="button"   value="关闭" onclick="closePicArea();" />
						<p id="pic_text"><strong>图片不允许超过<strong>1024 KB</strong>，支持jpg、jpeg、gif格式。</strong></p>
					</div>
					<div class="tab">
						<input type="text" name="upurl" id="upload_url" value="" /><input type="button" value="确定" onclick="uploadUrl();" />
					</div>
					</div>
				 </div>
			</form>
			<iframe id="upload_pic_form_cmd" name="upload_pic_form_cmd" style="display:none" width="0" height="0" scrolling="no" border="0" frameborder="0" src=""></iframe>
			<p id="pic_area_status"></p>
	  </div>
</div>
<!-- 上传图片组件结束 End-->
<script>
var GLOBALIMG = {
    'pic_company_license_url':false
}
var UPLOAD_IMG_NAME_VALUE = "";
var DELETE_IMG_NAME_VALUE = "";
var UPLOAD_IMG_MASK = null; 
</script>
<script type="text/javascript" src="{$baseUrl}static/js/upload.js"></script>
<!-- E 图片上传组件 -->
