//THIS FILE HAS BEEN CONVERT TO UTF-8 CODE

var pth = window.location.href;
pth = pth.substring(0,pth.lastIndexOf("/") + 1);
function loadPage(win,file){win.location.replace(pth + file);}

function resetDepLst(){top.resetDepLst();}
function setDepLst(dat){top.setDepLst(dat);}
function getDepLst(){return top.getDepLst();}
function getDepNameById(id){return top.getDepNameById(id)}
function getDepBossId(dep_id){return top.getDepBossId(dep_id);}
function getDepBossName(dep_id){return top.getDepBossName(dep_id);}
function getBossDepId(boss_id){return top.getBossDepId(boss_id);}
function getBossDepName(boss_id){return top.getBossDepName(boss_id);}

function updateDepLst(f){top.updateDepLst(f);}
function updateDepMemLst(f){top.updateDepMemLst(f);}
function updateDepAll(f){top.updateDepAll(f);}

function resetDepMemLst(){top.resetDepMenLst();}
function setDepMemLst(dat){top.setDepMemLst(dat);}
function getDepMemLst(id){return top.getDepMemLst(id);}
function getDepMemById(id){return top.getDepMemById(id);}
function getDepMemEmail(id){return top.getDepMemEmail(id);}

function resetContGrpLst(){top.resetContGrpLst();}
function setContGrpLst(dat){top.setContGrpLst(dat);}
function getContGrpLst(){return top.getContGrpLst()}
function resetContLst(){top.resetContLst();}
function setContLst(dat){top.setContLst(dat);}
function getContLst(){return top.getContLst()}

function resetAPRight(){parent.resetAPRight();}
function setAPRight(dat){parent.copyArray(dat);}
function getAPRight(name){return parent.getAPRight(name);}

//If common.js is included, copyArray( ) is aleady exist
//else, create copyArray( )
if(window.a == null){
	eval("function copyArray(dat){return top.copyArray(dat);}");
}

function getUserId(){return top.getUserId();}
function getUserName(id){
	return (id == null ? top.getUserName(getUserId()) : top.getUserName(id));
}

function checkAccess(a_str){return top.checkAccess(a_str);}

function resetFileShareLst(){top.resetFileShareLst();}
function setFileShareLst(dat){top.setFileShareLst(dat);}
function getFileShareLst(){return top.getFileShareLst();}