﻿/*** 
This is the menu creation code - place it right after you body tag
Feel free to add this to a stand-alone js file and link it to your page.
**/

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 0

//Menu properties   
oCMenu.pxBetween=0
oCMenu.fromLeft=nav_left
oCMenu.fromTop=nav_top   
oCMenu.rows=1 
oCMenu.menuPlacement="left"

//二级菜单链接属性                                                             
oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/dhtmlcentral/projects/coolmenus/examples/" 
oCMenu.onlineRoot="http://www.chinacomp.org.cn" 
oCMenu.resizeCheck=1 
oCMenu.wait=250 
oCMenu.fillImg="cm_fill.gif"
oCMenu.zIndex=10

//Background bar properties
oCMenu.useBar=0
oCMenu.barWidth=nav_width
oCMenu.barHeight="menu" 
oCMenu.barClass=""
oCMenu.barX=0 
oCMenu.barY=0
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=110
oCMenu.level[0].height=25 
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
oCMenu.level[0].borderX=0
oCMenu.level[0].borderY=0
oCMenu.level[0].borderClass="clLevel0border"
oCMenu.level[0].offsetX=-1
oCMenu.level[0].offsetY=-1
oCMenu.level[0].rows=0
oCMenu.level[0].arrow=0
oCMenu.level[0].arrowWidth=0
oCMenu.level[0].arrowHeight=0
oCMenu.level[0].align="bottom"

//EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify 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() //Add this for each new level (adding one to the number)
//oCMenu.level[1].width=oCMenu.level[0].width-2
oCMenu.level[1].width=130
oCMenu.level[1].height=22
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=0
oCMenu.level[1].align="right" 
//oCMenu.level[1].offsetX=-(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetX=-1
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"


//EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this
oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number)
//oCMenu.level[2].width=oCMenu.level[0].width-2
oCMenu.level[2].width=140
oCMenu.level[2].height=22
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderX=1
oCMenu.level[2].borderY=0
oCMenu.level[2].align="right" 
//oCMenu.level[2].offsetX=-(oCMenu.level[0].width-2)/2+20
    oCMenu.level[2].offsetX=0    
oCMenu.level[2].offsetY=0
oCMenu.level[2].borderClass="clLevel2border"


/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/



oCMenu.makeMenu('topPublications','','&nbsp;中心介绍','','',102)
oCMenu.makeMenu('subRR_Pub','topPublications','关于我们','/about.html','','', '', '', '', 'clLevel1Small', 'clLevel1Smallover')
oCMenu.makeMenu('subWorth_Pub','topPublications','主要领导','/lead.html','','', '', '', '', 'clLevel1Small', 'clLevel1Smallover')
oCMenu.makeMenu('subShowboats_Pub','topPublications','机构设置','/jigou.html','','', '', '', '', 'clLevel1Small', 'clLevel1Smallover') 
oCMenu.makeMenu('subAA_Pub','topPublications','联系我们','/lianxi.html','','', '', '', '', 'clLevel1Small', 'clLevel1Smallover')
//oCMenu.makeMenu('subTRRC_Pub','topPublications','联系我们','','','', '', '', '', 'clLevel1Small', 'clLevel1Smallover')
//oCMenu.makeMenu('subVacation_Pub','topPublications','竞争力4','http://www.chinacomp.org.cn/','','', '', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subHome_Pub','topPublications','竞争力5','http://www.chinacomp.org.cn/','','', '', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subMotor_Pub','topPublications','竞争力6','http://www.chinacomp.org.cn/','','', '', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subHED_Pub','topPublications','竞争力7','http://www.chinacomp.org.cn/','','','', '', '', 'clLevel1Small', 'clLevel1Smallover') 
// Publication is being retired CHANGED BY Michael 12/12/2007 ###### oCMenu.makeMenu('subDTV_Pub','topPublications','Digital TV & Sound','http://www.dtvmag.com/','',175,'', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subRRResorts_Pub','topPublications','Robb Report Luxury Resorts','http://www.robbreport.com/resorts/','',175, '', '', '', 'clLevel1Small', 'clLevel1Smallover')
//oCMenu.makeMenu('subRRHotels_Pub','topPublications','Robb Report Luxury Hotels','http://www.robbreport.com/Hotels/','',175, '', '', '', 'clLevel1Small', 'clLevel1Smallover')
//oCMenu.makeMenu('subRRRussia_Pub','topPublications','Robb Report Russia','http://www.robbreport.ru/','',175, '', '', '', 'clLevel1Small', 'clLevel1Smallover')
//oCMenu.makeMenu('subSarasota_Pub','topPublications','Sarasota Magazine','http://www.sarasotamagazine.com/','',175, '', '', '', 'clLevel1Small', 'clLevel1Smallover')
//oCMenu.makeMenu('subGulf_Pub','topPublications','Gulfshore Life','http://www.gulfshorelife.com/','',175, '', '', '', 'clLevel1Small', 'clLevel1Smallover')
//oCMenu.makeMenu('subSD_Pub','topPublications','San Diego Magazine','http://www.sandiegomagazine.com/','',175, '', '', '', 'clLevel1Small', 'clLevel1Smallover')
//oCMenu.makeMenu('subSLA_Pub','topPublications','Sports & Luxury Automobile','http://www.sportsluxuryauto.com/','',175, '', '', '', 'clLevel1Small', 'clLevel1Smallover')
    



