/*Browsercheck object - we have to move this into the page to prevent an error in NS4*/
function cm_bwcheck(){
	//In theory we should use object detection, but this script needs work-arounds for almost every browser...
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent.toLowerCase()
	this.dom=document.getElementById?1:0
	this.ns4=(!this.dom && document.layers)?1:0;
	this.op=window.opera 
	this.moz=(this.agent.indexOf("gecko")>-1 || window.sidebar)
	this.ie=this.agent.indexOf("msie")>-1 && !this.op
	if(this.op){
		this.op5=(this.agent.indexOf("opera 5")>-1 || this.agent.indexOf("opera/5")>-1)
		this.op6=(this.agent.indexOf("opera 6")>-1 || this.agent.indexOf("opera/6")>-1)
		this.op7=this.dom&&!this.op5&&!this.op6 //So all higher opera versions will use it
	}else if(this.moz) this.ns6 = 1
	else if(this.ie){
		this.ie4 = !this.dom && document.all
  	this.ie5 = (this.agent.indexOf("msie 5")>-1)
  	this.ie55 = (this.ie5 && this.agent.indexOf("msie 5.5")>-1)
  	this.ie6 = this.dom && !this.ie4 && !this.ie5 && ! this.ie55
	}
	this.mac=(this.agent.indexOf("mac")>-1)
	this.bw=(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.op5 || this.op6 || this.op7)
  this.usedom= this.ns6||this.op7//Use dom creation
  this.reuse = this.ie||this.op7||this.usedom //Reuse layers
  this.px=this.dom&&!this.op5?"px":""
	return this
}
var bw=new cm_bwcheck()	



/******************* MENU NUMBER 2 **********************************/



/*** 
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
oCMenu2=new makeCM("oCMenu2") //Making the menu object. Argument: menuname

//Netscape 4 - bug fix - 
//maybe -stupid NS4 - objects are not handled correctly when
//the object creator is in a linked file
if(bw.ns4) if(!oCMenu["makeMenu"] || !bw["ns4"]) self.location.reload()

/**Frame properties
oCMenu.frames = 1**/

//Menu properties   
oCMenu2.pxBetween=10
oCMenu2.fromLeft=20 
oCMenu2.fromTop=0   
oCMenu2.rows=1 
oCMenu2.menuPlacement="center"
                                                             
oCMenu2.offlineRoot="file:///H|/Eigene Webs/abvs/" 
oCMenu2.onlineRoot="/" 
oCMenu2.resizeCheck=1 
oCMenu2.wait=1000 
oCMenu2.fillImg="cm_fill.gif"
oCMenu2.zIndex=0

//Background bar properties
oCMenu2.useBar=1
oCMenu2.barWidth="100%"
oCMenu2.barHeight="menu" 
oCMenu2.barClass="cl2Bar"
oCMenu2.barX=0 
oCMenu2.barY=0
oCMenu2.barBorderX=0
oCMenu2.barBorderY=0
oCMenu2.barBorderClass=""

//Level properties - ALL properties have to be spesified in level 0
oCMenu2.level[0]=new cm_makeLevel() //Add this for each new level
oCMenu2.level[0].width=110
oCMenu2.level[0].height=20
oCMenu2.level[0].regClass="cl2Level0"
oCMenu2.level[0].overClass="cl2Level0over"
oCMenu2.level[0].borderX=1
oCMenu2.level[0].borderY=1
oCMenu2.level[0].borderClass="cl2Level0border"
oCMenu2.level[0].offsetX=0
oCMenu2.level[0].offsetY=0
oCMenu2.level[0].rows=0
oCMenu2.level[0].arrow=0
oCMenu2.level[0].arrowWidth=0
oCMenu2.level[0].arrowHeight=0
oCMenu2.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
oCMenu2.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number)
oCMenu2.level[1].width=oCMenu2.level[0].width+50
oCMenu2.level[1].height=20
oCMenu2.level[1].regClass="cl2Level1"
oCMenu2.level[1].overClass="cl2Level1over"
oCMenu2.level[1].borderX=1
oCMenu2.level[1].borderY=1
oCMenu2.level[1].arrow="arrow.gif"
oCMenu2.level[1].arrowWidth=10
oCMenu2.level[1].arrowHeight=10
oCMenu2.level[1].align="right" 
oCMenu2.level[1].offsetX=-(oCMenu2.level[0].width-2)/2+53
oCMenu2.level[1].offsetY=0
oCMenu2.level[1].borderClass="cl2Level1border"





/******************************************
Menu item creation:
myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) 
*************************************/
oCMenu2.makeMenu('top0','','&nbsp;Home','sachsenmenu1.htm','')
 /**oCMenu2.makeMenu('sub00','top0','NewstNews','/news/index.asp')
    /**oCMenu2.makeMenu('sub001','sub00','- New DHTML API released','','',160,0)
		oCMenu2.makeMenu('sub002','sub00','- Explorer 7 is out','','',160,0)
		oCMenu2.makeMenu('sub003','sub00','- Opera 6 supports innerHTML','','',160,0)
	oCMenu2.makeMenu('sub01','top0','News archive','/news/archive.asp')**/
	
