function showlayer(n){
	var chgStr;
	if (document.getElementById) {  						// DOM3 = IE5, NS6 
			document.getElementById(n).style.visibility='visible'; 	
	}//if
	else{
		if (navigator.appName=='Netscape'&&document.layers != null) {
	 		chgStr = "document." + n + ".visibility=\'visible\'";
	 		eval(chgStr);
		}//inner if
		else if (document.all != null) { //IE	
	 		chgStr = "document.all." + n + ".style.visibility=\'visible\'";
	 		eval(chgStr);
		}//inner else
	}//else
}//showlayer

function hidelayer(n){
	var chgStr;
	if (document.getElementById) {  						// DOM3 = IE5, NS6 
		document.getElementById(n).style.visibility='hidden'; 	
	}//if
	else{	
		if (navigator.appName=='Netscape'&&document.layers != null) {
	 		chgStr = "document." + n + ".visibility=\'hidden\'";
	 		eval(chgStr);
		}//inner if
		else if (document.all != null) { //IE
	 		chgStr = "document.all." + n + ".style.visibility=\'hidden\'";
	 		eval(chgStr);
		}//inner else
	}//else
}//hidelayer

function hideall(n,start,end){
	for(x=start;x<=end;x++){
		hidelayer(n+x);
	}
}
function hideallhere(start,end){
    //hideall('budn',start,end);
    hideall('budown',start,end);
}

function showlay(x){
    //showlayer('budn'+x);
    showlayer('budown'+x);
}
function hidelay(x){
    //hidelayer('budn'+x);
    hidelayer('budown'+x);
}