/******************************************
CM_ADD-IN - hideselectboxes (last updated: 01/29/02)
IE5+ and NS6+ only - ignores the other browsers

Because of the selectbox bug in the browsers that makes 
selectboxes have the highest z-index whatever you do 
this script will check for selectboxes that interfear with
your menu items and then hide them. 

Just add this code to the coolmenus js file
or link the cm_addins.js file to your page as well.
*****************************************/
if(bw.dom&&!bw.op5&&!bw.op6){
  makeCM.prototype.sel=0
  makeCM.prototype.onshow+=";this.hideselectboxes(pm,pm.subx,pm.suby,maxw,maxh,pm.lev)"
  makeCM.prototype.hideselectboxes=function(pm,x,y,w,h,l){
    var selx,sely,selw,selh,i
    if(!this.sel){
      this.sel=document.getElementsByTagName("SELECT")
		  this.sel.level=0
    }
    var sel=this.sel
    for(i=0;i<sel.length;i++){
			selx=0; sely=0; var selp;
			if(sel[i].offsetParent){selp=sel[i]; while(selp.offsetParent){selp=selp.offsetParent; selx+=selp.offsetLeft; sely+=selp.offsetTop;}}
			selx+=sel[i].offsetLeft; sely+=sel[i].offsetTop
			selw=sel[i].offsetWidth; selh=sel[i].offsetHeight
			if(selx+selw>x && selx<x+w && sely+selh>y && sely<y+h){
				if(sel[i].style.visibility!="hidden"){sel[i].level=l; sel[i].style.visibility="hidden"; if(pm){ if(!pm.mout) pm.mout=""; pm.mout+=this.name+".sel["+i+"].style.visibility='visible';"}}
      }else if(l<=sel[i].level && !(pm&&l==0)) sel[i].style.visibility="visible"
    }
  }
}

//Menu object creation
oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

oCMenu.frames = 1

//Menu properties   
oCMenu.pxBetween=-14		//changed from 5
oCMenu.fromLeft=311 //changed from "0"
oCMenu.fromTop=37   //changed from "0"
oCMenu.rows=1 
oCMenu.menuPlacement=0 //changed from "center"
                                                             
oCMenu.offlineRoot="" 
oCMenu.onlineRoot="" 
oCMenu.resizeCheck=1 
oCMenu.wait=1000 
oCMenu.fillImg="images/cm_fill.gif"	//controls the border under netscape
oCMenu.zIndex=1000		//changed from 0	

//Background bar properties
oCMenu.useBar=1		//changed from 1 where it has a bar
//oCMenu.barWidth=654    //changed from"100%"
oCMenu.barHeight="menu" 	
oCMenu.barClass="clBar"
oCMenu.barX=100      //changed from 0
oCMenu.barY=65
oCMenu.barBorderX=0
oCMenu.barBorderY=0
oCMenu.barBorderClass=""

//Level properties - ALL properties have to be specified in level 0
oCMenu.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu.level[0].width=80	//controls the top level menu width
oCMenu.level[0].height=18 
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=-2
oCMenu.level[0].offsetY=0
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"

//topnavBar base color .clLevel0 
//topnavBar over color .clLevel0over
//bkgdcolor has been deleted from stylecss
//.clLevel0 {
//	COLOR: black; BACKGROUND-COLOR: #dadada; layer-background-color: #dadada
//}

//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+35
oCMenu.level[1].height=18
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=-10		//changed from -(oCMenu.level[0].width-2)/2+20
oCMenu.level[1].offsetY=0
oCMenu.level[1].borderClass="clLevel1border"
oCMenu.level[1].arrow="/images/arrow.gif"
oCMenu.level[1].arrowWidth="5"
oCMenu.level[1].arrowHeight="9"



//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=150
oCMenu.level[2].height=18
oCMenu.level[2].offsetX=-10	//changed from 0
oCMenu.level[2].offsetY=0
oCMenu.level[2].regClass="clLevel2"
oCMenu.level[2].overClass="clLevel2over"
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) 
*************************************/

//Company
oCMenu.makeMenu('top1','','&nbsp;Company&nbsp;&nbsp;|','/company/company.html')
	oCMenu.makeMenu('sub10','top1','&nbsp;About Us','/company/company.html')
	//oCMenu.makeMenu('sub12','top1','&nbsp;News & Events','#')
	//oCMenu.makeMenu('sub13','top1','&nbsp;Partners','#')
	oCMenu.makeMenu('sub14','top1','&nbsp;Careers','/company/careers.html')
	oCMenu.makeMenu('sub15','top1','&nbsp;Contact Us','/company/contact.html')
	//oCMenu.makeMenu('sub15','top1','&nbsp;Client Login',clientin)