oCMenu2.makeMenu('top1','','&nbsp;Aktuelles','')
	oCMenu2.makeMenu('sub10','top1','News','aktuelleinfos.htm')
	oCMenu2.makeMenu('sub11','top1','Termine 2008','terminkalender08.htm')
	oCMenu2.makeMenu('sub12','top1','Meisterschaften 2008','meisterschaften08.htm')
	oCMenu2.makeMenu('sub13','top1','18. ICBT 2009','icbt.htm')
	oCMenu2.makeMenu('sub14','top1','DBV-Ligasaison 07/08','ligawettbewerb.htm')
	/*oCMenu2.makeMenu('sub15','top1','Boxer des Jahres 2005','umfrageboxerdjahres.htm')*/
    	
	
oCMenu2.makeMenu('top2','','&nbsp;Verband','')
	oCMenu2.makeMenu('sub21','top2','Vereine','vereinsanschriften.pdf')
		/*oCMenu2.makeMenu('sub210','sub21','New tutorials','/tutorials/index.asp')
		oCMenu2.makeMenu('sub211','sub21','Tutorials archive','/tutorials/archive.asp')*/
	oCMenu2.makeMenu('sub22','top2','Geschäftsstelle','geschaeftsstelle.htm')
		/*oCMenu2.makeMenu('sub220','sub22','New articles','/articles/index.asp?show=new')
		oCMenu2.makeMenu('sub221','sub22','Article archive','/articles/archive.asp')*/
	oCMenu2.makeMenu('sub23','top2','BVS-Infoblatt','bvsinfoblatt.htm')
	oCMenu2.makeMenu('sub24','top2','BVS-Formulare','bvsformulare.htm')
	oCMenu2.makeMenu('sub25','top2','Vorstand','vorstand.htm')
	oCMenu2.makeMenu('sub26','top2','LSP Sachsen','landesstuetzpunkt.htm')
	oCMenu2.makeMenu('sub27','top2','DM-Medaillenerfolge','statistikmedaillen.htm')
	oCMenu2.makeMenu('sub28','top2','Sachsenmeister ab 1990','statistiksachsenmeister.pdf')
	oCMenu2.makeMenu('sub29','top2','Boxer des Jahres','bvsboxerdesjahres.htm')
		
oCMenu2.makeMenu('top3','','&nbsp;Archiv','')
 oCMenu2.makeMenu('sub30','top3','2008','')
	    oCMenu2.makeMenu('sub300','sub30','News','newsarchiv2008.htm')
		/*oCMenu2.makeMenu('sub301','sub30','Meisterschaften','meisterschaften07.htm')*/
   	oCMenu2.makeMenu('sub31','top3','2007','')
	    oCMenu2.makeMenu('sub310','sub31','News','newsarchiv2007.htm')
		oCMenu2.makeMenu('sub311','sub31','Meisterschaften','meisterschaften07.htm')
	oCMenu2.makeMenu('sub32','top3','2006','')
	    oCMenu2.makeMenu('sub320','sub32','News','newsarchiv2006.htm')
		oCMenu2.makeMenu('sub321','sub32','Meisterschaften','meisterschaften06.htm')
	oCMenu2.makeMenu('sub33','top3','2005','')
	    oCMenu2.makeMenu('sub330','sub33','News','newsarchiv2005.htm')
		oCMenu2.makeMenu('sub331','sub33','Meisterschaften','meisterschaften05.htm')
	oCMenu2.makeMenu('sub34','top3','2004','')
	    oCMenu2.makeMenu('sub340','sub34','News','newsarchiv2004.htm')
		oCMenu2.makeMenu('sub341','sub34','Meisterschaften','meisterschaften04.htm')
	oCMenu2.makeMenu('sub35','top3','2003','')
	    oCMenu2.makeMenu('sub350','sub35','News','newsarchiv2003.htm')
		oCMenu2.makeMenu('sub351','sub35','Meisterschaften','meisterschaften03.htm')
	oCMenu2.makeMenu('sub36','top3','2002','')
	    oCMenu2.makeMenu('sub360','sub36','Meisterschaften','meisterschaften02.htm')
	oCMenu2.makeMenu('sub37','top3','2001','')
	    oCMenu2.makeMenu('sub370','sub36','Meisterschaften','meisterschaften01.htm')
    oCMenu2.makeMenu('sub38','top3','Sonstiges','archivsonstiges.htm')

	

			
oCMenu2.makeMenu('top5','','&nbsp;Kontakt','')
	oCMenu2.makeMenu('sub50','top5','Kontakt','kontakt.htm')
	oCMenu2.makeMenu('sub51','top5','Gästebuch','guestbook/index.php')
	oCMenu2.makeMenu('sub52','top5','Impressum','impressum.htm')
	oCMenu2.makeMenu('sub53','top5','Box-Links','links.htm')
             /*oCMenu2.makeMenu('sub54','top5','Gästebuch','/guestbook/default.asp')*/

oCMenu2.makeMenu('top4','','&nbsp;Galerie','galerieuebersicht.htm')

//Leave this line - it constructs the menu
oCMenu2.construct()		