
makeMeSomeMenu();
origWidth=cmpage.x2;

function makeMeSomeMenu() {

	oM=new makeCM("oM");  // this seems to be the menu bar

	offset = 185;// mv was 165

	oM.resizeCheck=1;
	oM.rows=1;
	oM.onlineRoot="";

	oM.pxBetween =0;

	oM.fillImg="images/spacer.gif";

	oM.fromTop=72; // mv was65
	oM.fromLeft=0;
	oM.wait=300;
	oM.zIndex=400;

	oM.useBar=1;
	oM.barHeight="menu";
	oM.barY="menu";
	oM.barClass="clBar";
	oM.barBorderX=0; oM.barBorderY=0;
	oM.barWidth=(723-179);//-(bw.ie?10:3); // mv removed a bit
	oM.barX=offset;

	// define w,h of nav levels
	oM.level[0]=new cm_makeLevel(90,20,"clT","clTover",0.1,0.1,"clB",0,"bottom",0,0,0,0,0);
	oM.level[1]=new cm_makeLevel(145,20,"clS","clSover",1,1,"clB",0,"right",0,0,"images/vencon_l.gif",9,7);
	oM.level[2]=new cm_makeLevel(100,20,"clS2","clS2over");
	oM.level[3]=new cm_makeLevel(140,20);

	oM.makeMenu('m1','dhtmlcentral_nav_div','HOME','index.php?page=home'+urlstr,'',
		90,20,'images/vencon_b1.gif','images/vencon_b1_over.gif');

	oM.makeMenu('m2','dhtmlcentral_nav_div','PRODUCTS','index.php?page=prod_uba5'+urlstr,'',
		90,20,'images/vencon_b2.gif','images/vencon_b2_over.gif');
		oM.makeMenu('m4','m2','Battery Analyzers','index.php?page=prod_uba5'+urlstr);
			oM.makeMenu('m5','m4','UBA5','index.php?page=prod_uba5'+urlstr);
			oM.makeMenu('m6','m4','UBA5 Combos','index.php?page=prod_uba5cmb'+urlstr);
			oM.makeMenu('m7','m4','30V and Up','index.php?page=prod_24V'+urlstr);
			oM.makeMenu('m8','m4','Custom','index.php?page=prod_custom'+urlstr);
			oM.makeMenu('m9','m4','Comparison Chart','index.php?page=prod_compare'+urlstr);
			oM.makeMenu('m26','m4','FAQ','index.php?page=prod_faq'+urlstr);
			oM.makeMenu('m10','m2','Accessories','index.php?page=prod_std'+urlstr);
			oM.makeMenu('m12','m10','Standard','index.php?page=prod_std'+urlstr);
			oM.makeMenu('m13','m10','USB & Bluetooth','index.php?page=prod_usb'+urlstr);
			oM.makeMenu('m14','m10','High Power','index.php?page=prod_hp'+urlstr);

	oM.makeMenu('m15','dhtmlcentral_nav_div','APPLICATIONS','index.php?page=applications1'+urlstr,'',
		90,20,'images/vencon_b3.gif','images/vencon_b3_over.gif');
		oM.makeMenu('m16','m15','Medical','index.php?page=appl_med'+urlstr);
		oM.makeMenu('m17','m15','Communications','index.php?page=appl_com'+urlstr);
		oM.makeMenu('m18','m15','Portable Terminals','index.php?page=appl_pterm'+urlstr);
		oM.makeMenu('m19','m15','Other','index.php?page=appl_oth'+urlstr);
		if(phpid){
			oM.makeMenu('m32','m15','RC','index.php?page=appl_' + phpid + urlstr);
		}

	oM.makeMenu('m20','dhtmlcentral_nav_div','SUPPORT','index.php?page=support'+urlstr,'',
		90,20,'images/vencon_b4.gif','images/vencon_b4_over.gif');
		oM.makeMenu('m21','m20','Battery Articles','index.php?page=support_art'+urlstr);
		oM.makeMenu('m22','m20','Application Notes','index.php?page=support_appUBA4'+urlstr);
		oM.makeMenu('m23','m20','Reference Manuals','index.php?page=support_ref'+urlstr);
		oM.makeMenu('m24','m20','Software','index.php?page=support_sw'+urlstr);
		oM.makeMenu('m25','m20','Older Products','index.php?page=support_old'+urlstr);

	oM.makeMenu('m27','dhtmlcentral_nav_div','SHOP','index.php?page=shop_online'+urlstr,'',
		90,20,'images/vencon_b5.gif','images/vencon_b5_over.gif');
		oM.makeMenu('m28','m27','Ordering Instructions','index.php?page=shop_online'+urlstr);
		oM.makeMenu('m29','m27','Order Form / Price list','index.php?page=shop_price'+urlstr);
		oM.makeMenu('m30','m27','Distributors','index.php?page=shop_intldist'+urlstr);
		oM.makeMenu('m32','m27','Bargin Bin','index.php?page=shop_bargins'+urlstr);

	oM.makeMenu('m31','dhtmlcentral_nav_div','CONTACT US','index.php?page=contact_us'+urlstr,'',
		90,20,'images/vencon_b6.gif','images/vencon_b6_over.gif');

	btn_wide = 90;
	oM.menuPlacement=new Array(
		offset+btn_wide*0-00,		//home
		offset+btn_wide*1-10,		//prod
		offset+btn_wide*2-10,		//appl
		offset+btn_wide*3-10,		//supp
		offset+btn_wide*4-10,		//shop
		offset+btn_wide*5-10		//cont
	);

	oM.construct();
}
