
var l;

function showQ(Q) {
	
	for (i=1;i<=qCount;i++){
		if (layerExists("q"+i)){
			if ("q"+i == Q){
				l.className = 'boldQ';
			} else {
				l.className = 'normalQ';
			}
		}
	}
	window.open("#q5","_self")
}

function layerExists(whichLayer) {

	if (document.getElementById)
		l = document.getElementById(whichLayer);
	else if (document.all)
		l = document.all[whichLayer];
	else if (document.layers)
		l = document.layers[whichLayer];

	return (l != null);
}