//
// text definitions for overlib popups and the code generator
// func
//

var BTEXT = new Array();

BTEXT["replayregister_poplink"] = "replay register";
BTEXT["replayregister_popcap"] = "Machine Component";
BTEXT["replayregister_poptxt"] = "The replay register shows the number of credits currently on the machine.<p>  Almost all machines have one";

BTEXT["SPDT_poplink"] = "SPDT";
BTEXT["SPDT_popcap"] = "Machine Component";
BTEXT["SPDT_poptxt"] = "SPDT is an acronym for Single Pole Double Throw.<p>This type of switch has three switch blades.  The center one moves, and it should connect to only one of the surrounding blades at any given time.<p>When the switch is changing, the center blade should disconnect from one blade before connecting to the other";

//
// olpop
//
// generates the overlib call by subbing in the text associated with
// the param
// 

function olpop(textkey)
{
   var poptxt = BTEXT[textkey+"_poptxt"];
   var popcap = BTEXT[textkey+"_popcap"];
   var poplink = BTEXT[textkey+"_poplink"];
 
   document.write(
'<a class=overlib href="javascript:void(0);" onmouseover="return overlib(' + "'" +
poptxt +
"', CAPTION,'" +
popcap + 
"'" + ');\" onmouseout="return nd();">' + 
poplink + 
'</a>');
}

//The replay register shows the number of credits currently on the machine.<p>  Almost all machines have one', CAPTION, 'Machine Component');" onmouseout="return nd();">replay register</a>

