// JavaScript Document

function show (id, total) {
//	show (1, 3);

if	(!document.getElementById) return false;
	
	document.getElementById('t'+id).className = 'yes';
	document.getElementById('d'+id).className = 'ydisplay-y'; 
	
	for (x=1; x<=total; x++) {
		if (x != id) {
	document.getElementById('t'+x).className = 'no';
	document.getElementById('d'+x).className = 'ydisplay-n';
		}
	}
}


function tabsys (id, total) {
//	show (1, 3);

if	(!document.getElementById) return false;
	
	document.getElementById('ts'+id).className = 'o';
	document.getElementById('tabd'+id).style.display = 'block';
	
	for (x=1; x<=total; x++) {
		if (x != id) {
	document.getElementById('ts'+x).className = 'f';
	document.getElementById('tabd'+x).style.display = 'none';
		}
	}
}

function dis (id, total) {
//	show (1, 3);

if	(!document.getElementById) return false;
	
	document.getElementById('display'+id).style.display = 'block';
	document.getElementById('ilink'+id).style.color = "#0054a6";
	
	for (x=1; x<=total; x++) {
		if (x != id) {
	document.getElementById('display'+x).style.display = 'none';
	document.getElementById('ilink'+x).style.color = "#464646";
		}
	}
}


function print2p () {
	window.print() 
}