// by now the following globals are for every menu
//time the menu keeps visible if mouse leave the menu
var delaytime = 500;
// Delimeter zum Top-Level, einzustellen im jeweiligen HTML-File, falls nicht ""
var topDelim = "";
// pfeilicon das angezeigt wird bei toppunkten
var g_topmenuimage = "../grafik/menupunkte/arrow.gif";



/* CONFIGURATIONS WEASEL MENU */

// config object
function config(){
	
	this.csssub;			// css for menupoint
	this.csssubover;		// css for menupoint on mouseover
	this.subdiv;			// css for background (behind menupoints)
	
	this.offsetx;			// x-gap between menu and submenu on the right in px
	this.offsety;			// y-gap between menu and submenu on the right in px
	this.bottomoffset;	// y-gap between topmenupoint and submenu in px
}

// array with configurations for each menu
var configs = new Array();

// configurations for each menu
var c0 = new config(); configs[0] = c0;
var c1 = new config(); configs[1] = c1;

// config for "mainmenu"
configs[0].csssub = "menupoint";
configs[0].csssubover = "menupointover";
configs[0].subdiv = "background";
configs[0].offsetx = 1;
configs[0].offsety = 0;
configs[0].bottomoffset = 6;

// config for "contentmenu"
configs[1].csssub = "menupoint";
configs[1].csssubover = "menupointover";
configs[1].subdiv = "contentmenu_background";
configs[1].offsetx = 1;
configs[1].offsety = 0;
configs[1].bottomoffset = 0;
