
function activateMenu(nav){if(document.all&&document.getElementById(nav).currentStyle){var navroot=document.getElementById(nav);var lis=navroot.getElementsByTagName("LI");for(var i=0;i<lis.length;i++){lis[i].style.marginTop='-2px';lis[i].style.marginBottom='-3px';lis[i].style.paddingBottom='4px';if(lis[i].lastChild.tagName==="UL"){lis[i].onmouseover=function(){this.lastChild.style.display="block";};lis[i].onmouseout=function(){this.lastChild.style.display="none";};}}var uls=navroot.getElementsByTagName("UL");for(i=0;i<uls.length;i++){uls[i].style.marginLeft='94%';}}}window.onload=function(){activateMenu('dmenu');activateMenu('dmenu2');activateMenu('dmenu3');};var WO=null;function users_Update(usrname){var x=confirm("確定要刪除 "+usrname+"?");if(x){return true;}else{alert("取消刪除");}return false;}function Update(item){var x=confirm("確認要刪除 "+item+"?");if(x){return true;}else{alert("取消刪除");}return false;}function Restore(item){var x=confirm("確認要恢復 "+item+"? '這個不能被取消（隻有系統管理員可以進行此操作）.");if(x){return true;}else{alert("取消恢復");}return false;}function Rereview(item){var x=confirm("確認要移動 "+item+" 返回到未查看狀態?");if(x){return true;}else{alert("取消重新查看");}return false;}function Confirmregister(){var x=confirm(" 巴哈伊學術資料庫 。當編輯或上載新文件時要求註冊。點擊“取消”或“好”來進行取消或繼續。");return x?true:false;}function document_window(url){var new_win=window.open(url,"Viewer","width="+600+", height="+600+", scrollbars, location, status, resizable");}function record_window(url){var NEW_WIN=window.open(url,"Viewer","width="+600+", height="+600+", scrollbars, location, status, resizable");}function clear_initialformvalue(e){var el;if(window.event){el=window.event.srcElement;}else{el=e.target;}document.getElementById(el.id).value='';}
