if (!!window.ActiveXObject || "ActiveXObject" in window){
document.write('<object classid="clsid:FF09E4FA-BFAA-486E-ACB4-86EB0AE875D5" codebase="WebOffice.ocx#Version=2018,1,6,2" id="WebOffice" width="100%" height="900" >');
document.write('<param name="Menubar" value="1">  ');
document.write('<param name="Titlebar" value="1">');
document.write('<param name="Toolbars" value="1">');
document.write('</object>');}
else
{
document.write('<object id="WebOffice" CLSID="{FF09E4FA-BFAA-486E-ACB4-86EB0AE875D5}" TYPE="application/x-itst-activex"  width=100% height=900></object>');
}


var WebOffice = document.getElementById("WebOffice");

WebOffice.Titlebar = false;
WebOffice.MenuBar = false;
WebOffice.Toolbars = false;