//New Window Function - special thanks to Dalai from the CM4 Forum!
function NewWindow(mypage){
  mywin = window.open(mypage,"v_articles",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=550,height=350,left=30,top=100');
  if(mywin.window.focus){mywin.window.focus();}
}
function NewWindowPDF(mypage){
  mywin = window.open(mypage,"v_pdf",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=440,height=580,left=30,top=100');
  if(mywin.window.focus){mywin.window.focus();}
}
function NewWindowWide(mypage){
  mywin = window.open(mypage,"v_ppt",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=720,height=580,left=30,top=100');
  if(mywin.window.focus){mywin.window.focus();}
}

/*****************************************************************************
 Copyright (c) 2001 Thomas Brattli (www.bratta.com)
 eXperience DHTML coolMenus - Get it at www.bratta.com Version 4
 This script can be used freely as long as all copyright messages are intact. 
******************************************************************************/
oCMenu=new makeCM("oCMenu")

oCMenu.pxBetween=0
oCMenu.fromLeft=0
if (bw.ns4) {
 oCMenu.fromTop=134
} else 
if (bw.ns6) {
 oCMenu.fromTop=129
} else 
if (bw.ie6) {
 oCMenu.fromTop=135
} else {
 oCMenu.fromTop=129
}
oCMenu.rows=1 
oCMenu.menuPlacement="center"
oCMenu.offlineRoot="" 
oCMenu.onlineRoot=""
oCMenu.resizeCheck=1
oCMenu.wait=300
oCMenu.fillImg="images/cm_fill.gif"
oCMenu.zIndex=0

//Background bar properties
oCMenu.useBar=1
oCMenu.barWidth="100%"
oCMenu.barHeight="menu"
oCMenu.barClass="clBar"
oCMenu.barX=0 
oCMenu.barY=oCMenu.fromTop-2
oCMenu.barBorderX=0
oCMenu.barBorderY=2
oCMenu.barBorderClass="clBarborder"

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
if (bw.op5 || bw.op6) {
  oCMenu.level[0].width=130
} else if (bw.ie5 || bw.ie6) {
  oCMenu.level[0].width=cmpage.x2/6-6
} else {
  oCMenu.level[0].width=cmpage.x2/6-0
}
//if (bw.ns4) {
//oCMenu.level[0].height=35
//} else {
oCMenu.level[0].height=30
//}
if (bw.op6 || bw.op5) {
oCMenu.level[0].regClass="clLevel0_op6"
oCMenu.level[0].overClass="clLevel0over_op6"
}
if (bw.ns4) {
oCMenu.level[0].regClass="clLevel0N"
oCMenu.level[0].overClass="clLevel0overN"
}
else {
oCMenu.level[0].regClass="clLevel0"
oCMenu.level[0].overClass="clLevel0over"
}
oCMenu.level[0].borderX=1
oCMenu.level[0].borderY=1
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"
oCMenu.level[0].clip=1
oCMenu.level[0].clippx=27
oCMenu.level[0].cliptim=23
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Alpha(opacity=50)"
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" 

//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+15
oCMenu.level[1].height=25
oCMenu.level[1].regClass="clLevel1"
oCMenu.level[1].overClass="clLevel1over"
oCMenu.level[1].borderX=1
oCMenu.level[1].borderY=1
oCMenu.level[1].align="right" 
oCMenu.level[1].offsetX=0
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].arrow="images/menu_arrow.gif"
oCMenu.level[1].arrowWidth=7
oCMenu.level[1].arrowHeight=7

//EXAMPLE SUB LEVEL[2] PROPERTIES - different from above
oCMenu.level[2]=new cm_makeLevel()
oCMenu.level[2].width=oCMenu.level[1].width+20
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
oCMenu.level[2].borderClass="clLevel2border"

//oM.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass, align, rows, nolink, onclick, onmouseover, onmouseout) 

oCMenu.makeMenu('top0','','DI HOME','http://www.dicorp.com')

oCMenu.makeMenu('top1','','About Us','About_MenuList_Trib.html')
  oCMenu.makeMenu('sub10','top1','Our Mission','About_Mission_Trib.html')
  oCMenu.makeMenu('sub11','top1','Our Experience','About_Experience_Trib.html')
  oCMenu.makeMenu('sub12','top1','Our Clients','About_Clients_Trib.html')

oCMenu.makeMenu('top2','','Products','Products_MenuList_Trib.html')
  oCMenu.makeMenu('sub20','top2','CaseMaster','Products_CM.html')
    //oCMenu.makeMenu('sub200','sub20','Collector','Products_CollectorTrauma.html')
	  //oCMenu.makeMenu('sub2000','sub200','Collector for PDA','Products_PDA.html')
      //oCMenu.makeMenu('sub2001','sub200','Collector for Web','Products_WebApps.html')
	  //oCMenu.makeMenu('sub2002','sub200','CTDP','Products_CTDP.html')
	 // oCMenu.makeMenu('sub2000','sub200','Trauma Registry','Products_Trauma.html')
     //oCMenu.makeMenu('sub2001','sub200','Outcomes Registry','Products_Outcomes.html')
     // oCMenu.makeMenu('sub2002','sub200','PDA Applications','Products_PDA.html')
      //oCMenu.makeMenu('sub2003','sub200','Tri-Code&reg;','Products_MedCoding.html')
      //oCMenu.makeMenu('sub2004','sub200','Product Specs','Products_CollectorSpecs.html')
    //oCMenu.makeMenu('sub201','sub20','NTRACS','Products_NTRACS.html')
    //oCMenu.makeMenu('sub202','sub20','NRCPR Database','Products_CPRReg.html')
  oCMenu.makeMenu('sub21','top2','CM Complaint Desk','Products_Complaint.html')
    //oCMenu.makeMenu('sub210','sub21','Medical Research','Sol_MedResearch.html')
    //oCMenu.makeMenu('sub211','sub21','National Medical Databases','Sol_NationalDBs.html')
    //oCMenu.makeMenu('sub212','sub21','Medical Coding Systems','Sol_MedCoding.html')
   // oCMenu.makeMenu('sub213','sub21','Custom Registries','Products_CustomReg.html')
 oCMenu.makeMenu('sub22','top2','TMS','Products_TMS.html')
  //oCMenu.makeMenu('sub23','top2','Medical Coding','Products_MedCoding.html')
  //oCMenu.makeMenu('sub24','top2','NRCPR','Products_NRCPR.html')
  
//oCMenu.makeMenu('top3','','Solutions','Solutions_MenuList.html')
  //oCMenu.makeMenu('sub30','top3','Custom Registry','Solutions_Custom.html')
  //oCMenu.makeMenu('sub31','top3','Data Repository','Solutions_Repositories.html')
  //oCMenu.makeMenu('sub32','top3','Interface','Solutions_Interfaces.html')
  //oCMenu.makeMenu('sub33','top3','Medical Coding','Solutions_MedCoding.html')
  //oCMenu.makeMenu('sub34','top3','Medical Research','Solutions_MedResearch.html')

//oCMenu.makeMenu('top4','','News &amp; Events','News_MenuList.html')
   //oCMenu.makeMenu('sub41','top4','Headlines','News_Recent.html')
  //oCMenu.makeMenu('sub42','top4','Conferences', ' News_Conferences.html')
    //oCMenu.makeMenu('sub420','sub42','Collector Conference','News_CUCInfo.html')
    //oCMenu.makeMenu('sub421','sub42','Conference Agenda','News_CUCAgenda.html')
    //oCMenu.makeMenu('sub422','sub42','Registration Form','News_CUCRegForm.html')
   // oCMenu.makeMenu('sub423','sub42','Past Conference Highlights','News_CUCHighlights.html')
   // oCMenu.makeMenu('sub424','sub42','Photo Gallery','photos/default.asp')
  //oCMenu.makeMenu('sub43','top4','Newsletters','News_Newsletters.html')

oCMenu.makeMenu('top5','','Client Services','SupportServices_MenuListTrib.html')
  //oCMenu.makeMenu('sub50','top5','Data/Programming','Support_DataProg_Services.html')
    //oCMenu.makeMenu('sub500','sub50','Options','Support_Software.html')
    //oCMenu.makeMenu('sub502','sub50','Downloads','Support_Download.html')
  oCMenu.makeMenu('sub51','top5',' Training','Support_Technical_Trib.html#TribTraining')
       //oCMenu.makeMenu('sub510','sub51','Options','Support_Training.html')
       //oCMenu.makeMenu('sub511','sub51','Web Schedule','Support_TrainingSchedule.html')
       //oCMenu.makeMenu('sub512','sub51','Register','Support_TrainingForm.html')
   oCMenu.makeMenu('sub52','top5',' Technical Support ','Support_Technical_Trib.html#TribTechSupport')
      //oCMenu.makeMenu('sub53','top5','Request Support','Support_ReqForm_Trib.html')   
      //oCMenu.makeMenu('sub54','top5','Client Login','Clients_Welcome.asp')

oCMenu.makeMenu('top6','','Contact Us','Contact_MenuList_Trib.html')
  oCMenu.makeMenu('sub61','top6','Admin. Offices','Contact_Admin_Trib.html')
  oCMenu.makeMenu('sub62','top6','Driving Directions','Contact_Directions_Trib.html')
  oCMenu.makeMenu('sub63','top6','Job Opportunities','Contact_HR_Trib.html')
  oCMenu.makeMenu('sub64','top6','Request More Info','Contact_RequestForm_Trib.html')
  oCMenu.makeMenu('sub65','top6','Request Support','Support_ReqForm_Trib.html')
  //oCMenu.makeMenu('sub65','top6','Site Map','Sitemap.html')
  
oCMenu.makeMenu('top7','','Site Map','SiteMap_Trib.html')

oCMenu.construct();