	var mnuwidth1,mnuwidth2,mnuwidth3,mnuwidth4,mnuwidth5,mnuwidth6,fLeft;
	if ((screen.width == 640) && (screen.height == 480)){ 
		mnuwidth1= 101;
	}
	else if ((screen.width == 800) && (screen.height == 600))
		mnuwidth1= 80;
	else if ((screen.width == 1024) && (screen.height == 768))
		mnuwidth1= 90;
	else if ((screen.width == 1152) && (screen.height == 864))
		mnuwidth1= 106;
	else if ((screen.width == 1280) && (screen.height == 1024))
		mnuwidth1= 130;
	else mnuwidth1= 130;
	fLeft = screen.width - mnuwidth1*7 - 35 
	var oM=new makeCM("oM")
	oM.pxBetween =0
	oM.fromTop=106  
	oM.fromLeft = fLeft
	oM.rows=1
	oM.menuPlacement="left"
	oM.wait=600
	oM.zIndex=100 
	oM.resizeCheck=1
	oM.fillImg="cm_fill.gif"
	oM.zIndex=100  
	oM.onlineRoot=""
	oM.offlineRoot=""
	oM.align="center"

//Background bar properties

	oM.useBar=0
	oM.barWidth="100%"
	oM.barHeight="18" 
	oM.barClass="clBar"
	oM.barX=100 
	oM.barY=100
	oM.barBorderX=1
	oM.barBorderY=1
	oM.barBorderClass=""

//Level properties
//oM.level[1]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight)

	oM.level[0]=new cm_makeLevel()
//	oM.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.8)" 
//	oM.level[0].slidepx=10
//	oM.level[0].slideim=0
//	oM.level[0].clippx=10

	oM.level[0].width=91
	oM.level[0].height=19
	oM.level[0].regClass= "clLevel0" 
	oM.level[0].overClass= "clLevel0over" 
	oM.level[0].borderX=1
	oM.level[0].borderY=1
	oM.level[0].borderClass= "clLevel0border" 
	oM.level[0].offsetX=0 + 1 //dich menu theo menu hinh
	oM.level[0].offsetY=0
	
	oM.level[0].rows=0
	oM.level[0].align="bottom"
	oM.level[0].arrow=null
	oM.level[0].arrowWidth=0
	oM.level[0].arrowHeight=0

	oM.level[1]=new cm_makeLevel()
	oM.level[1].filter=""
	oM.level[1].width=135
	oM.level[1].height=20
	oM.level[1].regClass="clLevel1"
	oM.level[1].overClass="clLevel1over"
	oM.level[1].borderX=1
	oM.level[1].borderY=1
	oM.level[1].align="right"
	oM.level[1].offsetX= -(oM.level[0].width-2)/2+20

//var bw=new cm_bwcheck();
	if (!(bw.ie4 && bw.ie5 && bw.ie6)) oM.level[0].offsetY= 1;
	else oM.level[0].offsetY=2;

	oM.level[1].borderClass= "clLevel1border" //"clB1"
	oM.level[1].rows=1

	oM.level[1].arrow=null
	oM.level[1].arrowWidth=0
	oM.level[1].arrowHeight=0

//Level 2
	oM.level[2]=new cm_makeLevel()
	oM.level[2].filter=""
	oM.level[2].width=135
	oM.level[2].height=20
	oM.level[2].regClass="clLevel1"
	oM.level[2].overClass="clLevel1over"
	oM.level[2].borderX=1
	oM.level[2].borderY=1
	oM.level[2].align="right"
	oM.level[2].offsetX= -(oM.level[0].width-2)/2+20

//var bw=new cm_bwcheck();
//	if (!(bw.ie4 && bw.ie5 && bw.ie6)) oM.level[0].offsetY= 1;
//	else oM.level[0].offsetY=2;

	oM.level[2].borderClass= "clLevel1border" //"clB1"
	oM.level[2].rows=1

	oM.level[2].arrow=null
	oM.level[2].arrowWidth=0
	oM.level[2].arrowHeight=0

