
/* **************************************************************

PROJEKT 'A44'
DKN.CMS
PHP 4.3.4
PHPMyAdmin 2.5.3
MySQL 4.0.16

© 2000-2004 DKN DÜSSELDORF  www.dkn.de

FILE:                MENU1.JS
MODIFICATION:        08.01.2004 15:00
DESCRIPTION:         DHTML MENUES

*************************************************************** */


//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
        effect = "Fade(duration=1.2);Alpha(style=0,opacity=95); Direction=135, Strength=5)"
}
else
{
        effect = "" // Stop IE5.5 bug when using more than one filter
}


myurl0="http://localhost/a44/webseite/";
myurl1="http://server/a44/webseite/";
myurl2="http://projekte/a44/webseite/";
myurl3="http://192.168.115.100/a44/webseite/";

if(document.URL.toLowerCase().indexOf('http://localhost') == 0){
myurl = myurl0;
}

else if(document.URL.toLowerCase().indexOf('http://server') == 0){
myurl = myurl1;
}

else if(document.URL.toLowerCase().indexOf('http://projekte') == 0){
myurl = myurl2;
}

else if(document.URL.toLowerCase().indexOf('http://192.168.115.100') == 0){
myurl = myurl3;
}

else{
myurl="http://www.a44-info.de/";  //url wo die Präsenz im Web liegt
}



timegap=90                        // The time delay for menus to remain visible
followspeed=5                        // Follow Scrolling speed
followrate=40                        // Follow Scrolling Rate
suboffset_top=0;                // Sub menu offset Top position
suboffset_left=0;                // Sub menu offset Left position

style1=[                        // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"505050",                        // Mouse Off Font Color
"FFFFFF",                        // Mouse Off Background Color
"EDA800",                        // Mouse On Font Color
"FFFFFF",                        // Mouse On Background Color
"E5E6E6",                        // Menu Border Color
12,                                // Font Size in pixels
"normal",                        // Font Style (italic or normal)
"normal",                        // Font Weight (bold or normal)
"Arial, Verdana",                // Font Name
1,                                // Menu Item Padding
"",                                // Sub Menu Image (Leave this blank if not needed)
,                                // 3D Border & Separator bar
"red",                                // 3D High Color
"red",                                // 3D Low Color
"",                                // Current Page Item Font Color (leave this blank to disable)
"",                                // Current Page Item Background Color (leave this blank to disable)
"",                                // Top Bar image (Leave this blank to disable)
"red",                                // Menu Header Font Color (Leave blank if headers are not needed)
"000099",                        // Menu Header Background Color (Leave blank if headers are not needed)
]


style2=[                        // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"002864",                        // Mouse Off Font Color
"FFFFFF",                        // Mouse Off Background Color
"EDA800",                        // Mouse On Font Color
"FFFFFF",                        // Mouse On Background Color
"FFFFFF",                        // Menu Border Color
12,                                // Font Size in pixels
"normal",                        // Font Style (italic or normal)
"bold",                        // Font Weight (bold or normal)
"Arial, Verdana",                // Font Name
1,                                // Menu Item Padding
"",                                // Sub Menu Image (Leave this blank if not needed)
,                                // 3D Border & Separator bar
"666666",                        // 3D High Color
"000099",                        // 3D Low Color
"",                                // Current Page Item Font Color (leave this blank to disable)
"",                                // Current Page Item Background Color (leave this blank to disable)
"",                                // Top Bar image (Leave this blank to disable)
"ffffff",                        // Menu Header Font Color (Leave blank if headers are not needed)
"000099",                        // Menu Header Background Color (Leave blank if headers are not needed)
]




