CbOS.create.Banner=function(D,o,s,i,b,e,t){
	with(CbOS){
		s='';
		b=IE("<div tabindex=0","<a href=#")+" class=scr"
		e=IE("</div>","</a")
		i=' &nbsp; &nbsp; '
		if(o){
			if(o.help) s=b+'Help EditMode=false onclick="_.cW(top.CbOS.wd.Template.Help,'+o.help+')">Help'+e;
			if(o.settings) s+=(s?i:'')+b+'Settings EditMode=false onclick="_.cW(null,'+o.settings+')">Settings'+e;
			if(o.logout) s+=(s?i:'')+b+'Logout onclick="_.SMR(top,\''+o.logout+'\')">Logout'+e;
			if(o.login) s+=(s?i:'')+b+'Login onclick="top.CbOS.del(top.CbOS.Session,\'sid\');_.SMR(top,\''+o.login+'\')">Log In'+e;
			if(o.signin) s+=(s?i:'')+b+'Signin EditMode=false onclick="_.cW(null,'+o.signin+')">Sign Up'+e;
			if(o.U){
				o.T[1]--
				eval("t=new Date(Date.UTC("+o.T+"))")
				s='<div class=scrUser>User: '+o.U+'<br>'+_.Week[t.getDay()]+", "+_.Month[t.getMonth()][0]+" "+t.getDate()+", "+t.getFullYear()+'<br>'+(t.getHours()*60+t.getMinutes()).TimeFormat()+(o.H?'<br><a href=# onclick="_.cW(null,{Caption:\'History\',URL:\''+o.H+'\'})">History</a>':"")+'</div>'+s;
			}
		}
		D.write('<div class=scrHome></div><div'+_.A("id",t=_.K())+' class=scrBanner>'+s+'</div>')
		_.M(get.Win(D),"onload","var k=_.O('"+t+"',d).getElementsByTagName('DIV');for(var i=0;i<k.length;i++)if(k[i].onclick){k[i].onclick2=k[i].onclick;k[i].onclick=null;_.M(k[i],top.CbOS._.y,'top.CbOS.run.Click(event,this)')}")
	}
}
CbOS.wd.Template.MsgBox.HelpIcon=null;
CbOS.mn={
	Create:function(d,f,s,a,i,o){
		with(CbOS){
			a=CbOS.mn.data;
			o="<div class=mn id=topmenu>";
			for(i=0;i<a.length;i++)	o+="<div fItem="+i+((i==f&&a[i][1].a&&_.D(s))?" sItem="+s:"")+" "+(a[i][1].s?" onclick=top.CbOS.SM.Redirect(w,top.CbOS.mn.data["+i+"][1])":" submenu=1")+" onmouseover=top.CbOS.mn.Folder(this) class=mnFolder"+(i==f)*1+">"+set.HTMLEncode(a[i][0])+"</div>";
			d.write(o+"</div>")
		}
	},
	Out:function(){
		with(CbOS)_.S(_.S(this,_.b),"color");
		this.i=null
	},
	OutItem:function(){
		CbOS._.S([this.firstChild.firstChild,this.parentNode.nextSibling.childNodes[this.getAttribute("r")*2].firstChild.firstChild],"color");
		this.i=null
	},
	Folder:function(o){
		with(CbOS){
			if(!o.CbOSonmouseout){
				if(!o.onclick)
				{
					_.M(o,_.y,mn.Show)
					_.M(get.Win(o),["onresize", "onscroll"],"top.CbOS.mn.Clear(w)", "mnClear")
				}
				_.M(o,"onmouseout",mn.Out)
			}
			set.bgImage(o,1);
			_.Q(mn.SubMenu,{o:o,i:o.i=_.K()})
		}
	},
	Item:function(o){
		with(CbOS){
			if(!o.CbOSonmouseout)
				_.M(o,"onmouseout",mn.OutItem)
			_.S([o.firstChild.firstChild,o.parentNode.nextSibling.childNodes[o.getAttribute("r")*2].firstChild.firstChild],"color","#f9de48")
		}
	},
	SubMenu:function(a,b){
		if(a.i!=a.o.i) return true
		if(3==(b.k=(b.k||0)+1)){
			CbOS.mn.Show(null,a.o)
			return true
		}
	},
	Show:function(e,o,k,l,W,t,q,i,p,s,r,u,S,a,L,v){
		o=o||this;
		with(CbOS){
			if(set.Lock(o)){
				if(get.Win(o).CbOS.mnWin&&get.Win(o).CbOS.mnWin!=o.CbOSmn)
					mn.Clear(o);
				if(o.getAttribute("submenu")){
					if(!o.CbOSmn){
						p=CbOS.mn.data[o.getAttribute("fItem")*1]
						o.CbOSmn=k=_.E("DIV",get.Doc(o).body,"ycSMenu")
						s=r=S=""
						v="<div class=ycSMenuLine1></div>"
						V="<div class=ycSMenuLine0></div>"
						for(i=1;i<p.length;i++){
							u=((o.getAttribute("sItem")||0)*1==i)*1;
							a=set.HTMLEncode(p[i][0])
							L=i==p.length-1?"Last":"";
							S+=(i>1?V:"")+
								"<div class=ycBMenu0Item"+L+u+">"+
								"<div class=ycBMenu1Item"+L+u+"><div class=ycBMenu2Item"+L+u+">"+
								a+
								"</div></div></div>"
							s+=(i>1?v:"")+
								"<div r="+(i-1)+" onclick='top.CbOS.SM.Redirect(w,top.CbOS.mn.data["+o.getAttribute("fItem")+"]["+i+"][1])' onmouseover=top.CbOS.mn.Item(this)  class=ycSMenu0Item"+L+u+">"+
								"<div class=ycSMenu1Item"+L+u+"><div class=ycSMenu2Item"+L+u+">"+
								a+
								"</div></div></div>"
						}
						k.innerHTML="<div class=ycSMenuTop>"+s+"</div><div class=ycSMenuBottom>"+S+"</div>"
						if(is.ie5)
							a=_.W(k.firstChild)+7
						else{
							a=0
							for(v=k.firstChild.firstChild;v;v=v.nextSibling)
								if(v.firstChild)
									a=Math.max(a,v.firstChild.firstChild.scrollWidth+14)
						}
						_.S([_.S(k,"visibility","hidden"),k.firstChild,k.lastChild],_.w,Math.max(a,135))
					}
					if(_.G(k=get.Win(o).CbOS.mnWin=o.CbOSmn,"visibility")=="hidden"){
						l=get.Left(o)+get.sLeft(o)*2;
						t=get.Top(o)-2+get.sTop(o)*2
						q=_.H(o)
						_.S(_.S(k,"left",o.nextSibling?l:(l-_.G(k,_.w,1)+_.G(o,_.w,1))),"top",t+q+3)
						k.style.visibility="visible";
					}
				}
			}
			o.L--
		}
	},
	Clear:function(o){
		with(CbOS)
			if((o=get.Win(o).CbOS)&&o.mnWin){
				_.S(_.S(o.mnWin,"visibility","hidden"),["top","left"],-999)
				o.mnWin=null
			}
	},
	data:[
		[
			"Markets",
			["Pharmaceutical","modules/browse/pharmaceutical.aspx"],
			["Corporate Healthcare","modules/browse/corporate.aspx"],
			["Hospitals and Healthcare Systems","modules/browse/hospitals.aspx"],
			["Caregiver","modules/browse/caregiver.aspx"]
		],
		[
			"Solutions",
			["Products","modules/browse/products.aspx"],
			["Services","modules/browse/services.aspx"],
			["Pricing","modules/browse/pricing.aspx"]
		],
		[
			"Partners",
			["Overview","modules/browse/overview.aspx"],
			["Affiliates","modules/browse/affiliates.aspx"],
			["Value Add Reseller","modules/browse/valuereseller.aspx"],
			["Associations","modules/browse/associations.aspx"]
		],
		[
			"Company",
			["About Us","modules/browse/aboutus.aspx"],
			["Management Team","modules/browse/management.aspx"],
			["Advisors","modules/browse/advisors.aspx"],
			["Press Releases","modules/browse/PressReleases.aspx"]
		],
		["Support",
			["User Documentation","modules/browse/documentation.aspx"],
			["Getting Started Tutorial","modules/browse/tutorial.aspx"],
			["Mar'age Product Presentation","modules/browse/ProductPresentation.aspx"]
		],
		["Contact Us","modules/browse/contactus.aspx"]
	]
}
openWin=function(name){
	var s=screen;
	with(CbOS.get)
		window.open(Base(Root(d)+"swf/view.htm?s="+name),"swf","top=0,left=0,width="+(s.width<1024?s.width:1024)+",height="+(s.height<768?s.height:768)+",resizable=yes, menubar=no, status=no, toolbar=no")
};
CbOS.btn.Over=function(o){
	with(CbOS)if(_.I(o)&&!o.BgImg){
		if(o.className=="tabBtn1")
			set.BgImg([o.firstChild],[get.Root(o)+"images/"+get.Name(o)+"/sel1.gif"],[o.firstChild])
		else
			set.BgImg([o,_.C(o,"UL"),_.C(o,"LI"),_.C(o,"DIV")],["over0","over1","over2","up0","up1","up2"].Prefix(get.Root(o)+"images/"+get.Name(o)+"/").Suffix(".gif"),[o,_.C(o,"UL"),_.C(o,"LI")])
	}
};
CbOS.btn.Down=function(o){
	with(CbOS)if(_.I(o)){
		set.DelBgImg(o);
		if(o.className=="tabBtn1")
			set.BgImg([o.firstChild],[get.Root(o)+"images/"+get.Name(o)+"/sel2.gif"],[o.firstChild])
		else
			set.BgImg([o,_.C(o,"UL"),_.C(o,"LI"),_.S(_.C(o,"DIV"),"color",_.G(o,_.k[0]))],["down0","down1","down2","up0","up1","up2"].Prefix(get.Root(o)+"images/"+get.Name(o)+"/").Suffix(".gif"),[o,_.C(o,"UL"),_.C(o,"LI")]);
	}
};
CbOS.btn.Blur=function(o,p){
	with(CbOS)if(_.I(o)&&o.className!="tabBtn1"){
		_.S(_.S(o=_.C(o,"DIV"),"border-width",0),"padding",""+(o.pb||(o.pt=_.G(o,"padding-top",1)))+"px "+(o.pr||(o.pr=_.G(o,"padding-right",1)))+"px "+(o.pb||(o.pb=_.G(o,"padding-top",1)))+"px "+(o.pl||(o.pl=_.G(o,"padding-left",1)))+"px")
		if(!is.ie&&_.G(o,"background-image")!="none"&&is.PX(p=_.G(o,"background-position-x")))
			_.S(o,"background-position-x",""+(o.ppx||(o.ppx=to.Int(p)))+"px")
	}
};
CbOS.btn.Focus=function(o,p){
	with(CbOS)if(_.I(o)&&o.className!="tabBtn1"){
		_.S(_.S(o=_.C(o,"DIV"),"border-width",1),"padding",""+((o.pt||(o.pt=_.G(o,"padding-top",1)))-1)+"px "+((o.pr||(o.pr=_.G(o,"padding-right",1)))-1)+"px "+((o.pb||(o.pb=_.G(o,"padding-top",1)))-1)+"px "+((o.pl||(o.pl=_.G(o,"padding-left",1)))-1)+"px")
		if(!is.ie&&_.G(o,"background-image")!="none"&&is.PX(p=_.G(o,"background-position-x")))
			_.S(o,"background-position-x",""+((o.ppx||(o.ppx=to.Int(p)))-1)+"px")
	}
};
CbOS.btn.Img=["btn/ds","btn/over","btn/down","btn/up","tabbtn/sel"]
CbOS.dmc.Search=function(e,o){
	if(o.value.Trim()&&e.keyCode==13)
		CbOS.SM.Submit(o.parentNode.getElementsByTagName('a')[0]);
	else
		CbOS.set.CancelEnter(e)
};
CbOS.get.Name=function(o){return o.className.substring(0,o.className.length-1)}
CbOS.set.parentBGImg=function(o){with(CbOS) set.BgImg([o],[1,0].Prefix(get.bgImage(o.parentNode,1)).Suffix(".jpg"),[o.parentNode])};