//Warn when logout: function confirmLogout() { if (confirm('Are you sure you want to logout from the system?')) document.location = "user.php?module=NS-User&op=logout"; } //Warn if profile is left: function confirmProfileLogout() { if (confirm('Are you sure you want to go to the global main page and temporaly dissable your specific profile during this session?')) document.location = "index.php?module=MoxiecodeContent&func=view&path=general.firstpage&profile=general"; } //Image functions: function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i