//################################ Article Section is longer required CHANGED BY Michael 12/12/2007

//################################ END NO MORE ARTICLE SECTION



    oCMenu.makeMenu('topFor_Sale','','&nbsp;主要会议','','',102)    
    
         oCMenu.makeMenu('topFor_Sale_Real_Estate','topFor_Sale','竞争力会议','','', '','', '', '')             
       
         oCMenu.makeMenu('sub8001Real_Estate_For_Sale','topFor_Sale_Real_Estate','会议一','','', '','', '', '','clLevel1', 'clLevel1over')    
         
         oCMenu.makeMenu('sub8001Realtors','topFor_Sale_Real_Estate','会议二','','', '','', '', '','clLevel1', 'clLevel1over')    
         
         //oCMenu.makeMenu('topFor_Sale_Home','topFor_Sale','Home','/For-Sale/Home/Index.asp','', '','', '', '')             
       
         //oCMenu.makeMenu('sub4920Appliances_Building_Products','topFor_Sale_Home','&nbsp;Appliances<br>&nbsp;&amp; &nbsp;Building &nbsp;Products','/For-Sale/Home/Appliances-Building-Products/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub4920Architects_Contractors_Designers','topFor_Sale_Home','&nbsp;Architects &nbsp;Contractors &nbsp;Designers','/For-Sale/Home/Architects-Contractors-Designers/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub4920Home_Furnishings_Decor','topFor_Sale_Home','&nbsp;Home &nbsp;Furnishings<br>&nbsp;&amp; &nbsp;Decor','/For-Sale/Home/Home-Furnishings-Decor/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub4920Home_Theater_Technology','topFor_Sale_Home','&nbsp;Home &nbsp;Theater<br>&nbsp;&amp; &nbsp;Technology','/For-Sale/Home/Home-Theater-Technology/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub4920Outdoor_Living_Gardening','topFor_Sale_Home','&nbsp;Outdoor &nbsp;Living<br>&nbsp;&amp; &nbsp;Gardening','/For-Sale/Home/Outdoor-Living-Gardening/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('topFor_Sale_Travel','topFor_Sale','Travel','/For-Sale/Travel/Index.asp','', '','', '', '')             
       
         //oCMenu.makeMenu('sub4348Tours_Cruises_Activities','topFor_Sale_Travel','&nbsp;Tours, &nbsp;Cruises<br>&nbsp;&amp; &nbsp;Activities','/For-Sale/Travel/Tours-Cruises-Activities/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub4348Villas_Rentals','topFor_Sale_Travel','&nbsp;Villas & Rentals','/For-Sale/Travel/Villas-Rentals/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub4348Resorts_Spas','topFor_Sale_Travel','&nbsp;Resorts & Spas','/For-Sale/Travel/Resorts-Spas/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub4348Air_Travel','topFor_Sale_Travel','&nbsp;Air Travel','/For-Sale/Travel/Air-Travel/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub4348Travel_Agents','topFor_Sale_Travel','&nbsp;Travel Agents','/For-Sale/Travel/Travel-Agents/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         oCMenu.makeMenu('topFor_Sale_Vehicles','topFor_Sale','商务论坛','','', '','', '', '')             
       
         //oCMenu.makeMenu('sub4344Automobiles_Motorcycles_Coaches_RVs','topFor_Sale_Vehicles','&nbsp;Automobiles, &nbsp;Motorcycles, &nbsp;Coaches<br>&nbsp;&amp; &nbsp;RVs','/For-Sale/Vehicles/Automobiles-Motorcycles-Coaches-RVs/Index.asp','', '','55', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub4344Automotive_Products_Services','topFor_Sale_Vehicles','&nbsp;Automotive &nbsp;Products &nbsp;and &nbsp;Services','/For-Sale/Vehicles/Automotive-Products-Services/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub4344Driving_Schools_Driving_Experiences','topFor_Sale_Vehicles','&nbsp;Driving &nbsp;Schools<br>&nbsp;&amp; &nbsp;Driving &nbsp;Experiences','/For-Sale/Vehicles/Driving-Schools-Driving-Experiences/Index.asp','', '','55', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub4344Boats_Watercraft','topFor_Sale_Vehicles','&nbsp;Boats<br>&nbsp;&amp; &nbsp;Watercraft','/For-Sale/Vehicles/Boats-Watercraft/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
        // oCMenu.makeMenu('sub4344Aircraft','topFor_Sale_Vehicles','&nbsp;Aircraft','/For-Sale/Vehicles/Aircraft/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub4344Dealers','topFor_Sale_Vehicles','&nbsp;Dealers','/For-Sale/Vehicles/Dealers/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('topFor_Sale_Luxury_Merchandise','topFor_Sale','Luxury Merchandise','/For-Sale/Luxury-Merchandise/Index.asp','', '','', '', '')             
       
         //oCMenu.makeMenu('sub4352Wine_Spirits','topFor_Sale_Luxury_Merchandise','&nbsp;Wine & Spirits','/For-Sale/Luxury-Merchise/Wine-Spirits/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub4352Watches_Jewelry','topFor_Sale_Luxury_Merchandise','&nbsp;Watches & Jewelry','/For-Sale/Luxury-Merchise/Watches-Jewelry/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub4352Arts_Antiques','topFor_Sale_Luxury_Merchandise','&nbsp;Arts & Antiques','/For-Sale/Luxury-Merchise/Arts-Antiques/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub4352Food_Dining_Tobacco','topFor_Sale_Luxury_Merchandise','&nbsp;Food, Dining, Tobacco','/For-Sale/Luxury-Merchise/Food-Dining-Tobacco/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub4352Apparel_Accessories','topFor_Sale_Luxury_Merchandise','&nbsp;Apparel<br>&nbsp;&amp; &nbsp;Accessories','/For-Sale/Luxury-Merchise/Apparel-Accessories/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub4352Retailers','topFor_Sale_Luxury_Merchandise','&nbsp;Retailers','/For-Sale/Luxury-Merchise/Retailers/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         oCMenu.makeMenu('topFor_Sale_Professional_Services','topFor_Sale','国内会议','','', '','', '', '','clLevel1Small', 'clLevel1Smallover')             
       
         oCMenu.makeMenu('sub9276Other_Services','topFor_Sale_Professional_Services','会议一','','', '','', '', '','clLevel1', 'clLevel1over')    
         
         //oCMenu.makeMenu('sub9276Financial_Legal','topFor_Sale_Professional_Services','&nbsp;Financial & Legal','/For-Sale/Professional-Services/Financial-Legal/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub9276Security','topFor_Sale_Professional_Services','&nbsp;Security','/For-Sale/Professional-Services/Security/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub9276Entertainment_Events','topFor_Sale_Professional_Services','&nbsp;Entertainment<br>&nbsp;&amp; &nbsp;Events','/For-Sale/Professional-Services/Entertainment-Events/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub9276Health_Personal','topFor_Sale_Professional_Services','&nbsp;Health & Personal','/For-Sale/Professional-Services/Health-Personal/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         //oCMenu.makeMenu('sub9276Pet_Services','topFor_Sale_Professional_Services','&nbsp;Pet Services','/For-Sale/Professional-Services/Pet-Services/Index.asp','', '','', '', '','clLevel2', 'clLevel2over')    
         
         oCMenu.makeMenu('topFor_Sale_Clubs_Memberships','topFor_Sale','国际会议','','', '','', '', '','clLevel1Small', 'clLevel1Smallover')             
       
         oCMenu.makeMenu('sub9296Luxury_Automobile_Clubs','topFor_Sale_Clubs_Memberships','中非之旅','http://www.chinaccm.com/zhuanti/ccm/feizhou/','_blank', '','', '', '','clLevel1Small', 'clLevel1Smallover')    
         
         //oCMenu.makeMenu('sub9296Golf_Country_Clubs','topFor_Sale_Clubs_Memberships','&nbsp;Golf<br>&nbsp;&amp; &nbsp;Country &nbsp;Clubs','/For-Sale/Clubs-Memberships/Golf-Country-Clubs/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         //oCMenu.makeMenu('sub9296Hunting_Fishing_Game_Clubs','topFor_Sale_Clubs_Memberships','&nbsp;Hunting, &nbsp;Fishing<br>&nbsp;&amp; &nbsp;Game &nbsp;Clubs','/For-Sale/Clubs-Memberships/Hunting-Fishing-Game-Clubs/Index.asp','', '','35', '', '','clLevel2Small', 'clLevel2Smallover')    
         
         oCMenu.makeMenu('sub9296Private_Residence_Clubs','topFor_Sale_Clubs_Memberships','中澳之旅','','', '','', '', '','clLevel1Small', 'clLevel1Smallover')    
         

