function initFoldout(){

	
	//Fixing the browsercheck for opera... this can be removed if the browsercheck has been fixed!!
	bw.opera5 = (navigator.userAgent.indexOf("Opera")>-1 && document.getElementById)?true:false
	if (bw.opera5) bw.ns6 = 0

	oTop = new Array()
	oSub = new Array()
	//Making the objects and hiding the subs...
	for (var i=0; i<FoldNumber; i++){
		oTop[i] = new makeMenu('divTop'+i,'divCont')
		oSub[i] = new makeMenu('divSub'+i,'divCont.document.divTop'+i)
		oSub[i].hideIt()
	}
	
	//Positioning the top objects...
	oTop[0].moveIt(0,0)
	
	for (var i=1; i<oTop.length; i++){
		oTop[i].moveIt(0, oTop[i-1].y+oTop[i-1].h+mainOffsetY)
	}
	
	//Making the containing menu object and showing it...
	oCont = new makeMenu('divCont')
	oCont.showIt()
	//change this parameter to choose which menu item stays open
}

// If the browser is ok, the script is started onload...
if(bw.bw){
 onload = initFoldout;
 }

 
 function openWindowForums(location){
var URL;
var myBars = 'directories=no, location=no, menubar=no, status=no';
myBars += ',titlebar=no,toolbar=no';
// var myOptions = 'scrollbars=yes,width=620,height=402,resizeable=no';
var myOptions = 'scrollbars=yes,width=615,height=500,resizeable=no';
var myFeartures = myBars + ',' + myOptions;
URL = location;
var newWin = open( URL, 'forum', myFeartures);
}
