// Session cookie code stolen from http://javascript.about.com/library/blcookieb.htm // Read any cookie, session or otherwise function getCookie(nam) { var tC = document.cookie.split('; '); for (var i = tC.length - 1; i >= 0; i--) { var x = tC[i].split('='); if (nam = x[0]) return unescape(x[1]); } return null; } // Write a session cookie - document.cookie substitutes automagically, it does not replace function setCookie(nam, val) { document.cookie = nam + '=' + escape(val); } // Go to URL, showing banner if necessary function loadURL(url, text) { if(getCookie("AVNBanner")==null) { if(msg!="") alert(msg); setCookie("AVNBanner", (new Date()).toString()); } top.location.href=url; } // Globals initialization var msg='NOTICE TO USERS\n\nThis is a Federal computer system and is the property of the United States Government. It is for authorized use only. Users (authorized or unauthorized) have no explicit or implicit expectation of privacy.\n\nAny or all uses of this system and all files on this system may be intercepted, monitored, recorded, copied, audited, inspected, and disclosed to authorized site, Department of Energy, and law enforcement personnel, as well as authorized officials of other agencies, both domestic and foreign. By using this system, the user consents to such interception, monitoring, recording, copying, auditing, inspection, and disclosure at the discretion of authorized site or Department of Energy personnel.\n\nUnauthorized or improper use of this system may result in administrative disciplinary action and civil and criminal penalties. By continuing to use this system you indicate your awareness of and consent to these terms and conditions of use. LOG OFF IMMEDIATELY if you do not agree to the conditions stated in this warning.'; var us='/me/avn_reg.nsf'; svrpath=us.substring(0, us.lastIndexOf("/"))+"/"; var them=svrpath+'AvnCats.nsf'; var BtnImg=new Array(4); for(i=0; i<4; i++) { BtnImg[i]=new Array(2); for(j=0; j<2; j++) { BtnImg[i][j]=new Image(); } } BtnImg[0][0].src=us+'/UsrLoginUp.gif'; BtnImg[0][1].src=us+'/UsrLoginDn.gif'; BtnImg[1][0].src=us+'/EditAccessUp.gif'; BtnImg[1][1].src=us+'/EditAccessDn.gif'; BtnImg[2][0].src=us+'/ROAccessUp.gif'; BtnImg[2][1].src=us+'/ROAccessDn.gif'; BtnImg[3][0].src=us+'/ChgPwdUp.gif'; BtnImg[3][1].src=us+'/ChgPwdDn.gif';