oCMenu = new makeCM("oCMenu");

oCMenu.resizeCheck = 1;
oCMenu.wait = 500;
oCMenu.onlineRoot = "";

// Background bar properties
oCMenu.useBar = 0;
oCMenu.barWidth = 0; // Value: px || "%" || "menu"
oCMenu.barHeight = 0; // Value: px || "%" || "menu"
oCMenu.barX = 0; // Value: px || "%" || "menu"
oCMenu.barY = 0; // Value: px || "%" || "menu"
oCMenu.barClass = ""; // Stylesheet class
oCMenu.barBorderX = 0;
oCMenu.barVorderY = 0;
oCMenu.barBorderClass = "";

//Placement properties
oCMenu.rows = 1;				// Set to 0 for columns and 1 for rows
oCMenu.fromLeft = 177; 		// Value: px || "%"
oCMenu.fromTop = 72; 		// Value: px || "%"
oCMenu.pxBetween = 0; 	// Value: px || "%"

oCMenu.menuPlacement = "center"; 

oCMenu.fillImg = "images/blank.gif";
oCMenu.zIndex = 0;


// TOP LEVEL PROPERTIES - ALL OF THESE MUST BE SPESIFIED FOR LEVEL[0]
oCMenu.level[0] = new cm_makeLevel();
oCMenu.level[0].width = 126;		// Value: px || "%"
oCMenu.level[0].height = 21; 		// Value: px || "%"
oCMenu.level[0].regClass = "clLevel0";	// css class for regular state
oCMenu.level[0].overClass = "clLevel0over";	// css class for over state

oCMenu.level[0].borderX = 0;
oCMenu.level[0].borderY = 0;
oCMenu.level[0].borderClass = "clLevel0border"; 	// css class for borders

oCMenu.level[0].offsetX = 0;
oCMenu.level[0].offsetY = -1;

/* Align values:
"bottom": The sub menus of this level will come out on the top of this item
"top": The sub menus of this level will come out on the bottom of this item
"left": The sub menus of this level will come out on the right of this item
"right": The sub menus of this level will come out on the left of this item 
"righttop": The menus will come out to the right but go upwards.
"lefttop": The menus will out to the left but go upwards.
"bottomleft": The menus comes out of the bottom but goes left.
"topleft": The menu comes out above the current element and goes left.
*/
oCMenu.level[0].align = "bottom";

oCMenu.level[0].rows = 0;					// each submenu can be horz. or vert.
oCMenu.level[0].arrow = "";				// image used as an arrow (placed a beg. of menu)
oCMenu.level[0].arrowWidth = 0;		// image width
oCMenu.level[0].arrowHeight = 0;	// image height



// SUB LEVEL[1] PROPERTIES - You have to spesify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this

oCMenu.level[1] = new cm_makeLevel();
oCMenu.level[1].width = 100;		// Value: px || "%"
oCMenu.level[1].height = 16; 		// Value: px || "%"
oCMenu.level[1].regClass = "clLevel1";	// css class for regular state
oCMenu.level[1].overClass = "clLevel1over";	// css class for over state

oCMenu.level[1].borderX = 1;
oCMenu.level[1].borderY = 1;
oCMenu.level[1].borderClass = "clLevel1border"; 	// css class for borders

oCMenu.level[1].offsetX = -1;
oCMenu.level[1].offsetY = -1;
oCMenu.level[1].align = "right";

oCMenu.level[1].rows = 0;					// each submenu can be horz. or vert.
oCMenu.level[1].arrow = "";				// image used as an arrow (placed a beg. of menu)
oCMenu.level[1].arrowWidth = 0;		// image width
oCMenu.level[1].arrowHeight = 0;	// image height

// SUB LEVEL[2] PROPERTIES
oCMenu.level[2] = new cm_makeLevel();
oCMenu.level[2].width = 140;		// Value: px || "%"
oCMenu.level[2].height = 16; 		// Value: px || "%"
oCMenu.level[2].regClass = "clLevel2";	// css class for regular state
oCMenu.level[2].overClass = "clLevel2over";	// css class for over state
oCMenu.level[2].borderClass = "clLevel2border"; 	// css class for borders
oCMenu.level[2].offsetX = 0;
oCMenu.level[2].offsetY = 0;
