<html>
<head>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>制造商出具的授权函</title>
<script language="javascript">
/*var GetHtml = window.document.all.GetHtml;
var urlinfo=window.location.href; //获取当前页面的url
var len=urlinfo.length;//获取url的长度
var offset=urlinfo.indexOf("?");//设置参数字符串开始的位置
newsidinfo=urlinfo.substr(offset,len)//取出参数字符串 这里会获得类似“id=1”这样的字符串
var SpanHpCompany = GetHtml.document.getElementById("SpanHpCompany");
SpanHpCompany.innerHTML = newsidinfo;*/
//newsids=newsidinfo.split("=");//对获得的参数字符串按照“=”进行分割
//newsid=newsids[1];//得到参数值
// 设置页眉页脚,左右边距
function PageSetup()
{
try
{
var RegWsh = new ActiveXObject("WScript.Shell") ;
hkey_key="header" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"") ;
hkey_key="footer" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"") ;
hkey_key="margin_left" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"1.24803") ;
hkey_key="margin_top" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"1") ;
hkey_key="margin_right" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"1.24803") ;
hkey_key="margin_bottom" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"1") ;
}
catch(e){}
}
function PageSetup_Null()
{
try{
var RegWsh = new ActiveXObject("WScript.Shell") ;
hkey_key="header" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"") ;
hkey_key="footer" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"") ;
}
catch(e){}
}
function printContent()
{
wb1.execwb(6,6) ;
PageSetup_Null();
// wb1.execwb(6,6) ;
window.close();
}
function Refresh()
{
if(document.getElementById("DownFileA"))
document.getElementById("DownFileA").click();
//window.location.reload();
}
//eval("http://localhost/BidCommision/TempFileFolder/Template.doc");
function printSetup()
{
// 打印页面设置
wb.execwb(8,1);
//factory.printing.PageSetup();
}
function printPreview()
{
// 打印页面预览
wb.execwb(7,1);
}
</script>
<OBJECT id="wb1" height="0" width="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"
name="wb" VIEWASTEXT>
</OBJECT>
</head>
<body onload="printContent()">
</body>
</html>
<head>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>制造商出具的授权函</title>
<script language="javascript">
/*var GetHtml = window.document.all.GetHtml;
var urlinfo=window.location.href; //获取当前页面的url
var len=urlinfo.length;//获取url的长度
var offset=urlinfo.indexOf("?");//设置参数字符串开始的位置
newsidinfo=urlinfo.substr(offset,len)//取出参数字符串 这里会获得类似“id=1”这样的字符串
var SpanHpCompany = GetHtml.document.getElementById("SpanHpCompany");
SpanHpCompany.innerHTML = newsidinfo;*/
//newsids=newsidinfo.split("=");//对获得的参数字符串按照“=”进行分割
//newsid=newsids[1];//得到参数值
// 设置页眉页脚,左右边距
function PageSetup()
{
try
{
var RegWsh = new ActiveXObject("WScript.Shell") ;
hkey_key="header" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"") ;
hkey_key="footer" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"") ;
hkey_key="margin_left" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"1.24803") ;
hkey_key="margin_top" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"1") ;
hkey_key="margin_right" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"1.24803") ;
hkey_key="margin_bottom" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"1") ;
}
catch(e){}
}
function PageSetup_Null()
{
try{
var RegWsh = new ActiveXObject("WScript.Shell") ;
hkey_key="header" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"") ;
hkey_key="footer" ;
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"") ;
}
catch(e){}
}
function printContent()
{
wb1.execwb(6,6) ;
PageSetup_Null();
// wb1.execwb(6,6) ;
window.close();
}
function Refresh()
{
if(document.getElementById("DownFileA"))
document.getElementById("DownFileA").click();
//window.location.reload();
}
//eval("http://localhost/BidCommision/TempFileFolder/Template.doc");
function printSetup()
{
// 打印页面设置
wb.execwb(8,1);
//factory.printing.PageSetup();
}
function printPreview()
{
// 打印页面预览
wb.execwb(7,1);
}
</script>
<OBJECT id="wb1" height="0" width="0" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"
name="wb" VIEWASTEXT>
</OBJECT>
</head>
<body onload="printContent()">
</body>
</html>