/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
//oM.makeMenu('top5','','&nbsp;Home','index.php', '',  128,'','http://localhost/sg2/html/images/menu/imgHome0.gif','http://localhost/sg2/html/images/menu/imgHome1.gif');
oM.makeMenu('top5','','<div align="center">Trang chủ</div>','index.php', '',  mnuwidth1,'','');
oM.makeMenu('top0','products','<div align="center">Sản phẩm</div>', '', '', mnuwidth1, '', ''); 
	/***********************************************/
	oM.makeMenu('sub00','top0','Phần mềm kế toán Seeget','modules.php?name=Content&pa=showpage&pid=1','', mnuwidth1+8);
	oM.makeMenu('sub01','top0','Phần mềm quản lý','modules.php?name=Content&pa=showpage&pid=16', '', mnuwidth1+8);
	oM.makeMenu('sub02','top0','Phát triển phần mềm','modules.php?name=Content&pa=showpage&pid=17','' , mnuwidth1+8);
	//oM.makeMenu('sub03','top0','H&#7895; tr&#7907; kha&#769;ch ha&#768;ng','modules.php?name=Content&pa=showpage&pid=6', '', 134);
	oM.makeMenu('sub03','top0','Thi&#7871;t k&#7871; Website','modules.php?name=Content&pa=showpage&pid=18', '', mnuwidth1+8);
	/***********************************************/
oM.makeMenu('top1','','<div align="center">Khách hàng</div>','','', mnuwidth1,'','','');
	/***********************************************/
	oM.makeMenu('sub10','top1','Hỗ trợ khách hàng','modules.php?name=Content&pa=showpage&pid=10','', mnuwidth1);
	oM.makeMenu('sub11','top1','Khách hàng tiêu biểu','modules.php?name=Content&pa=showpage&pid=11','', mnuwidth1);
	oM.makeMenu('sub12','top1','Khách hàng mới','modules.php?name=Content&pa=showpage&pid=12','', mnuwidth1);
	oM.makeMenu('sub13','top1','Nhận xét','modules.php?name=Content&pa=showpage&pid=13','', mnuwidth1);
		/***********************************************/
//	oM.makeMenu('sub13','top1','S&#7889; li&#7879;u ta&#768;i chi&#769;nh','Financial highlights.htm','', 120);
//	oM.makeMenu('sub14','top1','Ho&#7841;t &#273;&#7897;ng c&#7897;ng &#273;&#7891;ng','Community.htm','', 120 );
//	oM.makeMenu('sub15','top1','&#272;i&#803;a ch&#7881; li&#234;n h&#7879;','Contacts.htm','', 120);

oM.makeMenu('top2','','<div align="center">Tin tức</div>','', '',  mnuwidth1, '', '');
		/***********************************************/
	oM.makeMenu('sub20','top2','Tin học','modules.php?name=News&file=categories&op=newindex&catid=2','',  mnuwidth1);
	oM.makeMenu('sub21','top2','Kế toán - thuế','modules.php?name=News&file=categories&op=newindex&catid=3','', mnuwidth1);
    oM.makeMenu('sub22','top2','Doanh nghiệp','modules.php?name=News&file=categories&op=newindex&catid=4','',  mnuwidth1);
    oM.makeMenu('sub23','top2','Tin khác','modules.php?name=News&file=categories&op=newindex&catid=1','',  mnuwidth1);
		/***********************************************/
oM.makeMenu('top3','','<div align="center">Trợ giúp</div>','modules.php?name=Sections&op=viewarticle&artid=2' ,'',  mnuwidth1, '','','');
		/***********************************************/
	oM.makeMenu('sub30','top3','FAQ','modules.php?name=FAQ', '',  mnuwidth1);
	oM.makeMenu('sub31','top3','Tin học','modules.php?name=Sections&op=viewarticle&artid=1', '',  mnuwidth1);
//	oM.makeMenu('sub32','top3','Kế toán','trogiup/ketoan/index.htm', '',  123);
	oM.makeMenu('sub32','top3','Kế toán','modules.php?name=Sections&op=viewarticle&artid=4', '',  mnuwidth1);
	oM.makeMenu('sub33','top3','Pháp luật thuế','modules.php?name=Sections&op=viewarticle&artid=28', '',  mnuwidth1);
//	oM.makeMenu('sub34','top3','Hỗ trợ khách hàng','modules.php?name=Content&pa=showpage&pid=10', '',  123);
		/***********************************************/
oM.makeMenu('top4','','<div align="center">Liên hệ</div>','', '',  mnuwidth1,'','','');
	oM.makeMenu('sub40','top4','S&#417; &#273;&#7891; site','modules.php?name=Content&pa=showpage&pid=14', '', mnuwidth1-2);
	oM.makeMenu('sub41','top4','&#272;&#7883;a ch&#7881; li&#234;n h&#7879;','modules.php?name=Content&pa=showpage&pid=15', '',  mnuwidth1-2);

//Leave this line - it constructs the menu
oM.construct();
