//------------------------------------------------------------------------- // tree_footer.ink // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. //------------------------------------------------------------------------- var active_menu_id = -1 var active_item_id = -1 var menu_split; var url_split; var menu_id; var item_id; var minus_img = new Image(); minus_img.src = "/images/minusIcon.gif"; var plus_img = new Image(); plus_img.src = "/images/plusIcon.gif"; var blank_img = new Image(); blank_img.src = "/images/blankIcon.gif"; var plus_minus_img = new Array(); //if(document.all || document.layers) if((is_ie4up || is_nav4up) && (is_mac || is_win) && (!is_nav6up && !is_gecko)) { for(i=0; i"; menu_content += ""; } else { menu_content += ""; menu_content += ""; menu_content += ""; menu_content += ""; menu_content += ""; menu_content += url_split[0]; menu_content += ""; } } //if else { //submenus present //if(document.all || document.layers) if((is_ie4up || is_nav4up) && (is_mac || is_win) && (!is_nav6up && !is_gecko)) { menu_content += "" menu_content += "" menu_content += "" menu_content += "" menu_content += "" menu_content += "" menu_content += url_split[0] menu_content += "" if (active_submenus[i] == 1) { for (ii=1; ii" } else { menu_content += "" menu_content += "" menu_content += "" menu_content += url_split[0] menu_content += "" } menu_content += "" } } }//if else { menu_content += ""; //menu_content += ""; menu_content += ""; menu_content += ""; menu_content += ""; menu_content += ""; //kwt //menu_content += ""; menu_content += url_split[0]; menu_content += ""; menu_content += ""; for (ii=1; ii" } else { menu_content += "" menu_content += "" menu_content += "" menu_content += url_split[0] menu_content += "" } menu_content += "" } } } // big else } //for menu_content += ""; } //function output() function DivOutBegin() { document.write(""); } function ieOutput() { menu.innerHTML=menu_content; } function nsMozillaOutput() { document.layers["menu"].document.write(menu_content) document.layers["menu"].document.close() } if(is_nav6up && is_gecko) { renderExpandedMenu(); } function renderExpandedMenu() { openandcloseInternal('<@query menu>:<@query item>'); output(); if(is_nav6up && is_gecko) { document.write(""); document.close(); } else if(is_nav4up) { nsMozillaOutput(); } } function openandclose(param) { if((is_ie4up || is_nav4up) && (is_mac || is_win) && (!is_nav6up && !is_gecko)) openandcloseInternal(param); else if((!is_win && !is_mac) && (is_nav4up) && (!is_nav6up && !is_gecko)) renderExpandedMenu(); }