<!--

//moves & displays tooltip dialogue
function tipshow(e, pass) {
	tipbox = document.getElementById('tooltip');
	if (pass == 0) {
		tipbox.style.display = 'none';
	}
	else {
		if (!e) {var e = window.event;}
		if (e.pageX || e.pageY) {
			posX = e.pageX;
			posY = e.pageY;
		}
		else if (e.clientX || e.clientY) {
			posX = e.clientX + document.body.scrollLeft;
			posY = e.clientY + document.body.scrollTop;
		}
		switch (pass) {
			case 1:
				tipbox.innerHTML = 'Search the SBCQ site for various topics';
				tipbox.style.left = String(posX - 210) + 'px';
			break;
			case 2:
				tipbox.innerHTML = 'Members may login to the SBCQ site here to access priviledged information';
				tipbox.style.left = String(posX + 10) + 'px';
			break;
		}
		tipbox.style.display = 'block';
		tipbox.style.top = String(posY + 10) + 'px';
	}
}

//sets quote content
function initquote() {
	txt = document.getElementById('testimonial');
	fullText = txt.innerHTML;
	collText = fullText.substr(0, fullText.indexOf(' ', 75));
	collquote();
}

//collapses quote content
function collquote() {
	txt.innerHTML = collText + '... <a href="JavaScript:expquote()"><img src="./images/expquote.gif" alt="expand"></a>';
}

//expands quote content
function expquote() {
	txt.innerHTML = fullText + ' <a href="JavaScript:collquote()"><img src="./images/collquote.gif" alt="collapse"></a>';
}

-->