
var s7_NS = (document.layers) ? 1 : 0;
var s7_IE = (document.all && document.getElementById) ? 1 : 0;
var s7_N6 = (!document.all && document.getElementById) ? 1 : 0;
//var s7_IE = (navigator.appName == "Microsoft Internet Explorer") ? 1 : 0;
//var s7_NS = (navigator.appName == "Netscape") ? 1 : 0;
var s7_hideMenu = null;

function s7_Hide(div) {
	if(s7_IE)eval('document.all.subnav_'+div+'.style.visibility="hidden"');
	if(s7_NS)eval('document.subnav_'+div+'.visibility="hidden"');
	if(s7_N6) {
		switch (div){
		case "1": 
			s7_elm = document.getElementById('subnav_1');
			break;
		case "2": 
			s7_elm = document.getElementById('subnav_2');
			break;
		case "3": 
			s7_elm = document.getElementById('subnav_3');
			break;
		}
		s7_elm.style.visibility = "hidden";
	}
}

function s7_Show(div){
	if(s7_IE)eval('document.all.subnav_'+div+'.style.visibility="visible"');
	if(s7_NS)eval('document.subnav_'+div+'.visibility="visible"');
	if(s7_N6) {
		switch (div){
		case "1": 
			s7_elm = document.getElementById('subnav_1');
			break;
		case "2": 
			s7_elm = document.getElementById('subnav_2');
			break;
		case "3": 
			s7_elm = document.getElementById('subnav_3');
			break;		
		}
		s7_elm.style.visibility = "visible";
	}
}

function s7_hideAll(){
	s7_Hide('1');
	s7_Hide('2');
	s7_Hide('3');
}

function ShowSubNav1(){
	s7_Show('1');
	s7_Hide('2');
	s7_Hide('3');
}

function ShowSubNav2(){
	s7_Hide('1');
	s7_Show('2');
	s7_Hide('3');
}

function ShowSubNav3(){
	s7_Hide('1');
	s7_Hide('2');
	s7_Show('3');
}
