function MM_findObj(n, d) { //v4.01
	var p,i,x;  if(!d) d=document; 
			if((p=n.indexOf("?"))>0&&parent.frames.length) {
				d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
			}
			if(!(x=d[n])&&d.all) x=d.all[n]; 
			for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
			for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
			if(!x && d.getElementById) x=d.getElementById(n); 
			return x;
		}
		
		
function BB_showHideLayers( idx, max) { //v6.0
			var i,p,v,obj,args=BB_showHideLayers.arguments;
			for (i=1; i<=max; i++) {
				if ((obj=MM_findObj("top_"+i))!=null) {
					v=args[i+2];
					if (obj.style) {
						obj=obj.style;
						if( i == idx) {
							obj.background='#f4c10e';
							obj.color='#0060a9';
						} else {
							obj.background='#0060a9';
							obj.color='#ffffff';
						}
					}
				}
				if ((obj=MM_findObj("nav"+i))!=null) {
					v=args[i+2];
					if (obj.style) {
						obj=obj.style;
						if( i == idx)
							obj.visibility='visible';
						else
							obj.visibility='hidden';
					}
				}
				if ((obj=MM_findObj("zu"+i))!=null) {
					v=args[i+2];
					if (obj.style) {
						obj=obj.style;
						if( i == idx)
							obj.visibility='visible';
						else
							obj.visibility='hidden';
					}
				}
			}
			if (BBt_out) clearTimeout(BBt_out);
		}
		var BBcurrentActiveItem = "";

function BB_active(id) {
			if (BBt_out) clearTimeout(BBt_out);
			if ((obj=MM_findObj(id))!=null) {
				if (BBcurrentActiveItem != "") {
					oldobj=MM_findObj(BBcurrentActiveItem);
					oldobj.style.backgroundColor = "#f4c10e"
				}
				obj.style.backgroundColor = "#ffffff";
				BBcurrentActiveItem = id;
			} else alert("BB_active: "+id);
		}
		var BBt_out = null;
		function BB_tout() {
			BBt_out = setTimeout('BB_reset()',300);
		}

function BB_reset() {
			if (BBcurrentActiveItem != "") {
				oldobj=MM_findObj(BBcurrentActiveItem);
				oldobj.style.backgroundColor = "#f4c10e"
			}
			BBcurrentActiveItem = "";
			BB_showHideLayers(-1, 10);
		}


	