//Solutions
oCMenu.makeMenu('top0','','&nbsp;Solutions&nbsp;&nbsp;|','/solutions/solutions.html','')
  oCMenu.makeMenu('sub00','top0','&nbsp;CRM','/solutions/crm/crm.html')
	oCMenu.makeMenu('sub010','sub00','Customer Service','/solutions/crm/customer.html')
	oCMenu.makeMenu('sub011','sub00','Sales Force Automation','/solutions/crm/salesforce.html')
	oCMenu.makeMenu('sub012','sub00','Marketing Automation','/solutions/crm/marketing.html')
	oCMenu.makeMenu('sub013','sub00','Products','/solutions/crm/products.html')

	//oCMenu.makeMenu('sub013','sub00','Microsoft CRM','/solutions/crm/MSCRM/overview.html')
	//oCMenu.makeMenu('sub064','sub00','Wireless','/solutions/wireless.html') 
  oCMenu.makeMenu('sub01','top0','&nbsp;eBusiness','/solutions/ebusiness/ebusiness.html')
	//oCMenu.makeMenu('sub040','sub01','B2C Framework','/solutions/ebusiness/b2c.html')
	//oCMenu.makeMenu('sub041','sub01','B2B Framework','/solutions/ebusiness/b2b.html')
	oCMenu.makeMenu('sub041','sub01','eCommerce','/solutions/ebusiness/ecommerce.html')
	oCMenu.makeMenu('sub042','sub01','Portal Solutions','/solutions/ebusiness/portal/portal.html')
	oCMenu.makeMenu('sub043','sub01','Database Mgmt.','/solutions/ebusiness/database_dev.html')

	oCMenu.makeMenu('sub044','sub01','mCommerce','/solutions/ebusiness/mcommerce/mcommerce.html')
		oCMenu.makeMenu('sub0430','sub044','WAP/WML','/solutions/ebusiness/mcommerce/wap.html')
		oCMenu.makeMenu('sub0431','sub044','Mobile Application','/solutions/ebusiness/mcommerce/mobile_dev.html')
		oCMenu.makeMenu('sub0432','sub044','Integration','/solutions/ebusiness/mcommerce/integration.html')
		oCMenu.makeMenu('sub0433','sub044','Specification','/solutions/ebusiness/mcommerce/spec.html')
	oCMenu.makeMenu('sub045','sub01','Intranet/Network','/solutions/ebusiness/network/network.html')
	
	
  oCMenu.makeMenu('sub03','top0','&nbsp;Statistical Analytics','/solutions/stat_analytics/stat_analytics.html')

  oCMenu.makeMenu('sub06','top0','&nbsp;Web Management','/solutions/wsm/wsm.html')
	oCMenu.makeMenu('sub080','sub06','Website Design','/solutions/wsm/web_design.html')
	oCMenu.makeMenu('sub081','sub06','Website Redesign','/solutions/wsm/web_redesign.html')
	oCMenu.makeMenu('sub082','sub06','Website Enabling','/solutions/wsm/web_enable.html')
	oCMenu.makeMenu('sub083','sub06','Website Auditing','/solutions/wsm/web_audit.html')
	oCMenu.makeMenu('sub084','sub06','Website Maintenance','/solutions/wsm/web_maintenance.html')
	oCMenu.makeMenu('sub085','sub06','Search Engine Opt.','/solutions/wsm/search_engine.html')
  oCMenu.makeMenu('sub07','top0','&nbsp;Web Hosting','/hosting/host.htm')




//Support
oCMenu.makeMenu('top4','','&nbsp;Support&nbsp;&nbsp;&nbsp;|','#')
	oCMenu.makeMenu('sub40','top4','&nbsp;Technology Support','/support/tech_support.html')
	oCMenu.makeMenu('sub41','top4','&nbsp;Online Support','/support/support.html')
//	oCMenu.makeMenu('sub42','top4','&nbsp;Info','/reseller/reseller_info.html')

  
//Services
oCMenu.makeMenu('top3','','Applications&nbsp;&nbsp;|','/applications/applications.html')
	//oCMenu.makeMenu('sub30','top3','&nbsp;Applications','/applications/applications.html')
//	oCMenu.makeMenu('sub30','top3','&nbsp;Stat Modelling','/applications/crm.html')
		//oCMenu.makeMenu('sub031','sub30','CRM','/applications/crm.html')
		//oCMenu.makeMenu('sub032','sub30','Simulation','/applications/simulation.html')
		//oCMenu.makeMenu('sub033','sub30','Business Analytics','/applications/business_analytics.html')
//	oCMenu.makeMenu('sub31','top3','&nbsp;Business Analytics','/applications/business_analytics.html')
//	oCMenu.makeMenu('sub32','top3','&nbsp;Statistical Consulting','/applications/stat_consult.html')
//	oCMenu.makeMenu('sub33','top3','&nbsp;Simulation','/applications/simulation.html')
	//oCMenu.makeMenu('sub34','top3','&nbsp;Maintenance & Support','/applications/maintenance.html')



//Resources
oCMenu.makeMenu('top6','','&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resources','/resources/resources.html')
//	oCMenu.makeMenu('sub60','top6','&nbsp;Statistical Modeling','#')
//		oCMenu.makeMenu('sub061','sub60','Destination Modeling','/resources/papers/10109088.pdf')
//		oCMenu.makeMenu('sub062','sub60','Linear Modeling','/resources/papers/IJCNN.pdf')
//	oCMenu.makeMenu('sub61','top6','&nbsp;Presentations','#')
//		oCMenu.makeMenu('sub063','sub61','Statistical Modeling','/resources/papers/LDModel.ppt')
//	oCMenu.makeMenu('sub62','top6','&nbsp;White Papers','#')
		//oCMenu.makeMenu('sub064','sub62','CRM','#')
//			oCMenu.makeMenu('sub064','sub62','Getting Start with CRM','#')
//			oCMenu.makeMenu('sub065','sub62','Customer Centric Strategies','/resources/papers/CustomerCentric.pdf')
//			oCMenu.makeMenu('sub066','sub62','Customer Service - Help Desk','/resources/papers/HelpDesk.pdf')
	//oCMenu.makeMenu('sub63','top6','&nbsp;Links','#')




//Contact Us

var clientin = "https://manage.opensrs.net";  //javascript:popup('https://manage.opensrs.net','blank','640','440')

//Leave this line - it constructs the menu
oCMenu.construct()		