style3=[                        // style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"000000",                        // Mouse Off Font Color
"FFFFFF",                        // Mouse Off Background Color
"000000",                        // Mouse On Font Color
"FFFFFF",                        // Mouse On Background Color
"CFCFCF",                        // Menu Border Color
12,                                // Font Size in pixels
"normal",                        // Font Style (italic or normal)
"normal",                        // Font Weight (bold or normal)
"Arial, Verdana",                // Font Name
1,                                // Menu Item Padding
"",                                // Sub Menu Image (Leave this blank if not needed)
,                                // 3D Border & Separator bar
"666666",                        // 3D High Color
"000099",                        // 3D Low Color
"",                                // Current Page Item Font Color (leave this blank to disable)
"",                                // Current Page Item Background Color (leave this blank to disable)
"",                                // Top Bar image (Leave this blank to disable)
"ffffff",                        // Menu Header Font Color (Leave blank if headers are not needed)
,                        // Menu Header Background Color (Leave blank if headers are not needed)
]


addmenu(menu=[                        // This is the array that contains your menu properties and details
"XPMain",                        // Menu Name - This is needed in order for the menu to be called
200,                                // Menu Top - The Top position of the menu in pixels
"offset=-1",                                // Menu Left - The Left position of the menu in pixels
,                                // Menu Width - Menus width in pixels
0,                                // Menu Border Width
"right",                        // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,                                // Properties Array - this is set higher up, as above
1,                                // Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",                                // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,                                // Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,                                // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0,                                 // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
0,                                // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,                                // Position of TOP sub image left:center:right
,                                // Set the Overall Width of Horizontal Menu to 70% and height to the specified amount (Leave blank to disable)
0,                                // Right To Left - Used in Hebrew for example. (1=on/0=off)
0,                                // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,                                // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                                // Reserved for future use
,                                // Reserved for future use
,                                // Reserved for future use


,"Über Uns ","show-menu=uns",,,1
,"Infos","show-menu=infos",,,1
,"Termine","show-menu=termine",,,1
,"Downloads&nbsp;&nbsp;&nbsp;","show-menu=downloads",,,1
,"Links","show-menu=links",,,1

        ])
        addmenu(menu=["uns",
        ,,150,1,"",style2,,"right",effect,,,,,,,,,,,,
        ,"Allgemein&nbsp;",myurl+"template_content.php4?contentGroup=1_0_0&bg=0_0_0",,,1
        ,"Vorstand&nbsp;",myurl+"template_content.php4?contentGroup=1_1_0&bg=0_0_0",,,1
        ,"Arbeitsgruppe&nbsp;",myurl+"template_content.php4?contentGroup=1_2_0&bg=0_0_0",,,1
        ,"Satzung&nbsp;",myurl+"template_content.php4?contentGroup=1_3_0&bg=0_0_0",,,1
        ,"Beitritt&nbsp;",myurl+"template_content.php4?contentGroup=1_4_0&bg=0_0_0",,,1
        ])

        addmenu(menu=["infos",
        ,,150,1,"",style2,,"right",effect,,,,,,,,,,,,
        ,"Karte&nbsp;",myurl+"template_content.php4?contentGroup=2_0_0&bg=0_0_0",,,1
        ,"Planfeststellung&nbsp;",myurl+"template_content.php4?contentGroup=2_1_0&bg=0_0_0",,,1
        ,"Fakten&nbsp;",myurl+"template_content.php4?contentGroup=2_2_0&bg=0_0_0",,,1
        ])
	
	addmenu(menu=["termine",
        ,,150,1,"",style2,,"right",effect,,,,,,,,,,,,
        ,"Aktuelle Termine&nbsp;",myurl+"template_content.php4?contentGroup=3_0_0&bg=0_0_0",,,1
        ])
       
        addmenu(menu=["downloads",
        ,,150,1,"",style2,,"right",effect,,,,,,,,,,,,
        ,"Aktuelle Downloads&nbsp;",myurl+"template_content.php4?contentGroup=4_0_0&bg=0_0_0",,,1
        ])
        
        addmenu(menu=["links",
        ,,150,1,"",style2,,"right",effect,,,,,,,,,,,,
        ,"Aktuelle Links&nbsp;",myurl+"template_content.php4?contentGroup=5_0_0&bg=0_0_0",,,1
        ])  
dumpmenus()
