//=================================================================================
// "menu_def.js" -- JavaScript for Advanced Menu (bmy, 10/10/03)
// NOTE: Directory paths are relative to /www/website/.... 
//=================================================================================

// initmenu parameters in sequence order are:
// 1. No of top levels.
// 2. Height of individual item.
// 3. Width of individual item.
// 4. Delay interval in milliseconds.
// 5. Layout type- The value of this parameter should be either horizontal or vertical.

initmenu(11,35,155,20,"vertical");

// addmenuitem parameters in sequence order are:
// 1. Node.
// 2. Description which shows up.
// 3. URL associated with the Description.
// 4. Onmouseover text color.
// 5. Onmouseover background color.
// 6. Onmouseout/default text color.
// 7. Onmouseout/default Background color.
// 8. Onmousedown/default text color.
// 9. Onmousedown/default Background color.
// 10.String containing font values.
// 11.URL target. (new)
//
// NOTE: It looks like all of the FONT colors have to be the same.  
// Maybe the actual font color is taken from the last color??? (bmy, 10/10/03)
//
// Crimson is represented by #770000
// Light Gray is represented by #cccccc

// 1st level
addmenuitem("1","User manual","../uctmdoc/frames.htm","yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","_blank");

// 2nd level
addmenuitem("2","FAQ","faq.htm","yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","fraRightFrame");

// 3rd level
addmenuitem("3","Source code","sourcecode.htm","yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","fraRightFrame");

// 4th level
addmenuitem("4","CO2 simulation","co2simul.htm","yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","fraRightFrame");

// 5th level
addmenuitem("5","Aerosal simulation","aerosimul.htm","yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","fraRightFrame");

// 6th level
addmenuitem("6",  " ",null,"yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","fraRightFrame");


// 7th level
addmenuitem("7",  " ",null,"yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","fraRightFrame");

// 8th level
addmenuitem("8"," ",null,"yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","fraRightFrame");

// 9th level
addmenuitem("9"," ",null,"yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","fraRightFrame");

// 10th level
addmenuitem("10"," ",null,"yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","fraRightFrame");

// 11th level
addmenuitem("11"," ",null,"yellow","black","white","#3568CC","blue","#cccccc","font-family:Arial, Helvetica; font-size:12px;font-weight:normal;text-decoration:none;padding: 4px","fraRightFrame");

// Call these routines to create the menus
createmenu();
add10xitems();

// End of script
