function init()
{
L5.Ajax.request(config);
var b=L5.getCmp("center");
var a=b.getItem(0);
var d=a.body.query("iframe");
var e=L5.fly("loadmask",a.body);
e.setStyle("display","block");
d[0].onload=d[0].onreadystatechange=function()
{
if(this.readyState=="complete"||!this.readyState)
{
e.dom.style.display="none"
}
};
if(organType=="0")
{
var c=L5.getCmp("leftPanel");
c.collapse()
}
head()
}
function callbacktest(b,h,a)
{
var d=null;
try
{
if(!h)
{
throw new L5.Exception(a.status,a.statusText)
}
var g=L5.decode(a.responseText);
if(g.error)
{
var c=new L5.Exception(g.error.code,g.error.msg,g.error.trace);
if(g.error.title)
{
c.title=g.error.title
}
throw c
}
d=L5.serializer.unmarshall(g)
}
catch(f)
{
alert("登录时出现异常,单击确定重新登陆。");
document.location.href=L5.webPath+"/logout"
}