<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExpressPrint.aspx.cs" Inherits="DreamerShop.Admin.ExpressPrint" %>
<%@ Register TagPrefix="uc1" TagName="LanguagesDeal" Src="LanguagesDeal.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta charset="utf-8" />
    
    <%if (!mblIsPreview)
      {%>
	    <SCRIPT LANGUAGE="javascript" FOR="window" EVENT="onload">
		    <!--
			    print(this);
		    //-->
	    </SCRIPT>
    <%} %>

</head>
<uc1:LanguagesDeal id="myLanguagesDeal" runat="server" Visible="False"></uc1:LanguagesDeal>
<body >
	<%=mstrContent%>
<object id="WebBrowser" width=0 height=0 classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2">
</object>
<p><input type="submit" value="打印" onClick="print(this);" id="btn"/></p>
<script type="text/javascript">
    function print(el) {
        document.getElementById("btn").style.display = 'none';
        document.getElementById("box").style.backgroundImage = "none";
        WebBrowser.ExecWB(6, 1);
    }
</script>

</html>