oCMenu.makeMenu('topSubscribe','','&nbsp;研究领域','','',102)
oCMenu.makeMenu('subRR_Subscr','topSubscribe','产业经济学','')
//oCMenu.makeMenu('subWorth_Subscr','topSubscribe','Worth','https://www.kable.com/pub/rwth/subservices.asp')
//oCMenu.makeMenu('subHED_Subscr','topSubscribe','Robb Report Home Entertainment','https://www.kable.com/pub/hend/subservices.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subMotor_Subscr','topSubscribe','Robb Report MotorCycling','https://www.kable.com/pub/rmtc/subservices.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subHome_Subscr','topSubscribe','Robb Report Luxury Home','https://www.kable.com/pub/rlxh/subservices.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subVH_Subscr','topSubscribe','Robb Report Vacation Homes','https://www.kable.com/pub/rvch/subservices.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subShowboats_Subscr','topSubscribe','ShowBoats International','https://www.kable.com/pub/shbi/subservices.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 

/* CHANGE JPR "AA" Subscribe May 2006 */
//oCMenu.makeMenu('subAA_Subscr','topSubscribe','Art & Antiques','https://www.kable.com/pub/araq/subServices.asp') 

/* CHANGE Juan "AA" Subscribe March 2007 */
//oCMenu.makeMenu('subSD_Subscr','topSubscribe','San Diego Magazine','https://www.kable.com/pub/sdgm/suball.asp') 

