window.status = "Quantum QXCI Wellness";

var current = 1;

function showitem(which) {
	if (navigator.appName == "Netscape") {
		if (which == '0') {
			which = 'b';
		}
		last = eval("document.item" + current);
		next = eval("document.item" + which);
		document.doc.visibility = 'hidden';
	} else {
		if (which == '0') {
			which = 'a';
		}
		last = eval("document.all.item" + current + ".style");
		next = eval("document.all.item" + which + ".style");
		document.all.doc.style.visibility = 'hidden';
	}
	last.visibility = "hidden";
	next.visibility = "visible";
	current = which;
}

function showdoc(which) {
	if (navigator.appName == "Netscape") {
		var name = which.substr(0,3);
		doWindow(which, name, 440);
	} else {
		document.all.content.src = which;
		document.all.doc.style.visibility = 'visible';
		document.all.item7.style.visibility = 'hidden';
	}
}

function doWindow(a, t, w) {
	if (w == 0) {
		w = screen.width * 9 /10;
	}
	h = screen.height * 9/10;
	parms = "toolbar=0,menubar=0,status=0,scrollbars=1,location=0,left=0,top=0,width=" + w + ",height=" + h;
	NewWindow = window.open(a, t, parms);
}

