
<!-- ---------------- FUNCTIONS TO TOGGLE BLOCK DISPLAY ON / OFF ---------------------------- -->
<!-- function to toggle display of a section of html on/off -->
function kadabra(zap) {
	if (document.getElementById) {
		var abra = document.getElementById(zap).style;
		if (abra.display == "block") {
			abra.display = "none";
		} else {
			abra.display = "block";
		}
		return false;
	} else {
	return true;
	}
}

<!-- functions to force display of a section of html on/off -->
function display_alwayson(zap) {
	var abra = document.getElementById(zap).style;
	abra.display = "block";
	return true;
}
function display_alwaysoff(zap) {
	var abra = document.getElementById(zap).style;
	abra.display = "none";
	return true;
}



/*************************************************************************
  This code is from Dynamic Web Coding at dyn-web.com
  Copyright 2002-5 by Sharon Paine 
  See Terms of Use at http://www.dyn-web.com/bus/terms.html
  regarding conditions under which you may use this code.
  This notice must be retained in the code as is!
*************************************************************************/
/* this code is duplicated in file "rolltip_lib2.js" for use by Richard internal to K&S, and in "lp_lib.js" for use external LPs by Rob -- the 2nd lib has more code */
function showRollTip(msg, e) {
  if ( typeof RollTip == "undefined" || !RollTip.ready ) return;
  RollTip.reveal(msg, e);
}

function hideRollTip() {
  if ( typeof RollTip == "undefined" || !RollTip.ready ) return;
  RollTip.conceal();
}



/* function to toggle display of a section of html on/off 
  Used in Robert's main 'Try Your Own Account' include (kw_table_of_links_toinclude2.htm)
*/
function switchpanels(zap) {
	var abra = document.getElementById("morepanel-1").style;    abra.display = "none";
	/* turn off all 5 */
	abra = document.getElementById("morepanel-2").style;    abra.display = "none";
	abra = document.getElementById("morepanel-3").style;    abra.display = "none";
	abra = document.getElementById("morepanel-4").style;    abra.display = "none";
	abra = document.getElementById("morepanel-5").style;    abra.display = "none";
	/* turn on the passed panel name */
	abra = document.getElementById(zap).style;    abra.display = "block";
	return false;
}
/* the following version works very well also - as you click each link it's panel gets turns on, adding to what's already been turn on.  Quite cool.
function switchpanels(zap) {
	if (document.getElementById) {
		var abra = document.getElementById(zap).style;
		if (abra.display == "block") {
			abra.display = "none";
	} else {
		abra.display = "block";
	}
	return false;
	} else {
	return true;
	}
}
*/


