// TopMenu.js // This JavaScript API file creates the web page Top Menu section for the Internet Home Page set. // http://www.mvr.usace.army.mil/ // // Each HTML file will include such a file at the appropriate place in the inline text by // calling it in a SCRIPT tag. // Should different information be needed, a copy of this file can be made and // the values for the variables set to reflect the needed changes to the values. // Define the variables // Text of the Menu Options (Add more variables as options added and modify the code) var TM00 = "Menu"; var TM01 = "Navigation Conditions"; var TM02 = "Navigation Charts/Maps"; var TM03 = "Navigation Notices"; var TM04 = "Aerial Photos"; var TM05 = "Links"; //var TM06 = "NIC"; //var TM07 = "NIC"; var chr34 = String.fromCharCode(34); // The equivalent of the double-quote character var chr13 = String.fromCharCode(13); // The equivalent of the Return Key var TMClass = chr34 + "TopMenuOpt" + chr34; //The Style to use for the Option (create new styles in the CSS file) var TMHTML; // The variables here define the URLs used in the Menu Options. Their name starts // with the same name as the variable for the menu Option to help in reading. var TM00URL = chr34 + "/omni/webrpts/menu.html" + chr34; var TM01URL = chr34 + "/omni/webrpts/omni_lc/lockconditions.html" + chr34; var TM02URL = chr34 + "/omni/webrpts/nav_charts/navigation_charts.html" + chr34; var TM03URL = chr34 + "/NavNotices/default.cfm?type=0" + chr34; var TM04URL = chr34 + "/NIC2/AerialPhotos/default.cfm" + chr34; var TM05URL = chr34 + "/omni/webrpts/omni_gr/links.html" + chr34; //var TM06URL = chr34 + "/nic2/default.cfm" + chr34; //var TM07URL = chr34 + "/nic2/default.cfm" + chr34; TMHTML = "" + chr13 + " " + TM00 + chr13 + "" + chr13 + " | " + chr13 + "" + chr13 + " " + TM01 + chr13 + "" + chr13 + " | " + chr13 + "" + chr13 + TM02 + chr13 + "" + chr13 + " | " + chr13 + "" + chr13 + TM03 + chr13 + "" + chr13 + " | " + chr13 + "" + chr13 + TM04 + chr13 + "" + chr13 + " | " + chr13 + "" + chr13 + TM05 + chr13 + "" + chr13 + "
"; // " | " + chr13 + // "" + chr13 + // TM06 + chr13 + // "" + chr13 + // ""; // + // " | " + chr13 + // "" + chr13 + // TM07 + chr13 + // "" + chr13; // TopMenu.js // This JavaScript API file creates the web page Top Menu section for the Internet Home Page set. // http://www.mvr.usace.army.mil/ // // Each HTML file will include such a file at the appropriate place in the inline text by // calling it in a SCRIPT tag. // Should different information be needed, a copy of this file can be made and // the values for the variables set to reflect the needed changes to the values. // Define the variables // Text of the Menu Options (Add more variables as options added and modify the code) var TT00 = "Vessel Locations/Queue/Lckgs"; var TT01 = "Vessel Performance"; var TT02 = "Reports"; var TT03 = "Report Dir"; var TT04 = "Web Service"; var TT05 = "NIC"; var chr34 = String.fromCharCode(34); // The equivalent of the double-quote character var chr13 = String.fromCharCode(13); // The equivalent of the Return Key var TMClass = chr34 + "TopMenuOpt" + chr34; //The Style to use for the Option (create new styles in the CSS file) var TTHTML; // The variables here define the URLs used in the Menu Options. Their name starts // with the same name as the variable for the menu Option to help in reading. var TT00URL = chr34 + "/omni/webrpts/omni_vl/river_lock.cfm" + chr34; var TT01URL = chr34 + "/omni/webrpts/omni_tp/towperf.cfm" + chr34; var TT02URL = chr34 + "/omni/webrpts/omni_gr/omni_criteria.cfm" + chr34; var TT03URL = chr34 + "/omni/webrpts/omni_gr/report_dir.cfm" + chr34; var TT04URL = chr34 + "/OMNI/ws/OMNIdataWebService.cfm" + chr34; var TT05URL = chr34 + "/nic2/default.cfm" + chr34; TTHTML = "" + chr13 + " " + TT00 + chr13 + "" + chr13 + " | " + chr13 + "" + chr13 + " " + TT01 + chr13 + "" + chr13 + " | " + chr13 + "" + chr13 + TT02 + chr13 + "" + chr13 + " | " + chr13 + "" + chr13 + TT03 + chr13 + "" + chr13 + " | " + chr13 + "" + chr13 + TT04 + chr13 + "" + chr13 + " | " + chr13 + "" + chr13 + TT05 + chr13 + "" + chr13 ; // " | " + chr13 + // "" + chr13 + // TT06 + chr13 + // "" + chr13 + // " | " + chr13 + // "" + chr13 + // TT07 + chr13 + // "" + chr13; // TopMenu.js // This JavaScript API file creates the web page Top Menu section for the Internet Home Page set. // http://www.mvr.usace.army.mil/ // // Each HTML file will include such a file at the appropriate place in the inline text by // calling it in a SCRIPT tag. // Should different information be needed, a copy of this file can be made and // the values for the variables set to reflect the needed changes to the values. // Define the variables // Text of the Menu Options (Add more variables as options added and modify the code) var TT10 = "**** WEBSITE REDESIGN by January 1, 2012 ****** Click here to notify LPMS what reports you use! ****"; var chr34 = String.fromCharCode(34); // The equivalent of the double-quote character var chr13 = String.fromCharCode(13); // The equivalent of the Return Key var TMClass = chr34 + "TopMenuSpecial" + chr34; //The Style to use for the Option (create new styles in the CSS file) var TTHTML; // 3rd line // indicating website changes var TT10URL = chr34 + "/omni/webrpts/omni_def/redesign.cfm" + chr34; TTHTML = TTHTML+ "" + chr13 + " " + TT10 + chr13 + "" + chr13 ; // " | " + chr13 + // "" + chr13 + // TT06 + chr13 + // "" + chr13 + // " | " + chr13 + // "" + chr13 + // TT07 + chr13 + // "" + chr13;