<!-- Begin
// Javascript works with the News & Update Link Part 1
// Javascript Location: Index.html
function showRemote() {
self.name = "main"; // names current window as "main"

var windowprops = "toolbar=0,location=0,directories=0,status=0, " +
"menubar=0,scrollbars=0,resizable=0,width=491,height=500";

OpenWindow = window.open("newsupdate.htm", "remote", windowprops); // opens remote control
}
// End -->

<!-- Begin
// Javascript closes the pop-up window Part 2
// Javascript Location: newsupdate.htm
function closeRemote() {
timer = setTimeout('window.close();', 10);
}
// End -->

<!-- Begin
// Javascript works with the image new.gif
// Javascript Location: Index.html
function newItem(expiryDate)
{
exp = new Date(expiryDate);
cur = new Date();
if (cur.getTime() < exp.getTime())
document.write("<IMG SRC=\"images/new.gif\" WIDTH=31 HEIGHT=12 BORDER=0 ALT=\"new\">" );
}
// End -->

<!-- Begin
// Javascript calls the request page to open in a pop-up window
// Javascript location: Index.html, Norris/Index.html, Missions/Index.html

function Future() {window.open('http://www.ibfi-nbbi.org/norris/futurehome.htm','JavaScriptIt','top=100,left=100,width=550,height=400,buttons=No,scrollbars=No,location=No,menubar=No,resizable=No,status=No,directories=No,toolbar=No,copyhistory=No,Title=No')}
// End -->

<!-- Begin
// Javascript deactivates the right click and left-right click cheat
// Javascript Location: All webpages

if (window.Event) 
document.captureEvents(Event.MOUSEUP); 
function nocontextmenu()  
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)	
{
if (window.Event)	
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}	
}
document.oncontextmenu = nocontextmenu;		
document.onmousedown = norightclick;

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
// End -->

<!-- Begin
// Javascript reloads the window if Nav4 resized
// Javascript Location: All Webpages
function MM_reloadPage(init) {
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// End-->

<!-- Begin 
// Javascript Location: umnad.htm

// Amazing Frameless Popup Window - Version I
// (C) 2000 www.CodeLifter.com
// Free for all users, but leave in this  header

// set the popup window width and height

var windowW=530 // wide
var windowH=445 // high

// set the screen position where the popup should appear

var windowX = 260 // from left
var windowY = 100 // from top
var windowX = (screen.width/2)-(windowW/2);
var windowY = (screen.height/2)-(windowH/2);


// set the url of the page to show in the popup

var urlPop = "futurehome.htm"

// set the title of the page

var title =  "This Is A Frameless Popup Window"

// set this to true if the popup should close
// upon leaving the launching page; else, false

var autoclose = true

// ============================
// do not edit below this line
// ============================

s = "width="+windowW+",height="+windowH;
var beIE = document.all?true:false

function openFrameless(){
  if (beIE){
    NFW = window.open("","popFrameless","fullscreen,"+s)     
    NFW.blur()
    window.focus()       
    NFW.resizeTo(windowW,windowH)
    NFW.moveTo(windowX,windowY)
    var frameString=""+
"<html>"+
"<head>"+
"<title>"+title+"</title>"+
"</head>"+
"<frameset rows='*,0' framespacing=0 border=0 frameborder=0>"+
"<frame name='top' src='"+urlPop+"' scrolling=auto>"+
"<frame name='bottom' src='about:blank' scrolling='no'>"+
"</frameset>"+
"</html>"
    NFW.document.open();
    NFW.document.write(frameString)
    NFW.document.close()
  } else {
    NFW=window.open(urlPop,"popFrameless","scrollbars,"+s)
    NFW.blur()
    window.focus() 
    NFW.resizeTo(windowW,windowH)
    NFW.moveTo(windowX,windowY)
  }   
  NFW.focus()   
  if (autoclose){
    window.onunload = function(){NFW.close()}
  }
}	