// www.websedit.com 2003
// Daniel Knubben

/* Einbinden der Navigation:
              <script type='text/javascript'>

                function Go(){return}

              </script>
              <script type='text/javascript' src='globals_vars.js'></script>  -- Variablendefinition
              <script type='text/javascript' src='menu.js'></script>          -- Menü-Definition
              <script type='text/javascript' src='menu_com.js'></script>      -- Menü-Hauptprogramm
*/

var NoOffFirstLineMenus=4;
var LowBgColor='D9D9D9';
var LowSubBgColor='D9D9D9';         // Background color when mouse is not over on subs
var HighBgColor='D9D9D9';
var HighSubBgColor='FFFFFF';        // Background color when mouse is over on subs
var FontLowColor='black';
var FontSubLowColor='333399';       // Font color subs when mouse is not over
var FontHighColor='white';          // Font color when mouse is over
var FontSubHighColor='white';       // Font color subs when mouse is over
var BorderColor='FFFFFF';
var BorderSubColor='black';         // Border color for subs
var BorderWidthMain=0;
var BorderWidthSub=1;
var BorderBtwnMain=1;
var BorderBtwnSub=1;
var FontFamily="Verdana, Geneva, Arial, Helvetica, sans-serif";
var FontSize=8;
var FontBold=0;
var FontItalic=0;
var MenuTextCentered="left";
var MenuCentered="left";
var MenuVerticalCentered="top";
var ChildOverlap=.0;
var ChildVerticalOverlap=.0;


var StartTop=0;             // Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
var StartLeft=0;            // Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
var VerCorrect=0;           // Multiple frames y correction
var HorCorrect=0;           // Multiple frames x correction
var LeftPaddng=12;          // Left padding
var TopPaddng=5;            // Top padding
var FirstLineHorizontal=1;  // First level items layout horizontal 1 or 0
var MenuFramesVertical=0;   // Frames in cols or rows 1 or 0
var DissapearDelay=500;     // delay before menu folds in
var UnfoldDelay=100;        // delay before sub unfolds
var TakeOverBgColor=1;      // Menu frame takes over background color subitem frame
var FirstLineFrame="NavFrame";      // Frame where first level appears
var SecLineFrame="MainFrame";      // Frame where sub levels appear
var DocTargetFrame="";      // Frame where target documents appear
var TargetLoc="MenuPos";    // span id for relative positioning
var BottomUp=0;             // enables/ disables Bottom up unfold 1 or 0
var MenuWrap=0;             // enables/ disables menu wrap 1 or 0
var RightToLeft=0;          // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0;       // Level 1 unfolds onclick/ onmouseover
var BaseHref_webs="http://"+location.hostname;        // BaseHref lets you specify the root directory for relative links.
var BaseHref="";            // BaseHref lets you specify the root directory for relative links.
var KeepHilite=0;           // nicht genutzt??
var Arrws=[BaseHref+"tri.gif",7,11,BaseHref+"",10,5,BaseHref+"trileft.gif",10,5,BaseHref+"triup.gif",10,5];
                            // Arrow source, width and height.
                            // If arrow images are not needed keep source ""
var MenuUsesFrames=0;       // MenuUsesFrames is only 0 when Main menu, submenus,
                            // document targets and script are in the same frame.
                            // In all other cases it must be 1

var RememberStatus=2;       // RememberStatus: When set to 1, menu unfolds to the presetted menu item.
                            // When set to 2 only the relevant main item stays highligthed
                            // The preset is done by setting a variable in the head section of the target document.
                            // <head>
                            //  <script type="text/javascript">var SetMenu="2_2_1";</script>
                            // </head>
                            // 2_2_1 represents the menu item Menu2_2_1=new Array(.......
var PartOfWindow=.0;        // PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to
                            // Below some pretty useless effects, since only IE6+ supports them
                            // I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
                            // If you don't need MenuSlide just leave in the line var MenuSlide="";
                            // delete the other MenuSlide statements
                            // In general leave the MenuSlide you need in and delete the others.
                            // Above is also valid for MenuShadow and MenuOpacity
                            // You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
                            // You can add more filters by concanating the strings
var MenuSlide="";
// var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
// var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";

var MenuShadow="";
// var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
// var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

var MenuOpacity="";
// var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=85)";
  var BuildOnDemand=0;      // 1/0 When set to 1 the sub menus are build when the parent is moused over
  var BgImgLeftOffset=5;    // Only relevant when bg image is used as rollover

// Daniel Fix
var B = 0;
// var ShowArrow=1;

// Erweiterungen für Version 10
var ScaleMenu=0;            // 1/0 When set to 0 Menu scales with browser text size setting
var HooverBold=0;           // 1 or 0
var HooverItalic=0;         // 1 or 0
var HooverUnderLine=0;      // 1 or 0
var HooverTextSize=0;       // 0=off, number is font size difference on hoover
var HooverVariant=0;        // 1 or 0

// Bugfix Daniel wg. Mozilla und Browserspezifisch bzw. Mac/Win32, überschreiben von Variablen
if (!(/^(Mac)/.test(navigator.platform))) {
  // Variable = X
}
if (navigator.appName == "Netscape" && navigator.userAgent.indexOf("Firebird")) { // Netscape Firebird
  var StartTop=0;
}
else { // Fall 2: " + "IE usw.!
  var StartTop=0;
}
if (navigator.appName == "Netscape" && navigator.userAgent.indexOf("Gecko")) { // Netscape Mozilla
  var StartTop=0;
}
else { // Internet Explorer
  var StartTop=0;
}



function BeforeStart() {return}
function AfterBuild(){ if (B){ladeB()};return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

