//menu objects

function onLoad() {
    loadMenus();
}

function onResize() {
    top.window.onResize = resizeMessage;
}

function resizeMessage() {
    alert("Your web browser has been resized.  Please click its Reload or Refresh button for proper functioning of the menus for this page.");
}

function loadMenus () {

  window.Information = new Menu("Information");
    Information.addMenuItem("General Information",
    "top.window.frames[1].location='../info/index.htm'");
    Information.addMenuItem("Welcome!",
    "top.window.frames[1].location='../info/welcome.htm'");
    Information.addMenuItem("Advance Program",
    "top.window.frames[1].location='../info/ap.pdf'");
    Information.addMenuItem("Final Program",
    "top.window.frames[1].location='../info/fp.pdf'");
    Information.addMenuItem("Dallas Area", 
    "top.window.frames[1].location='../info/dallas.htm'");
    Information.addMenuItem("Vote Note", 
    "top.window.frames[1].location='../info/votenote.htm'");
    Information.addMenuItem("The SCXY Conference Series", 
    "top.window.frames[1].location='../info/aboutsc.htm'");
    Information.addMenuItem("The SCXY Mailing Lists", 
    "top.window.location='http://babbage.computer.org/supercomp/mailings/'");

    Information.bgColor="black";
    Information.fontColor="beige";
    Information.menuItemBgColor="black";
    Information.menuHiliteBgColor="beige";
    Information.fontColorHilite="red";
    Information.fontSize=14;
    Information.fontWeight="Bold";
    Information.fontFamily="Helvetica";
    Information.menuBorder=0;
    Information.menuItemWidth=200;

  window.Glance = new Menu("Glance");
    Glance.addMenuItem("");
    Glance.addMenuItem("Conference at a Glance",
    "top.window.frames[1].location='../info/glance.htm'");
    Glance.addMenuItem("");
             
  window.Program = new Menu("Program");
    Program.addMenuItem("Technical Program",
    "top.window.frames[1].location='../techprog/index.htm'");
    Program.addMenuItem("Technical Papers",
    "top.window.frames[1].location='../techpapr/index.htm'");
    Program.addMenuItem("Tutorials",
    "top.window.frames[1].location='../tutorial/index.htm'");
    Program.addMenuItem("Keynote Address",
    "top.window.frames[1].location='../keynote/index.htm'");
    Program.addMenuItem("State of the Field Talks",
    "top.window.frames[1].location='../statefld/index.htm'");
    Program.addMenuItem("Masterworks",
    "top.window.frames[1].location='../mstrwrks/index.htm'");
    Program.addMenuItem("Awards", 
    "top.window.frames[1].location='../awards/index.htm'");
    Program.addMenuItem("Gordon Bell Awards", 
    "top.window.frames[1].location='../bell/index.htm'");
    Program.addMenuItem("Panels", 
    "top.window.frames[1].location='../panels/index.htm'");
    Program.addMenuItem("Research Gems", 
    "top.window.frames[1].location='../gems/index.htm'");
    Program.addMenuItem("eSCape2000", 
    "top.window.frames[1].location='../escape/index.htm'");
    Program.addMenuItem("HPC Games", 
    "top.window.frames[1].location='../games/index.htm'");
    Program.addMenuItem("BOFs", 
    "top.window.frames[1].location='../bofs/index.htm'");
    Program.addMenuItem("Minority Serving Institutions", 
    "top.window.frames[1].location='../register/msi.htm'");


  window.Exhibition = new Menu("Exhibition");
    Exhibition.addMenuItem("Industry Exhibits",
    "top.window.frames[1].location='../exhibits/index.htm'");
    Exhibition.addMenuItem("Research Exhibits", 
    "top.window.frames[1].location='../research/index.htm'");
    Exhibition.addMenuItem("Venture Village", 
    "top.window.frames[1].location='../venture/index.htm'");
    Exhibition.addMenuItem("Exhibitor Forum",
    "top.window.frames[1].location='../forum/index.htm'");
    Exhibition.addMenuItem("Exhibition Floorplan", 
    "top.window.frames[1].location='../exhibits/floor.htm'");

  window.Education = new Menu("Education");
    Education.addMenuItem("Education Program",
    "top.window.frames[1].location='../edu/index.htm'");
    Education.addMenuItem("Student Volunteers",
    "top.window.frames[1].location='../students/index.htm'");
    Education.addMenuItem("");

  window.SCinet= new Menu("SCinet");
    SCinet.addMenuItem("");
    SCinet.addMenuItem("SCinet General Info", 
    "top.window.frames[1].location='../scinet/index.htm'");
    SCinet.addMenuItem("");

  window.Committees = new Menu("Committees");
    Committees.addMenuItem("Conference Committees", 
    "top.window.frames[1].location='../comm/index.htm'");
    Committees.addMenuItem("Conference Arrangements", 
    "top.window.frames[1].location='../comm/index.htm#Arrangements'");
    Committees.addMenuItem("Conference Infrastructure", 
    "top.window.frames[1].location='../comm/index.htm#Infrastructure'");
    Committees.addMenuItem("Education Program", 
    "top.window.frames[1].location='../comm/index.htm#Education'");
    Committees.addMenuItem("Exhibits", 
    "top.window.frames[1].location='../comm/index.htm#Exhibits'");
    Committees.addMenuItem("Information Architecture", 
    "top.window.frames[1].location='../comm/index.htm#Architecture'");
    Committees.addMenuItem("Public Relations", 
    "top.window.frames[1].location='../comm/index.htm#PublicRelations'");
    Committees.addMenuItem("Technical Program", 
    "top.window.frames[1].location='../comm/index.htm#TechnicalProgram'");
    Committees.addMenuItem("Venture Village", 
    "top.window.frames[1].location='../comm/index.htm#Venture'");
    Committees.addMenuItem("Keynote Advisors", 
    "top.window.frames[1].location='../comm/index.htm#Keynote'");
    Committees.addMenuItem("SCXY Industry Advisory Committee", 
    "top.window.frames[1].location='../comm/index.htm#IAC'");
    Committees.addMenuItem("SCXY Steering Committee", 
    "top.window.frames[1].location='../comm/index.htm#Steering'");

  window.Media = new Menu("Media");
    Media.addMenuItem("");
    Media.addMenuItem("SC2000 Media Relations",
    "top.window.frames[1].location='../media/index.htm'");
    Media.addMenuItem("News Releases",
    "top.window.frames[1].location='../media/index.htm#Releases'");
    Media.addMenuItem(""); 

  window.Webcasts = new Menu("Webcasts");
    Webcasts.addMenuItem("");
    Webcasts.addMenuItem("Webcasts",
    "top.window.frames[1].location='../webcasts/index.htm'");
    Webcasts.addMenuItem("");

  window.Housing= new Menu("Housing");
    Housing.addMenuItem("");
    Housing.addMenuItem("SC2000 Housing",
    "top.window.frames[1].location='../housing/index.htm'");
    Housing.addMenuItem(""); 

  window.Registration= new Menu("Registration");
    Registration.addMenuItem("SC2000 General Registration",
    "top.window.frames[1].location='../register/index.htm'");
    Registration.addMenuItem("Industry Exhibitor Registration",
    "top.window.frames[1].location='../register/industry.htm'");
    Registration.addMenuItem("Research Exhibitor Registration",
    "top.window.frames[1].location='../register/research.htm'");
    Registration.addMenuItem("Media/Press Registration",
    "top.window.frames[1].location='../media/index.htm'");
    Registration.addMenuItem("Minority Serving Institutions",
    "top.window.frames[1].location='../register/msi.htm'"); 

  window.Proceedings = new Menu("Proceedings");
    Proceedings.addMenuItem("");
    Proceedings.addMenuItem("Proceedings",
    "top.window.frames[1].location='../proceedings/start.htm'");
    Proceedings.addMenuItem("");

  window.AndMore = new Menu("AndMore");
    AndMore.addMenuItem("");
    AndMore.addMenuItem("SC2000 Screen Saver", 
    "top.window.frames[1].location='../more/index.htm'");
    AndMore.addMenuItem("SC2000 Logos", 
    "top.window.frames[1].location='../more/index.htm'");
    AndMore.addMenuItem("");

  window.Home = new Menu("Home");
    Home.addMenuItem("");
    Home.addMenuItem("SC2000 Home Page", 
    "top.window.frames[1].location='../home/index.htm'");
    Home.addMenuItem("");


    Information.prototypeStyles = Information;
    Information.writeMenus();
}
