function doZoom(size){
  document.getElementById('zoom').style.fontSize=size+'px';
  document.getElementById('zoom2').style.fontSize=size+'px';
}

function doPrint()
{
  var str="<html>\n";

  str +=  '<meta http-equiv="content-type" content="text/html; charset=GBK">\n';
  str +=  '<title>'+document.title+'</title>\n';
  str +=  "<body bgcolor=#ffffff topmargin=5 leftmargin=5 marginheight=5 marginwidth=5 onLoad='window.print()'>\n";
  str +=  "<center>\n<table width=778 border=0 cellspacing=0 cellpadding=0>\n"
  str +=  "<tr>\n<td align=right style='FONT-SIZE: 12px'>\n<a href='javascript:window.print()'>打印</a>  <a href='javascript:window.close()'>关闭</a></td></tr></table>\n";
  str +=  "<table width=778 border=0 cellpadding=0 cellspacing=0 ><tr><td>\n";

  str +=  document.getElementById('ArticleBody').innerHTML;

  str +=  "</td></tr>\n";
  str +=  "<tr><td = height=30 valign=bottom style='FONT-SIZE: 14px'>本文的地址：" + document.location.href + "</td></tr>\n";
  str +=  "</table></center>\n";
  str +=  "</body></html>";

  win=window.open("","","toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,,width=800");
  win.document.write(str);
  win.document.close();
}

function sendMail()
{
  mailform.aurl.value = document.location.href;
  mailform.submit();
}

function MemberLogin()
{
  memberform.RequestURL.value = document.location.href;
  memberform.RedirectURL.value ="../../../web/weblet/member/login.jsp"
  memberform.submit();
}

function MemberLogout()
{
  if(!confirm('确认退出么?'))
    return;
  form_logout.aurl.value = document.location.href;
  form_logout.submit();
}
