document.write("<DIV id='OutlookLikeBar' style='position:absolute;top:"+OB_Top+"; left:"+OB_Left+"; width:"+OB_Width+"; height:"+OB_Height+"; background-color:"+OB_BackgroundColor+"; border:"+OB_BorderWidth+" "+OB_BorderStyle+" "+OB_BorderColor+"; z-index:1;visibility:hidden;clip:rect(0,"+OB_Width+","+OB_Height+",0)'>");
document.write("<img alt='Scroll Down'; onMouseUp='OutlookLikeBar.ArrowSelected(this)' onMouseDown='OutlookLikeBar.ArrowClicked(this)' onMouseOver='OutlookLikeBar.OverArrow(this)' onMouseOut='OutlookLikeBar.OutArrow(this)' id='OB_SlideUp' height='"+OB_ArrowHeight+"' width='"+OB_ArrowWidth+"' src='"+OB_UpArrow+"' style='position:absolute; top:0; left:0; cursor:hand; visibility:hidden; z-index:500'>");
document.write("<img alt='Scroll Up'; onMouseUp='OutlookLikeBar.ArrowSelected(this)' onMouseDown='OutlookLikeBar.ArrowClicked(this)' onMouseOver='OutlookLikeBar.OverArrow(this)' onMouseOut='OutlookLikeBar.OutArrow(this)' id='OB_SlideDown' height='"+OB_ArrowHeight+"' width='"+OB_ArrowWidth+"' src='"+OB_DownArrow+"' style='position:absolute; top:0; left:0; cursor:hand; visibility:hidden; z-index:500'>");
j=1;
while(eval("window.OutBarFolder"+j))
j++;
i=j-1;
while(i>0){
	Folder=eval("OutBarFolder"+i)
	window.status="Outlook-Like Bar is making folder '"+Folder[0]+"'";
	if(i==1){
	document.write("<INPUT class=ff1 position='UP' id='OB_Button1' onDblClick='OutlookLikeBar.FolderClicked("+i+"); this.blur()' onClick='OutlookLikeBar.FolderClicked("+i+"); this.blur()' TYPE='button' value='"+Folder[0]+"' style='position:absolute; top:0; left:0;width:100; height:"+OB_ButtonHeight+"; font-family:"+OB_ButtonFontFamily+"; font-size:"+OB_ButtonFontSize+"pt;cursor:hand; color:"+OB_ButtonFontColor+"; z-index:100'>");
	MakeItems(Folder,i,OB_ButtonHeight);		
	}else{
	document.write("<INPUT class=ff1 position='DOWN' id='OB_Button"+i+"' onDblClick='OutlookLikeBar.FolderClicked("+i+"); this.blur()' onClick='OutlookLikeBar.FolderClicked("+i+"); this.blur()' TYPE='button' value='"+Folder[0]+"' style='position:absolute; top:"+(OB_Height-(j-i)*OB_ButtonHeight-OB_BorderWidth*2)+"; left:0;width:100; height:"+OB_ButtonHeight+"; font-family:"+OB_ButtonFontFamily+"; font-size:"+OB_ButtonFontSize+"pt;cursor:hand;color:"+OB_ButtonFontColor+"; z-index:100'>");
	MakeItems(Folder,i,(OB_Height-(j-i)*OB_ButtonHeight-OB_BorderWidth*2)+OB_ButtonHeight);		
	}		
	i--;
}	
document.write("</DIV>");

var OutlookLikeBar=new OutBar(OB_Width , OB_Height,j-1 , OB_ButtonHeight , OB_BorderWidth , OB_SlideSpeed , OB_IconsHeight+OB_LabelFontSize+OB_LabelMargin+OB_ItemsSpacing,OB_ArrowSlideSpeed);
window.status="";
document.all["OutlookLikeBar"].style.visibility="visible";
