package $proteus.oa.styles.xc;

import net.cyan.proteus.*;
import net.cyan.arachne.*;
import javax.servlet.*;
import javax.servlet.http.*;
import com.gzzm.platform.login.UserOnlineInfo;
import net.cyan.proteus.base.*;
import net.cyan.commons.util.*;

public class main$ptl implements TemplateProcessor
{

    public void process(TemplateContext context)throws Exception
    {
        TemplateWriter writer = context;
RequestContext requestContext=RequestContext.getContext();
ServletConfig config=requestContext.getServletConfig();
ServletContext application=requestContext.getServletContext();
HttpServletRequest request=requestContext.getRequest();
HttpServletResponse response=requestContext.getResponse();
HttpSession session=request.getSession(false);
java.io.PrintWriter out=context.get("out$");
TagContext tagContext = TagContext.getTagContext(context);
TagInfo tagInfo;
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("html");
tagInfo.setLine(2);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
TagProcessor proteusForwardProcessor$HtmlTagProcessor$0 = new net.cyan.arachne.result.ProteusForwardProcessor.HtmlTagProcessor();
if(tagContext.doStart(proteusForwardProcessor$HtmlTagProcessor$0,tagInfo))
{
do
{
if(tagContext.doBefore())
{
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("head");
tagInfo.setLine(3);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.setTagBefore(true);
TagProcessor proteusForwardProcessor$HeadTagProcessor$0 = new net.cyan.arachne.result.ProteusForwardProcessor.HeadTagProcessor();
if(tagContext.doStart(proteusForwardProcessor$HeadTagProcessor$0,tagInfo))
{
do
{
if(tagContext.doBefore())
{
writer.write("\r");
writer.write("\n");
writer.write("    <meta name=\"referrer\" content=\"always\">\r");
writer.write("\n");
writer.write("    ");
writer.write("<title");
writer.write(">");
writer.write("鹤山市政务协同办公系统");
writer.write("</title>");
writer.write("\r");
writer.write("<link");
writer.write(" type");
writer.write("=\"");
writer.write("text/css");
writer.write("\"");
writer.write(" rel");
writer.write("=\"");
writer.write("stylesheet");
writer.write("\"");
writer.write(" href");
writer.write("=\"");
writer.write(HtmlUtils.escapeAttribute(context.calculateExpression("net.cyan.arachne.RequestContext.getContext().transformUrl((request[\'style.path\'])+\'/main.css\')",6)));
writer.write("\"");
writer.write(">");
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("script");
tagInfo.setLine(7);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.addAttribute(new TagAttribute("type",null,new AttributeValue(new AttributeItem("text/javascript",false))));
tagInfo.addAttribute(new TagAttribute("src",null,new AttributeValue(new AttributeItem("net.cyan.arachne.RequestContext.getContext().transformUrl(\'/platform/menu/menu.js\')",true))));
TagProcessor scriptTagProcessor$0 = new net.cyan.proteus.base.ScriptTagProcessor();
if(tagContext.doStart(scriptTagProcessor$0,tagInfo))
{
do
{
if(tagContext.doBefore())
{
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("script");
tagInfo.setLine(8);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.setTagBefore(true);
tagInfo.addAttribute(new TagAttribute("type",null,new AttributeValue(new AttributeItem("text/javascript",false))));
tagInfo.addAttribute(new TagAttribute("src",null,new AttributeValue(new AttributeItem("net.cyan.arachne.RequestContext.getContext().transformUrl(\'/jquery/jquery.min.js\')",true))));
TagProcessor scriptTagProcessor$1 = new net.cyan.proteus.base.ScriptTagProcessor();
if(tagContext.doStart(scriptTagProcessor$1,tagInfo))
{
do
{
if(tagContext.doBefore())
{
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("script");
tagInfo.setLine(9);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.setTagBefore(true);
tagInfo.addAttribute(new TagAttribute("type",null,new AttributeValue(new AttributeItem("text/javascript",false))));
tagInfo.addAttribute(new TagAttribute("src",null,new AttributeValue(new AttributeItem("net.cyan.arachne.RequestContext.getContext().transformUrl(\'/platform/styles/xc/main.js\')",true))));
TagProcessor scriptTagProcessor$2 = new net.cyan.proteus.base.ScriptTagProcessor();
if(tagContext.doStart(scriptTagProcessor$2,tagInfo))
{
do
{
if(tagContext.doBefore())
{
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("script");
tagInfo.setLine(10);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.setTagBefore(true);
tagInfo.addAttribute(new TagAttribute("type",null,new AttributeValue(new AttributeItem("text/javascript",false))));
tagInfo.addAttribute(new TagAttribute("src",null,new AttributeValue(new AttributeItem("net.cyan.arachne.RequestContext.getContext().transformUrl((request[\'style.path\'])+\'/main.js\')",true))));
TagProcessor scriptTagProcessor$3 = new net.cyan.proteus.base.ScriptTagProcessor();
if(tagContext.doStart(scriptTagProcessor$3,tagInfo))
{
do
{
if(tagContext.doBefore())
{
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("script");
tagInfo.setLine(11);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.setTagBefore(true);
tagInfo.addAttribute(new TagAttribute("type",null,new AttributeValue(new AttributeItem("text/javascript",false))));
tagInfo.addAttribute(new TagAttribute("src",null,new AttributeValue(new AttributeItem("net.cyan.arachne.RequestContext.getContext().transformUrl(\'/oa/styles/main.js\')",true))));
TagProcessor scriptTagProcessor$4 = new net.cyan.proteus.base.ScriptTagProcessor();
if(tagContext.doStart(scriptTagProcessor$4,tagInfo))
{
do
{
if(tagContext.doBefore())
{
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
writer.write("\n");
writer.write("    <style>\r");
writer.write("\n");
writer.write("\r");
writer.write("\n");
writer.write("    </style>\r");
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
writer.write("\n");
writer.write("<body>\r");
tagInfo = new TagInfo();
tagInfo.setTagName("include");
tagInfo.setLine(19);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.addAttribute(new TagAttribute("page",null,new AttributeValue(new AttributeItem("/platform/styles/xc/system_notice.ptl",false))));
TagProcessor includeTagProcessor$0 = new net.cyan.proteus.base.IncludeTagProcessor();
if(tagContext.doStart(includeTagProcessor$0,tagInfo))
{
do
{
if(tagContext.doBefore())
{
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("include");
tagInfo.setLine(20);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.setTagBefore(true);
tagInfo.addAttribute(new TagAttribute("page",null,new AttributeValue(new AttributeItem("/oa/manual/manual.ptl",false))));
TagProcessor includeTagProcessor$1 = new net.cyan.proteus.base.IncludeTagProcessor();
if(tagContext.doStart(includeTagProcessor$1,tagInfo))
{
do
{
if(tagContext.doBefore())
{
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("left");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("logo");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("frequent_icon");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("menus");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("right");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("top");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("top_top");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("main_title");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("\n");
writer.write("                鹤山市政务协同办公系统\r");
writer.write("\n");
writer.write("            ");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("top_menus");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("top_menus_more");
writer.write("\"");
writer.write(" style");
writer.write("=\"");
writer.write("display:none");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<span");
writer.write(">");
writer.write("更多");
writer.write("</span>");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("top_menus_list");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("\n");
writer.write("                    <ul>\r");
writer.write("\n");
writer.write("                    </ul>\r");
writer.write("\n");
writer.write("                ");
writer.write("</div>");
writer.write("\r");
writer.write("\n");
writer.write("                <ul id=\"top_menus_list_more\" class=\"top_menus\">\r");
writer.write("\n");
writer.write("                </ul>\r");
writer.write("\n");
writer.write("            ");
writer.write("</div>");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("single");
writer.write("\"");
writer.write(" id");
writer.write("=\"");
writer.write("single");
writer.write("\"");
writer.write(">");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("top_bottom");
writer.write("\"");
writer.write(">");
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("div");
tagInfo.setLine(52);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.addAttribute(new TagAttribute("id",null,new AttributeValue(new AttributeItem("user_info",false))));
tagInfo.addAttribute(new TagAttribute("bind",null,new AttributeValue(new AttributeItem("com.gzzm.platform.login.UserOnlineInfo.class",false))));
TagProcessor autoLogicTagProcessor$0 = new net.cyan.proteus.base.AutoLogicTagProcessor();
if(tagContext.doStart(autoLogicTagProcessor$0,tagInfo))
{
do
{
if(tagContext.doBefore())
{
writer.write("\r");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("user_name");
writer.write("\"");
writer.write(">");
writer.write(DataConvert.toString(ElElement.getValue("userName",context,53)));
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("work_group");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("work_state_info");
writer.write("\"");
writer.write(" class");
writer.write("=\"");
writer.write("work_state_menus_collapsed");
writer.write("\"");
writer.write(">");
writer.write("<img");
writer.write(" class");
writer.write("=\"");
writer.write("work_state_icon");
writer.write("\"");
writer.write(" src");
writer.write("=\"");
writer.write(HtmlUtils.escapeAttribute(context.calculateExpression("net.cyan.arachne.RequestContext.getContext().transformUrl(\'/oa/styles/xc/images/state_zg.png\')",56)));
writer.write("\"");
writer.write(" alt");
writer.write("=\"");
writer.write("");
writer.write("\"");
writer.write(">");
writer.write("<span");
writer.write(">");
writer.write("</span>");
writer.write("</div>");
writer.write("\r");
writer.write("\n");
writer.write("                   <ul id=\"work_states\" class=\"work_state_menus\"></ul>\r");
writer.write("\n");
writer.write("               ");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("dept_info");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write(DataConvert.toString(ElElement.getValue("dept.allName()",context,61)));
writer.write("\r");
writer.write("</div>");
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("ul");
tagInfo.setLine(65);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.addAttribute(new TagAttribute("id",null,new AttributeValue(new AttributeItem("depts",false))));
tagInfo.addAttribute(new TagAttribute("class",null,new AttributeValue(new AttributeItem("top_menus",false))));
tagInfo.addAttribute(new TagAttribute("bind",null,new AttributeValue(new AttributeItem("depts.size()>0",false))));
tagInfo.addAttribute(new TagAttribute("style",null,new AttributeValue(new AttributeItem("visibility: hidden",false))));
TagProcessor autoLogicTagProcessor$1 = new net.cyan.proteus.base.AutoLogicTagProcessor();
if(tagContext.doStart(autoLogicTagProcessor$1,tagInfo))
{
do
{
if(tagContext.doBefore())
{
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("li");
tagInfo.setLine(66);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.setTagBefore(true);
tagInfo.addAttribute(new TagAttribute("bind",null,new AttributeValue(new AttributeItem("depts",false))));
tagInfo.addAttribute(new TagAttribute("class",null,new AttributeValue(new AttributeItem("deptId==super.deptId?\'selected\':\'\'",true))));
tagInfo.addAttribute(new TagAttribute("onclick",null,new AttributeValue(new AttributeItem("System.changeDept(",false),new AttributeItem("deptId",true),new AttributeItem(")",false))));
TagProcessor autoLogicTagProcessor$2 = new net.cyan.proteus.base.AutoLogicTagProcessor();
if(tagContext.doStart(autoLogicTagProcessor$2,tagInfo))
{
do
{
if(tagContext.doBefore())
{
writer.write(DataConvert.toString(ElElement.getValue("self.allName()",context,67)));
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("dropdown");
writer.write("\"");
writer.write(" hidden");
writer.write("=\"");
writer.write("hidden");
writer.write("\"");
writer.write(" id");
writer.write("=\"");
writer.write("goto");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("personnel_wher_info");
writer.write("\"");
writer.write(" class");
writer.write("=\"");
writer.write("wher_info");
writer.write("\"");
writer.write(">");
writer.write("<img");
writer.write(" class");
writer.write("=\"");
writer.write("ic_ryqx");
writer.write("\"");
writer.write(" src");
writer.write("=\"");
writer.write(HtmlUtils.escapeAttribute(context.calculateExpression("net.cyan.arachne.RequestContext.getContext().transformUrl(\'/oa/styles/xc/images/ic_ryqx.png\')",75)));
writer.write("\"");
writer.write(" alt");
writer.write("=\"");
writer.write("");
writer.write("\"");
writer.write(">");
writer.write("人员去向");
writer.write("</div>");
writer.write("\r");
writer.write("\n");
writer.write("                <ul id=\"personnel_wher\" class=\"personnel_wher_menus\">\r");
writer.write("\n");
writer.write("\r");
writer.write("\n");
writer.write("                    <li class=\"item\" hidden=\"hidden\" id=\"deptGoto\">\r");
writer.write("\n");
writer.write("                        ");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("top");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<span");
writer.write(" class");
writer.write("=\"");
writer.write("tag");
writer.write("\"");
writer.write(">");
writer.write("</span>");
writer.write("\r");
writer.write("\n");
writer.write("                            部门人员去向\r");
writer.write("\n");
writer.write("                        ");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("bottom");
writer.write("\"");
writer.write(">");
writer.write("<span");
writer.write(" id");
writer.write("=\"");
writer.write("deptAccount");
writer.write("\"");
writer.write(">");
writer.write("</span >");
writer.write(" ");
writer.write("<span");
writer.write(" class");
writer.write("=\"");
writer.write("click_detail");
writer.write("\"");
writer.write(" onclick");
writer.write("=\"");
writer.write("System.openPage(\'/oa/deptUser/goto\')");
writer.write("\"");
writer.write(">");
writer.write("详情>");
writer.write("</span>");
writer.write("</div>");
writer.write("\r");
writer.write("\n");
writer.write("                    </li>\r");
writer.write("\n");
writer.write("\r");
writer.write("\n");
writer.write("                    <li class=\"item\" id=\"leaderGoto\" hidden=\"hidden\">\r");
writer.write("\n");
writer.write("                        ");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("top");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<span");
writer.write(" class");
writer.write("=\"");
writer.write("tag");
writer.write("\"");
writer.write(">");
writer.write("</span>");
writer.write("\r");
writer.write("\n");
writer.write("                            领导去向\r");
writer.write("\n");
writer.write("                        ");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("bottom");
writer.write("\"");
writer.write(">");
writer.write("<span");
writer.write(" id");
writer.write("=\"");
writer.write("leaderAccount");
writer.write("\"");
writer.write(">");
writer.write("</span >");
writer.write(" ");
writer.write("<span");
writer.write(" class");
writer.write("=\"");
writer.write("click_detail");
writer.write("\"");
writer.write(" onclick");
writer.write("=\"");
writer.write("System.openPage(\'/oa/leader/goto\')");
writer.write("\"");
writer.write(">");
writer.write("详情>");
writer.write("</span>");
writer.write("</div>");
writer.write("\r");
writer.write("\n");
writer.write("                    </li>\r");
writer.write("\n");
writer.write("                    ");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("popper__arrow");
writer.write("\"");
writer.write(">");
writer.write("</div>");
writer.write("\r");
writer.write("\n");
writer.write("                </ul>\r");
writer.write("\n");
writer.write("            ");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("top_buttons");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<button");
writer.write(" class");
writer.write("=\"");
writer.write("about");
writer.write("\"");
writer.write(" onclick");
writer.write("=\"");
writer.write("showMask()");
writer.write("\"");
writer.write(" title");
writer.write("=\"");
writer.write("帮助中心");
writer.write("\"");
writer.write(">");
writer.write("&nbsp;");
writer.write("</button>");
writer.write("\r");
writer.write("\n");
writer.write("                <!--<button class=\"download\" onclick=\"\" title=\"下载中心\">&nbsp;</button>-->\r");
writer.write("\n");
writer.write("                ");
writer.write("<button");
writer.write(" class");
writer.write("=\"");
writer.write("exit");
writer.write("\"");
writer.write(" onclick");
writer.write("=\"");
writer.write("System.logout(\'/oa/styles/xc/logout.ptl\');");
writer.write("\"");
writer.write(" title");
writer.write("=\"");
writer.write("退出");
writer.write("\"");
writer.write(">");
writer.write("&nbsp;");
writer.write("</button>");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" class");
writer.write("=\"");
writer.write("top_search");
writer.write("\"");
writer.write(">");
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("input");
tagInfo.setLine(104);
tagInfo.setHasEndTag(false);
tagInfo.setHasEndSymbol(false);
tagInfo.addAttribute(new TagAttribute("type",null,new AttributeValue(new AttributeItem("text",false))));
tagInfo.addAttribute(new TagAttribute("placeholder",null,new AttributeValue(new AttributeItem("请输入关键字按回车",false))));
TagProcessor autoFieldTagProcessor$0 = new net.cyan.proteus.base.AutoFieldTagProcessor();
if(tagContext.doStart(autoFieldTagProcessor$0,tagInfo))
{
do
{
if(tagContext.doBefore())
{
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
writer.write("<div");
writer.write(" title");
writer.write("=\"");
writer.write("点击搜索");
writer.write("\"");
writer.write(" class");
writer.write("=\"");
writer.write("top_search_button");
writer.write("\"");
writer.write(">");
writer.write("</div>");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("center");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("<div");
writer.write(" id");
writer.write("=\"");
writer.write("main");
writer.write("\"");
writer.write(">");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
writer.write("</div>");
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("div");
tagInfo.setLine(116);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.addAttribute(new TagAttribute("bind",null,new AttributeValue(new AttributeItem("com.gzzm.platform.menu.MenuComponent.class",false))));
tagInfo.addAttribute(new TagAttribute("group",null,new AttributeValue(new AttributeItem("oa",false))));
TagProcessor autoLogicTagProcessor$3 = new net.cyan.proteus.base.AutoLogicTagProcessor();
if(tagContext.doStart(autoLogicTagProcessor$3,tagInfo))
{
do
{
if(tagContext.doBefore())
{
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
tagInfo = new TagInfo();
tagInfo.setTagName("script");
tagInfo.setLine(117);
tagInfo.setHasEndTag(true);
tagInfo.setHasEndSymbol(false);
tagInfo.setTagBefore(true);
TagProcessor scriptTagProcessor$5 = new net.cyan.proteus.base.ScriptTagProcessor();
if(tagContext.doStart(scriptTagProcessor$5,tagInfo))
{
do
{
if(tagContext.doBefore())
{
writer.write("\r");

    UserOnlineInfo userOnlineInfo = UserOnlineInfo.getUserOnlineInfo(request);
    String deptId = null;
    try {
        deptId = userOnlineInfo.getDeptEntity().getSourceId();
    } catch (Exception ignored) {}
    deptId = deptId == null ? "0001" : deptId;
    String userId = null;
    try {
        userId = userOnlineInfo.getUserEntity().getSourceId();
    } catch (Exception ignored) {}
    userId = userId == null ?  "00000000000001" : userId;
    
writer.write("\r");
writer.write("\n");
writer.write("    window.sourceUserId = \"00");
writer.write(userId.substring(2));
writer.write("\";\r");
writer.write("\n");
writer.write("    window.sourceDeptId = \"");
writer.write(deptId);
writer.write("\";\r");
tagContext.doAfter();
}
}while(tagContext.doEnd());
}
writer.write("\r");
writer.write("\n");
writer.write("</body>\r");
tagContext.doAfter();
}
}while(tagContext.doEnd());
}

    }
    public void process(TemplateContext context,String name)throws Exception
    {
         context.callAnonymousMethod(this,name);
    }

}