oM=new makeCM("oM"); 
oM.resizeCheck=1; 
oM.rows=1;  
oM.onlineRoot="/"; /* NOTE REGARDING SLASH */
// oM.fillImg="images/global_nav_slice.gif"; 
oM.pxBetween=0;

function checkBrowser()
{
	this.ver=navigator.appVersion;
	this.dom=document.getElementById?1:0;
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie55=(this.ver.indexOf("MSIE 5.5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5)?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	return this;
}

var objSniff = checkBrowser();

// document.write("objSniff version:" + this.ver );

// Using this browsers sniffer temporarily to "fix" positioning
//  problems we have been having with the different browsers.
//  Coolmenus is *supposed* to be able to handle this stuff, but 
//  the code is fairly complex...

// If the user has IE4 or IE5
if(objSniff.ie6 || objSniff.ie55 || objSniff.ie5 || objSniff.ie4)
{
	oM.fromLeft=10;

	if(objSniff.ie6 || objSniff.ie55 || objSniff.ie4)
	{
		oM.fromTop=77;
	} else if(objSniff.ie5)
	{
		oM.fromTop=78;
	}
	

// NS6 identifies itself as version 5 or above
} else if(objSniff.ns5 || objSniff.ns4)
{
	oM.fromTop=52;
	if(objSniff.ns5)
	{
		oM.fromLeft=4;
	} else {
		oM.fromLeft=8;
	}
// User is using something other than the "norm"
//  Mozilla and Opera users fall into this category.
} else
{
	oM.fromTop=60; 
	oM.fromLeft=10; 

}

// oM.fromTop=52;
// oM.fromLeft=8;

oM.wait=300; 
oM.zIndex=400;
oM.useBar=0; 

/* Create the menu levels here */
oM.level[0]=new cm_makeLevel(150,21,"clT","clTover",1,1,'',0,"bottom",0,0,0,0,0);
oM.level[1]=new cm_makeLevel(150,20,"clS","clSover",1,1,"clB",0,"right",0,0,"images/arrow_nav.gif",10,10);
oM.level[2]=new cm_makeLevel(150,20,"clS2","clS2over",1,1,"clB");

/********************* BUILD THE MENU HERE *********************/
/* SYNTAX 

oM.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout)

DO NOT USE HYPHENS "-" WHEN NAMING MENU OBJECTS AS THEY WILL BREAK THE MENU 

*/

// HOMEpage
oM.makeMenu('Home','','','http://www.toknow.com.cn/tk_english/index_engl.html','','62','21','images_engl/toknow_englishhome.gif');

// MARKET research
oM.makeMenu('Market','','','','','120','21','images_engl/market_research_engl.gif','images_engl/market_research_englon.gif');
  oM.makeMenu('Market_Overview','Market','Expertise and Service','http://www.toknow.com.cn/tk_english/expertise_service.html');
  oM.makeMenu('Overview','Market','FW Capability','http://www.toknow.com.cn/tk_english/fwcapability.html');
  oM.makeMenu('Overview1','Market','Data Process Capability','http://www.toknow.com.cn/tk_english/data_process.html');
  oM.makeMenu('Overview2','Market','Research Capability','http://www.toknow.com.cn/tk_english/research_capability.html');
			
// INDUSTRY Research
oM.makeMenu('Industry','','','','','120','21','images_engl/industry_research_engl.gif','images_engl/industry_research_englon.gif');
   oM.makeMenu('SelfServicea3','Industry','Expertise and Service','http://www.toknow.com.cn/tk_english/industry_expertise.html');
   oM.makeMenu('SelfServicea','Industry','Research Technology','http://www.toknow.com.cn/tk_english/research_technology.html');
   oM.makeMenu('StoreAuto','Industry','Key Industries','http://www.toknow.com.cn/tk_english/key_industry.html');
   oM.makeMenu('Payment_Industry','Industry','Open Business in China','http://www.toknow.com.cn/tk_english/open_business.html');
 

// RETAILING Tracking
oM.makeMenu('Retailing','','','','','120','21','images_engl/retailing_tra_engl.gif','images_engl/retailing_tra_englon.gif');
   oM.makeMenu('Ind_Overview','Retailing','Expertise and Service','http://www.toknow.com.cn/tk_english/retail_expertise.html');
   oM.makeMenu('Comm_Industry','Retailing','Sampling and Tracking','http://www.toknow.com.cn/tk_english/sampling.html');
   oM.makeMenu('Financial_Industry','Retailing','Ready Reports','http://www.toknow.com.cn/tk_english/ready_reports.html');   
	  	
// COMPANY Research
oM.makeMenu('Company','','','','','120','21','images_engl/Company_engl.gif','images_engl/Company_englon.gif');
   oM.makeMenu('toknow_Offerings','Company','Internal Diagnosis','http://www.toknow.com.cn/tk_english/innerdianosis.html');
   oM.makeMenu('Report_a_Site','Company','Credit Research','http://www.toknow.com.cn/tk_english/credit_research.html');
   oM.makeMenu('Report_a_Site1','Company','Competition Info','http://www.toknow.com.cn/tk_english/competition_info.html');
   oM.makeMenu('Report_a_Site2','Company','In-depth Research','http://www.toknow.com.cn/tk_english/indepthresearch.html');

// Syndicated Report
oM.makeMenu('Syndicated','','','','','120','21','images_engl/syndicated_engl.gif','images_engl/syndicated_englon.gif');
    oM.makeMenu('Hardware0','Syndicated','Syndicated Report','http://www.toknow.com.cn/tk_english/syndicated_report.html');
    oM.makeMenu('Hardware','Syndicated','Real Estate/Building','http://www.toknow.com.cn/tk_english/realestate.html');
    oM.makeMenu('Supplies','Syndicated','Material','http://www.toknow.com.cn/tk_english/material.html');
    oM.makeMenu('Hardware1','Syndicated','Industry Products','http://www.toknow.com.cn/tk_english/industry_product.html');
    oM.makeMenu('Supplies1','Syndicated','Petrol and Chemicals','http://www.toknow.com.cn/tk_english/petrol_chemicals.html');
    oM.makeMenu('Hardware2','Syndicated','Automotive and Parts','http://www.toknow.com.cn/tk_english/auto_parts.html');
    oM.makeMenu('Supplies5','Syndicated','Finance and Insurance','http://www.toknow.com.cn/tk_english/finance_insurance.html');
    oM.makeMenu('Supplies2','Syndicated','IT and Electrics','http://www.toknow.com.cn/tk_english/it_electrics.html');
    oM.makeMenu('Hardware3','Syndicated','Consumer goods','http://www.toknow.com.cn/tk_english/consume_goods.html');
    oM.makeMenu('Supplies3','Syndicated','Media and Entertainment','http://www.toknow.com.cn/tk_english/media_enter.html');
    oM.makeMenu('Hardware4','Syndicated','Others','http://www.toknow.com.cn/tk_english/other_engl.html');

// Toknow News
oM.makeMenu('insight','','','','','120','21','images_engl/toknow_news_engl.gif','images_engl/toknow_news_englon.gif');
   oM.makeMenu('Buy_Services','insight','Toknow Insight','http://www.toknow.com.cn/insight/toknow_insight.html');
     
oM.menuPlacement=10;
oM.construct()