oCMenu.makeMenu('subSRA_Subscr','topSubscribe','区域经济','') 
oCMenu.makeMenu('subGSL_Subscr','topSubscribe','企业管理','') 


oCMenu.makeMenu('topAdvertise','','&nbsp;主要任务','','',102)
oCMenu.makeMenu('subRR_Advert','topAdvertise','国家课题','')
oCMenu.makeMenu('subTRRC_Advert','topAdvertise','政府部门课题','','', '', '', '', '', 'clLevel1Small', 'clLevel1Smallover')    
oCMenu.makeMenu('subWorth_Advert','topAdvertise','企业课题','')
//oCMenu.makeMenu('subHED_Advert','topAdvertise','Robb Report Home Entertainment','http://www.hemagazine.com/About-Us/Media-Kits--Advertising-Specifications/Media-Kit-Download.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subMotor_Advert','topAdvertise','Robb Report MotorCycling','http://www.motorcyclingmag.com/About-Us/Media-Kits/Index.asp ','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subHome_Advert','topAdvertise','Robb Report Luxury Home','http://www.robbreporthome.com/About-Us/Media-Kit.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subVacation_Advert','topAdvertise','Robb Report Vacation Homes','http://www.vacationhomesmag.com/About-Us/Media-Kit.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
oCMenu.makeMenu('subShowboats_Advert','topAdvertise','院校课题','','', '', '', '', '', 'clLevel1Small', 'clLevel1Smallover') 

/* CHANGE JPR "AA" Advertise June 2006 - Launch Day 6/16/06 */
oCMenu.makeMenu('subAA_Advert','topAdvertise','研修班','','', '', '', '', '', 'clLevel1Small', 'clLevel1Smallover') 

    
oCMenu.makeMenu('topPress','','&nbsp;在研项目','','',102)
oCMenu.makeMenu('subRR_Press','topPress','上海四个中心服务全国','')
oCMenu.makeMenu('subWorth_Press','topPress','唐山战略规划','')
//oCMenu.makeMenu('subHED_Press','topPress','Robb Report Home Entertainment','http://www.hemagazine.com/News/Index.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subMotor_Press','topPress','Robb Report MotorCycling','http://www.motorcyclingmag.com/News/Index.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
oCMenu.makeMenu('subHome_Press','topPress','中韩论坛','','', '', '', '', '', 'clLevel1Small', 'clLevel1Smallover') 
oCMenu.makeMenu('subVacation_Press','topPress','中日论坛','','', '', '', '', '', 'clLevel1Small', 'clLevel1Smallover') 
oCMenu.makeMenu('subShowboats_Press','topPress','意中合作课题','','', '', '', '', '', 'clLevel1Small', 'clLevel1Smallover') 


    
oCMenu.makeMenu('topmoney','','&nbsp;企业融资','','',102)
oCMenu.makeMenu('subRR_Press','topmoney','企业贷款咨询服务须知','/news_1.html')
//oCMenu.makeMenu('subWorth_Press','topPress','唐山战略规划','')
//oCMenu.makeMenu('subHED_Press','topPress','Robb Report Home Entertainment','http://www.hemagazine.com/News/Index.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 
//oCMenu.makeMenu('subMotor_Press','topPress','Robb Report MotorCycling','http://www.motorcyclingmag.com/News/Index.asp','', '', '35', '', '', 'clLevel1Small', 'clLevel1Smallover') 

//Leave this line - it constructs the menu
oCMenu.construct()
