var menucrafteducation=new SlMnu("Mcrafteducation","down",0,1,185,150,"#cedcec","#545dbf")
var menucrafteducationX=0;
var menucrafteducationY=0;
menucrafteducation.onactivate=reposition_menucrafteducation
function reposition_menucrafteducation(){
	menucrafteducation.container.style?menucrafteducation.container.style.top=menucrafteducationY+25+"px":menucrafteducation.container.top=menucrafteducationY;
	menucrafteducation.container.style?menucrafteducation.container.style.left=menucrafteducationX+"px":menucrafteducation.container.left=menucrafteducationX;
}
var menuproducts=new SlMnu("Mproducts","down",0,1,141,226,"#cedcec","#545dbf")
var menuproductsX=0;
var menuproductsY=0;
menuproducts.onactivate=reposition_menuproducts
function reposition_menuproducts(){
	menuproducts.container.style?menuproducts.container.style.top=menuproductsY+25+"px":menuproducts.container.top=menuproductsY;
	menuproducts.container.style?menuproducts.container.style.left=menuproductsX+"px":menuproducts.container.left=menuproductsX;
}
var menumatrixnews=new SlMnu("Mmatrixnews","down",0,1,141,150,"#cedcec","#545dbf")
var menumatrixnewsX=0;
var menumatrixnewsY=0;
menumatrixnews.onactivate=reposition_menumatrixnews
function reposition_menumatrixnews(){
	menumatrixnews.container.style?menumatrixnews.container.style.top=menumatrixnewsY+25+"px":menumatrixnews.container.top=menumatrixnewsY;
	menumatrixnews.container.style?menumatrixnews.container.style.left=menumatrixnewsX+"px":menumatrixnews.container.left=menumatrixnewsX;
}
var menuconnect=new SlMnu("Mconnect","down",0,1,170,111,"#cedcec","#545dbf")
var menuconnectX=0;
var menuconnectY=0;
menuconnect.onactivate=reposition_menuconnect
function reposition_menuconnect(){
	menuconnect.container.style?menuconnect.container.style.top=menuconnectY+25+"px":menuconnect.container.top=menuconnectY;
	menuconnect.container.style?menuconnect.container.style.left=menuconnectX+"px":menuconnect.container.left=menuconnectX;
}
var menubusinesstools=new SlMnu("Mbusinesstools","down",0,1,165,73,"#cedcec","#545dbf")
var menubusinesstoolsX=0;
var menubusinesstoolsY=0;
menubusinesstools.onactivate=reposition_menubusinesstools
function reposition_menubusinesstools(){
	menubusinesstools.container.style?menubusinesstools.container.style.top=menubusinesstoolsY+25+"px":menubusinesstools.container.top=menubusinesstoolsY;
	menubusinesstools.container.style?menubusinesstools.container.style.left=menubusinesstoolsX+"px":menubusinesstools.container.left=menubusinesstoolsX;
}
var menupartnershipprograms=new SlMnu("Mpartnershipprograms","down",0,1,181,70,"#cedcec","#545dbf")
var menupartnershipprogramsX=0;
var menupartnershipprogramsY=0;
menupartnershipprograms.onactivate=reposition_menupartnershipprograms
function reposition_menupartnershipprograms(){
	menupartnershipprograms.container.style?menupartnershipprograms.container.style.top=menupartnershipprogramsY+25+"px":menupartnershipprograms.container.top=menupartnershipprogramsY;
	menupartnershipprograms.container.style?menupartnershipprograms.container.style.left=menupartnershipprogramsX+"px":menupartnershipprograms.container.left=menupartnershipprogramsX;
}
function changeClass(e) {
	if(e.className == "dropMenuItemRow"){
		this.className = 'dropMenuItemRowo';
	}
	else if(e.className == "dropMenuItemRowo"){
		this.className = 'dropMenuItemRow';
	}
	else if(e.className == "dropMenuItemTop"){
		this.className = 'dropMenuItemTopo';
	}
	else {
		this.className = 'dropMenuItemTop';
	}
}

function setLyr(obj,menu) {
if(menu == 'crafteducation'){
	menucrafteducationX=findPosX(document.crafteducationimg);
	menucrafteducationY=findPosY(document.crafteducationimg);
}
else if(menu == 'products'){
	menuproductsX=findPosX(document.productsimg);
	menuproductsY=findPosY(document.productsimg);
}
else if(menu == 'matrixnews'){
	menumatrixnewsX=findPosX(document.matrixnewsimg);
	menumatrixnewsY=findPosY(document.matrixnewsimg);
}
else if(menu == 'connect'){
	menuconnectX=findPosX(document.connectimg);
	menuconnectY=findPosY(document.connectimg);
}
else if(menu == 'businesstools'){
	menubusinesstoolsX=findPosX(document.businesstoolsimg);
	menubusinesstoolsY=findPosY(document.businesstoolsimg);
}
else if(menu == 'partnershipprograms'){
	menupartnershipprogramsX=findPosX(document.partnershipprogramsimg);
	menupartnershipprogramsY=findPosY(document.partnershipprogramsimg);
}
}