function STCCGCard(name, type, sheet, slots)
{
   this.Name = name;
   this.Type = type;
   this.Sheet = sheet;
   this.Slots = slots;
}

function STCCGSet(count)
{
   this.Count = count;
   this.Cards = new Array(count);
   this["C"] = 0;
   this["U"] = 0;
   this["R"] = 0;
}

function CountCards(set)
{
   for (var i = 0; i < set.Count; i++)
      set[set.Cards[i].Sheet] += set.Cards[i].Slots;
}

function CountCardsNR(set)
{
   for (var i = 0; i < set.Count; i++)
      set["C"] += set.Cards[i].Slots;
}

function InitCardLists()
{
   basic = new STCCGSet(363);
   au = new STCCGSet(122);
   qc = new STCCGSet(121);
   warp = new STCCGSet(12);
   anthology1 = new STCCGSet(6);
   fc = new STCCGSet(130);
   fajo = new STCCGSet(18);
   otsd = new STCCGSet(20);
   awayteam = new STCCGSet(2);

   ds9 = new STCCGSet(260);
   ds9Mis = new STCCGSet(16);
   ds9Car = new STCCGSet(13);
   ds9NA  = new STCCGSet(11);
   ds9Baj = new STCCGSet(14);
   ds9Fed = new STCCGSet(9);
   ds9Dil = new STCCGSet(16);
   ds9Oth = new STCCGSet(9);

   sd2 = new STCCGSet(8);
   dominion = new STCCGSet(130);
   efcgow = new STCCGSet(3);
   efctom = new STCCGSet(3);
   efcbar = new STCCGSet(3);
   efcduk = new STCCGSet(3);
   bog = new STCCGSet(130);
   roa = new STCCGSet(130);
   anthology2 = new STCCGSet(6);
   twt = new STCCGSet(141);
   mm = new STCCGSet(131);
   voy = new STCCGSet(218);
   vsec = new STCCGSet(17);
   vsuc = new STCCGSet(30);
   vsco = new STCCGSet(34);
   vs = new STCCGSet(51);
   vsm = new STCCGSet(16);
   vsmp = new STCCGSet(9);
   vsms = new STCCGSet(8);
   vsmi = new STCCGSet(17);
   vspe = new STCCGSet(2);
   epwhm = new STCCGSet(3);
   epcdi = new STCCGSet(6);
   efc = new STCCGSet(12);
   p2pg = new STCCGSet(13);
   Foils = new STCCGSet(100);

   basic.Cards[0] = new STCCGCard("Zibalian Transport", "Sh-N", "C", 1);
   basic.Cards[1] = new STCCGCard("Betazoid Gift Box", "Ar", "R", 1);
   basic.Cards[2] = new STCCGCard("Horga'hn", "Ar", "R", 1);
   basic.Cards[3] = new STCCGCard("Interphase Generator", "Ar", "R", 1);
   basic.Cards[4] = new STCCGCard("Kurlan Naiskos", "Ar", "R", 1);
   basic.Cards[5] = new STCCGCard("Thought Maker", "Ar", "R", 1);
   basic.Cards[6] = new STCCGCard("Time Travel Pod", "Ar", "R", 1);
   basic.Cards[7] = new STCCGCard("Tox Uthat", "Ar", "R", 1);
   basic.Cards[8] = new STCCGCard("Varon-T Disruptor", "Ar", "R", 1);
   basic.Cards[9] = new STCCGCard("Vulcan Stone of Gol", "Ar", "R", 1);
   basic.Cards[10] = new STCCGCard("Alien Abduction", "Di", "U", 1);
   basic.Cards[11] = new STCCGCard("Alien Parasites", "Di", "U", 1);
   basic.Cards[12] = new STCCGCard("Anaphasic Organism", "Di", "C", 1);
   basic.Cards[13] = new STCCGCard("Ancient Computer", "Di", "R", 1);
   basic.Cards[14] = new STCCGCard("Archer", "Di", "C", 1);
   basic.Cards[15] = new STCCGCard("Armus - Skin of Evil", "Di", "R", 1);
   basic.Cards[16] = new STCCGCard("Barclay's Protomorphosis Disease", "Di", "R", 1);
   basic.Cards[17] = new STCCGCard("Birth of \"Junior\"", "Di", "U", 1);
   basic.Cards[18] = new STCCGCard("Borg Ship", "Di", "R", 1);
   basic.Cards[19] = new STCCGCard("Chalnoth", "Di", "U", 1);
   basic.Cards[20] = new STCCGCard("Cosmic String Fragment", "Di", "U", 1);
   basic.Cards[21] = new STCCGCard("Crystalline Entity", "Di", "R", 1);
   basic.Cards[22] = new STCCGCard("Cytherians", "Di", "R", 1);
   basic.Cards[23] = new STCCGCard("El-Adrel Creature", "Di", "U", 1);
   basic.Cards[24] = new STCCGCard("Female's Love Interest", "Di", "C", 1);
   basic.Cards[25] = new STCCGCard("Firestorm", "Di", "U", 1);
   basic.Cards[26] = new STCCGCard("Gravitic Mine", "Di", "U", 1);
   basic.Cards[27] = new STCCGCard("Hologram Ruse", "Di", "U", 1);
   basic.Cards[28] = new STCCGCard("Hyper-Aging", "Di", "U", 1);
   basic.Cards[29] = new STCCGCard("Iconian Computer Weapon", "Di", "C", 1);
   basic.Cards[30] = new STCCGCard("Impassable Door", "Di", "C", 1);
   basic.Cards[31] = new STCCGCard("Ktarian Game", "Di", "R", 1);
   basic.Cards[32] = new STCCGCard("Male's Love Interest", "Di", "C", 1);
   basic.Cards[33] = new STCCGCard("Matriarchal Society", "Di", "U", 1);
   basic.Cards[34] = new STCCGCard("Menthar Booby Trap", "Di", "C", 1);
   basic.Cards[35] = new STCCGCard("Microbiotic Colony", "Di", "C", 1);
   basic.Cards[36] = new STCCGCard("Microvirus", "Di", "C", 1);
   basic.Cards[37] = new STCCGCard("Nagilum", "Di", "R", 1);
   basic.Cards[38] = new STCCGCard("Nanites", "Di", "U", 1);
   basic.Cards[39] = new STCCGCard("Nausicaans", "Di", "U", 1);
   basic.Cards[40] = new STCCGCard("Nitrium Metal Parasites", "Di", "U", 1);
   basic.Cards[41] = new STCCGCard("Null Space", "Di", "U", 1);
   basic.Cards[42] = new STCCGCard("Phased Matter", "Di", "C", 1);
   basic.Cards[43] = new STCCGCard("Portal Guard", "Di", "U", 1);
   basic.Cards[44] = new STCCGCard("Q", "Di", "R", 1);
   basic.Cards[45] = new STCCGCard("Radioactive Garbage Scow", "Di", "U", 1);
   basic.Cards[46] = new STCCGCard("Rebel Encounter", "Di", "U", 1);
   basic.Cards[47] = new STCCGCard("REM Fatigue Hallucinations", "Di", "U", 1);
   basic.Cards[48] = new STCCGCard("Sarjenka", "Di", "R", 1);
   basic.Cards[49] = new STCCGCard("Shaka, When The Walls Fell", "Di", "U", 1);
   basic.Cards[50] = new STCCGCard("Tarellian Plague Ship", "Di", "U", 1);
   basic.Cards[51] = new STCCGCard("Temporal Causality Loop", "Di", "R", 1);
   basic.Cards[52] = new STCCGCard("Tsiolkovsky Infection", "Di", "R", 1);
   basic.Cards[53] = new STCCGCard("Two-Dimensional Creatures", "Di", "U", 1);
   basic.Cards[54] = new STCCGCard("Wind Dancer", "Di", "R", 1);
   basic.Cards[55] = new STCCGCard("Engineering Kit", "Eq", "C", 1);
   basic.Cards[56] = new STCCGCard("Engineering PADD", "Eq", "C", 1);
   basic.Cards[57] = new STCCGCard("Federation PADD", "Eq", "C", 1);
   basic.Cards[58] = new STCCGCard("Klingon Disruptor", "Eq", "C", 1);
   basic.Cards[59] = new STCCGCard("Klingon PADD", "Eq", "C", 1);
   basic.Cards[60] = new STCCGCard("Medical Kit", "Eq", "C", 1);
   basic.Cards[61] = new STCCGCard("Medical Tricorder", "Eq", "C", 1);
   basic.Cards[62] = new STCCGCard("Romulan Disruptor", "Eq", "C", 1);
   basic.Cards[63] = new STCCGCard("Romulan PADD", "Eq", "C", 1);
   basic.Cards[64] = new STCCGCard("Starfleet Type II Phaser", "Eq", "C", 1);
   basic.Cards[65] = new STCCGCard("Tricorder", "Eq", "C", 1);
   basic.Cards[66] = new STCCGCard("Alien Probe", "Ev", "U", 1);
   basic.Cards[67] = new STCCGCard("Anti-Time Anomaly", "Ev", "R", 1);
   basic.Cards[68] = new STCCGCard("Atmospheric Ionization", "Ev", "C", 1);
   basic.Cards[69] = new STCCGCard("Bynars Weapon Enhancement", "Ev", "R", 1);
   basic.Cards[70] = new STCCGCard("Distortion Field", "Ev", "U", 1);
   basic.Cards[71] = new STCCGCard("Espionage: Federation On Klingon", "Ev", "C", 1);
   basic.Cards[72] = new STCCGCard("Espionage: Klingon On Federation", "Ev", "C", 1);
   basic.Cards[73] = new STCCGCard("Espionage: Romulan On Federation", "Ev", "C", 1);
   basic.Cards[74] = new STCCGCard("Espionage: Romulan On Klingon", "Ev", "C", 1);
   basic.Cards[75] = new STCCGCard("Gaps In Normal Space", "Ev", "U", 1);
   basic.Cards[76] = new STCCGCard("Genetronic Replicator", "Ev", "U", 1);
   basic.Cards[77] = new STCCGCard("Goddess of Empathy", "Ev", "R", 1);
   basic.Cards[78] = new STCCGCard("Holo-Projectors", "Ev", "U", 1);
   basic.Cards[79] = new STCCGCard("Kivas Fajo - Collector", "Ev", "U", 1);
   basic.Cards[80] = new STCCGCard("Lore Returns", "Ev", "R", 1);
   basic.Cards[81] = new STCCGCard("Lore's Fingernail", "Ev", "R", 1);
   basic.Cards[82] = new STCCGCard("Masaka Transformations", "Ev", "U", 1);
   basic.Cards[83] = new STCCGCard("Metaphasic Shields", "Ev", "U", 1);
   basic.Cards[84] = new STCCGCard("Neural Servo Device", "Ev", "U", 1);
   basic.Cards[85] = new STCCGCard("Nutational Shields", "Ev", "U", 1);
   basic.Cards[86] = new STCCGCard("Pattern Enhancers", "Ev", "C", 1);
   basic.Cards[87] = new STCCGCard("Plasma Fire", "Ev", "C", 1);
   basic.Cards[88] = new STCCGCard("Q-Net", "Ev", "C", 1);
   basic.Cards[89] = new STCCGCard("Raise The Stakes", "Ev", "U", 1);
   basic.Cards[90] = new STCCGCard("Red Alert!", "Ev", "C", 1);
   basic.Cards[91] = new STCCGCard("Res-Q", "Ev", "C", 1);
   basic.Cards[92] = new STCCGCard("Spacedock", "Ev", "C", 1);
   basic.Cards[93] = new STCCGCard("Static Warp Bubble", "Ev", "C", 1);
   basic.Cards[94] = new STCCGCard("Subspace Warp Rift", "Ev", "C", 1);
   basic.Cards[95] = new STCCGCard("Supernova", "Ev", "R", 1);
   basic.Cards[96] = new STCCGCard("Telepathic Alien Kidnappers", "Ev", "U", 1);
   basic.Cards[97] = new STCCGCard("Tetryon Field", "Ev", "C", 1);
   basic.Cards[98] = new STCCGCard("The Traveler: Transcendence", "Ev", "U", 1);
   basic.Cards[99] = new STCCGCard("Treaty: Federation/Klingon", "Ev", "C", 1);
   basic.Cards[100] = new STCCGCard("Treaty: Federation/Romulan", "Ev", "C", 1);
   basic.Cards[101] = new STCCGCard("Treaty: Romulan/Klingon", "Ev", "C", 1);
   basic.Cards[102] = new STCCGCard("Warp Core Breach", "Ev", "R", 1);
   basic.Cards[103] = new STCCGCard("Where No One Has Gone Before", "Ev", "C", 1);
   basic.Cards[104] = new STCCGCard("Alien Groupie", "In", "R", 1);
   basic.Cards[105] = new STCCGCard("Amanda Rogers", "In", "U", 1);
   basic.Cards[106] = new STCCGCard("Asteroid Sanctuary", "In", "C", 1);
   basic.Cards[107] = new STCCGCard("Auto-Destruct Sequence", "In", "U", 1);
   basic.Cards[108] = new STCCGCard("Crosis", "In", "R", 1);
   basic.Cards[109] = new STCCGCard("Disruptor Overload", "In", "C", 1);
   basic.Cards[110] = new STCCGCard("Distortion of Space/Time Continuum", "In", "U", 1);
   basic.Cards[111] = new STCCGCard("Emergency Transporter Armbands", "In", "C", 1);
   basic.Cards[112] = new STCCGCard("Energy Vortex", "In", "U", 1);
   basic.Cards[113] = new STCCGCard("Escape Pod", "In", "C", 1);
   basic.Cards[114] = new STCCGCard("Full Planet Scan", "In", "U", 1);
   basic.Cards[115] = new STCCGCard("Honor Challenge", "In", "R", 1);
   basic.Cards[116] = new STCCGCard("Hugh", "In", "R", 1);
   basic.Cards[117] = new STCCGCard("Incoming Message - Federation", "In", "U", 1);
   basic.Cards[118] = new STCCGCard("Incoming Message - Klingon", "In", "U", 1);
   basic.Cards[119] = new STCCGCard("Incoming Message - Romulan", "In", "U", 1);
   basic.Cards[120] = new STCCGCard("Jaglom Shrek - Information Broker", "In", "R", 1);
   basic.Cards[121] = new STCCGCard("Kevin Uxbridge", "In", "U", 1);
   basic.Cards[122] = new STCCGCard("Klingon Death Yell", "In", "R", 1);
   basic.Cards[123] = new STCCGCard("Klingon Right of Vengeance", "In", "C", 1);
   basic.Cards[124] = new STCCGCard("Life-Form Scan", "In", "U", 1);
   basic.Cards[125] = new STCCGCard("Long-Range Scan", "In", "C", 1);
   basic.Cards[126] = new STCCGCard("Loss of Orbital Stability", "In", "C", 1);
   basic.Cards[127] = new STCCGCard("Near-Warp Transport", "In", "U", 1);
   basic.Cards[128] = new STCCGCard("Palor Toff - Alien Trader", "In", "C", 1);
   basic.Cards[129] = new STCCGCard("Particle Fountain", "In", "C", 1);
   basic.Cards[130] = new STCCGCard("Q2", "In", "U", 1);
   basic.Cards[131] = new STCCGCard("Rogue Borg Mercenaries", "In", "C", 1);
   basic.Cards[132] = new STCCGCard("Scan", "In", "C", 1);
   basic.Cards[133] = new STCCGCard("Ship Seizure", "In", "C", 1);
   basic.Cards[134] = new STCCGCard("Subspace Interference", "In", "C", 1);
   basic.Cards[135] = new STCCGCard("Subspace Schism", "In", "U", 1);
   basic.Cards[136] = new STCCGCard("Tachyon Detection Grid", "In", "C", 1);
   basic.Cards[137] = new STCCGCard("Temporal Rift", "In", "U", 1);
   basic.Cards[138] = new STCCGCard("The Devil", "In", "R", 1);
   basic.Cards[139] = new STCCGCard("The Juggler", "In", "U", 1);
   basic.Cards[140] = new STCCGCard("Transwarp Conduit", "In", "U", 1);
   basic.Cards[141] = new STCCGCard("Vulcan Mindmeld", "In", "U", 1);
   basic.Cards[142] = new STCCGCard("Wormhole", "In", "C", 1);
   basic.Cards[143] = new STCCGCard("Avert Disaster", "Mi", "R", 1);
   basic.Cards[144] = new STCCGCard("Cloaked Mission", "Mi", "U", 1);
   basic.Cards[145] = new STCCGCard("Covert Installation", "Mi", "C", 1);
   basic.Cards[146] = new STCCGCard("Covert Rescue", "Mi", "U", 1);
   basic.Cards[147] = new STCCGCard("Cultural Observation", "Mi", "R", 1);
   basic.Cards[148] = new STCCGCard("Diplomacy Mission", "Mi", "U", 1);
   basic.Cards[149] = new STCCGCard("Evacuation", "Mi", "U", 1);
   basic.Cards[150] = new STCCGCard("Evaluate Terraforming", "Mi", "R", 1);
   warp.Cards[1] =
   basic.Cards[151] = new STCCGCard("Excavation", "Mi", "C", 1);
   basic.Cards[152] = new STCCGCard("Explore Black Cluster", "Mi", "R", 1);
   basic.Cards[153] = new STCCGCard("Explore Dyson Sphere", "Mi", "R", 1);
   basic.Cards[154] = new STCCGCard("Explore Typhon Expanse", "Mi", "R", 1);
   basic.Cards[155] = new STCCGCard("Expose Covert Supply", "Mi", "U", 1);
   basic.Cards[156] = new STCCGCard("Extraction", "Mi", "R", 1);
   basic.Cards[157] = new STCCGCard("Fever Emergency", "Mi", "C", 1);
   basic.Cards[158] = new STCCGCard("First Contact", "Mi", "U", 1);
   basic.Cards[159] = new STCCGCard("Hunt for DNA Program", "Mi", "R", 1);
   basic.Cards[160] = new STCCGCard("Iconia Investigation", "Mi", "R", 1);
   basic.Cards[161] = new STCCGCard("Investigate \"Shattered Space\"", "Mi", "R", 1);
   basic.Cards[162] = new STCCGCard("Investigate Alien Probe", "Mi", "R", 1);
   warp.Cards[3] =
   basic.Cards[163] = new STCCGCard("Investigate Anomaly", "Mi", "C", 1);
   basic.Cards[164] = new STCCGCard("Investigate Disappearance", "Mi", "R", 1);
   basic.Cards[165] = new STCCGCard("Investigate Disturbance", "Mi", "R", 1);
   basic.Cards[166] = new STCCGCard("Investigate Massacre", "Mi", "R", 1);
   basic.Cards[167] = new STCCGCard("Investigate Raid", "Mi", "R", 1);
   basic.Cards[168] = new STCCGCard("Investigate Rogue Comet", "Mi", "R", 1);
   basic.Cards[169] = new STCCGCard("Investigate Sighting", "Mi", "R", 1);
   basic.Cards[170] = new STCCGCard("Investigate Time Continuum", "Mi", "R", 1);
   basic.Cards[171] = new STCCGCard("Khitomer Research", "Mi", "R", 1);
   basic.Cards[172] = new STCCGCard("Krios Suppression", "Mi", "U", 1);
   basic.Cards[173] = new STCCGCard("Medical Relief", "Mi", "R", 1);
   basic.Cards[174] = new STCCGCard("New Contact", "Mi", "R", 1);
   basic.Cards[175] = new STCCGCard("Pegasus Search", "Mi", "R", 1);
   basic.Cards[176] = new STCCGCard("Plunder Site", "Mi", "U", 1);
   warp.Cards[6] =
   basic.Cards[177] = new STCCGCard("Relief Mission", "Mi", "C", 1);
   basic.Cards[178] = new STCCGCard("Repair Mission", "Mi", "C", 1);
   basic.Cards[179] = new STCCGCard("Restore Errant Moon", "Mi", "U", 1);
   basic.Cards[180] = new STCCGCard("Sarthong Plunder", "Mi", "R", 1);
   basic.Cards[181] = new STCCGCard("Secret Salvage", "Mi", "U", 1);
   basic.Cards[182] = new STCCGCard("Seek Life-form", "Mi", "R", 1);
   basic.Cards[183] = new STCCGCard("Strategic Diversion", "Mi", "U", 1);
   basic.Cards[184] = new STCCGCard("Study \"Hole in Space\"", "Mi", "R", 1);
   basic.Cards[185] = new STCCGCard("Study Lonka Pulsar", "Mi", "R", 1);
   basic.Cards[186] = new STCCGCard("Study Nebula", "Mi", "R", 1);
   warp.Cards[8] =
   basic.Cards[187] = new STCCGCard("Study Plasma Streamer", "Mi", "C", 1);
   warp.Cards[9] =
   basic.Cards[188] = new STCCGCard("Study Stellar Collision", "Mi", "C", 1);
   basic.Cards[189] = new STCCGCard("Survey Mission", "Mi", "R", 1);
   warp.Cards[10] =
   basic.Cards[190] = new STCCGCard("Test Mission", "Mi", "C", 1);
   basic.Cards[191] = new STCCGCard("Wormhole Negotiations", "Mi", "R", 1);
   basic.Cards[192] = new STCCGCard("Federation Outpost", "Fa/Op-F", "C", 1);
   basic.Cards[193] = new STCCGCard("Klingon Outpost", "Fa/Op-K", "C", 1);
   basic.Cards[194] = new STCCGCard("Romulan Outpost", "Fa/Op-R", "C", 1);
   basic.Cards[195] = new STCCGCard("Albert Einstein", "Pe-F", "R", 1);
   basic.Cards[196] = new STCCGCard("Alexander Rozhenko", "Pe-F", "U", 1);
   basic.Cards[197] = new STCCGCard("Alynna Nechayev", "Pe-F", "R", 1);
   basic.Cards[198] = new STCCGCard("Alyssa Ogawa", "Pe-F", "U", 1);
   basic.Cards[199] = new STCCGCard("Benjamin Maxwell", "Pe-F", "U", 1);
   basic.Cards[200] = new STCCGCard("Beverly Crusher", "Pe-F", "R", 1);
   basic.Cards[201] = new STCCGCard("Calloway", "Pe-F", "C", 1);
   basic.Cards[202] = new STCCGCard("Christopher Hobson", "Pe-F", "C", 1);
   basic.Cards[203] = new STCCGCard("Darian Wallace", "Pe-F", "C", 1);
   basic.Cards[204] = new STCCGCard("Data", "Pe-F", "R", 1);
   basic.Cards[205] = new STCCGCard("Deanna Troi", "Pe-F", "R", 1);
   basic.Cards[206] = new STCCGCard("Dr. La Forge", "Pe-F", "R", 1);
   basic.Cards[207] = new STCCGCard("Dr. Leah Brahms", "Pe-F", "R", 1);
   basic.Cards[208] = new STCCGCard("Dr. Selar", "Pe-F", "U", 1);
   basic.Cards[209] = new STCCGCard("Eric Pressman", "Pe-F", "U", 1);
   basic.Cards[210] = new STCCGCard("Exocomp", "Pe-F", "U", 1);
   basic.Cards[211] = new STCCGCard("Fleet Admiral Shanthi", "Pe-F", "U", 1);
   basic.Cards[212] = new STCCGCard("Geordi La Forge", "Pe-F", "R", 1);
   basic.Cards[213] = new STCCGCard("Giusti", "Pe-F", "C", 1);
   basic.Cards[214] = new STCCGCard("Hannah Bates", "Pe-F", "U", 1);
   basic.Cards[215] = new STCCGCard("Jean-Luc Picard", "Pe-F", "R", 1);
   basic.Cards[216] = new STCCGCard("Jenna D'Sora", "Pe-F", "U", 1);
   basic.Cards[217] = new STCCGCard("K'Ehleyr", "Pe-F", "R", 1);
   basic.Cards[218] = new STCCGCard("Kareel Odan", "Pe-F", "U", 1);
   basic.Cards[219] = new STCCGCard("Leah Brahms", "Pe-F", "R", 1);
   basic.Cards[220] = new STCCGCard("Linda Larson", "Pe-F", "C", 1);
   basic.Cards[221] = new STCCGCard("Lwaxanna Troi", "Pe-F", "R", 1);
   basic.Cards[222] = new STCCGCard("McKnight", "Pe-F", "C", 1);
   basic.Cards[223] = new STCCGCard("Mendon", "Pe-F", "C", 1);
   basic.Cards[224] = new STCCGCard("Morgan Bateson", "Pe-F", "R", 1);
   basic.Cards[225] = new STCCGCard("Mot the Barber", "Pe-F", "U", 1);
   basic.Cards[226] = new STCCGCard("Neela Daren", "Pe-F", "R", 1);
   basic.Cards[227] = new STCCGCard("Nikolai Rozhenko", "Pe-F", "U", 1);
   basic.Cards[228] = new STCCGCard("Norah Satie", "Pe-F", "U", 1);
   basic.Cards[229] = new STCCGCard("Reginald Barclay", "Pe-F", "R", 1);
   basic.Cards[230] = new STCCGCard("Richard Galen", "Pe-F", "R", 1);
   basic.Cards[231] = new STCCGCard("Riva", "Pe-F", "U", 1);
   basic.Cards[232] = new STCCGCard("Ro Laren", "Pe-F", "R", 1);
   basic.Cards[233] = new STCCGCard("Sarek", "Pe-F", "R", 1);
   basic.Cards[234] = new STCCGCard("Satelk", "Pe-F", "R", 1);
   basic.Cards[235] = new STCCGCard("Shelby", "Pe-F", "R", 1);
   basic.Cards[236] = new STCCGCard("Simon Tarses", "Pe-F", "C", 1);
   basic.Cards[237] = new STCCGCard("Sir Isaac Newton", "Pe-F", "R", 1);
   basic.Cards[238] = new STCCGCard("Sirna Kolrami", "Pe-F", "U", 1);
   basic.Cards[239] = new STCCGCard("Sito Jaxa", "Pe-F", "C", 1);
   basic.Cards[240] = new STCCGCard("Soren", "Pe-F", "U", 1);
   basic.Cards[241] = new STCCGCard("T'Pan", "Pe-F", "U", 1);
   basic.Cards[242] = new STCCGCard("Taitt", "Pe-F", "C", 1);
   basic.Cards[243] = new STCCGCard("Tam Elbrun", "Pe-F", "R", 1);
   basic.Cards[244] = new STCCGCard("Tasha Yar", "Pe-F", "R", 1);
   basic.Cards[245] = new STCCGCard("Taurik", "Pe-F", "C", 1);
   basic.Cards[246] = new STCCGCard("Thomas Riker", "Pe-F", "R", 1);
   basic.Cards[247] = new STCCGCard("Toby Russell", "Pe-F", "U", 1);
   basic.Cards[248] = new STCCGCard("Vash", "Pe-F", "R", 1);
   basic.Cards[249] = new STCCGCard("Wesley Crusher", "Pe-F", "R", 1);
   basic.Cards[250] = new STCCGCard("William T. Riker", "Pe-F", "R", 1);
   basic.Cards[251] = new STCCGCard("Worf", "Pe-F", "R", 1);
   basic.Cards[252] = new STCCGCard("B'Etor", "Pe-K", "R", 1);
   basic.Cards[253] = new STCCGCard("B'iJik", "Pe-K", "C", 1);
   basic.Cards[254] = new STCCGCard("Ba'el", "Pe-K", "U", 1);
   basic.Cards[255] = new STCCGCard("Batrell", "Pe-K", "C", 1);
   basic.Cards[256] = new STCCGCard("Divok", "Pe-K", "C", 1);
   basic.Cards[257] = new STCCGCard("Dukath", "Pe-K", "C", 1);
   basic.Cards[258] = new STCCGCard("Duras", "Pe-K", "R", 1);
   basic.Cards[259] = new STCCGCard("Fek'lhr", "Pe-K", "U", 1);
   basic.Cards[260] = new STCCGCard("Gorath", "Pe-K", "C", 1);
   basic.Cards[261] = new STCCGCard("Gowron", "Pe-K", "R", 1);
   basic.Cards[262] = new STCCGCard("J'Ddan", "Pe-K", "C", 1);
   basic.Cards[263] = new STCCGCard("K'mpec", "Pe-K", "U", 1);
   basic.Cards[264] = new STCCGCard("K'Tal", "Pe-K", "U", 1);
   basic.Cards[265] = new STCCGCard("K'Tesh", "Pe-K", "C", 1);
   basic.Cards[266] = new STCCGCard("K'Vada", "Pe-K", "U", 1);
   basic.Cards[267] = new STCCGCard("Kahless", "Pe-K", "R", 1);
   basic.Cards[268] = new STCCGCard("Kargan", "Pe-K", "R", 1);
   basic.Cards[269] = new STCCGCard("Kell", "Pe-K", "U", 1);
   basic.Cards[270] = new STCCGCard("Klag", "Pe-K", "C", 1);
   basic.Cards[271] = new STCCGCard("Kle'eg", "Pe-K", "C", 1);
   basic.Cards[272] = new STCCGCard("Konmel", "Pe-K", "U", 1);
   basic.Cards[273] = new STCCGCard("Koral", "Pe-K", "U", 1);
   basic.Cards[274] = new STCCGCard("Koroth", "Pe-K", "U", 1);
   basic.Cards[275] = new STCCGCard("Korris", "Pe-K", "U", 1);
   basic.Cards[276] = new STCCGCard("Kromm", "Pe-K", "C", 1);
   basic.Cards[277] = new STCCGCard("Kurak", "Pe-K", "R", 1);
   basic.Cards[278] = new STCCGCard("Kurn", "Pe-K", "R", 1);
   basic.Cards[279] = new STCCGCard("L'Kor", "Pe-K", "U", 1);
   basic.Cards[280] = new STCCGCard("Lursa", "Pe-K", "R", 1);
   basic.Cards[281] = new STCCGCard("Morag", "Pe-K", "U", 1);
   basic.Cards[282] = new STCCGCard("Nu'Daq", "Pe-K", "U", 1);
   basic.Cards[283] = new STCCGCard("Toq", "Pe-K", "U", 1);
   basic.Cards[284] = new STCCGCard("Torak", "Pe-K", "U", 1);
   basic.Cards[285] = new STCCGCard("Toral", "Pe-K", "U", 1);
   basic.Cards[286] = new STCCGCard("Torin", "Pe-K", "C", 1);
   basic.Cards[287] = new STCCGCard("Vagh", "Pe-K", "U", 1);
   basic.Cards[288] = new STCCGCard("Vekma", "Pe-K", "C", 1);
   basic.Cards[289] = new STCCGCard("Alidar Jarok", "Pe-R", "R", 1);
   basic.Cards[290] = new STCCGCard("Bochra", "Pe-R", "U", 1);
   basic.Cards[291] = new STCCGCard("Galathon", "Pe-R", "C", 1);
   basic.Cards[292] = new STCCGCard("Jaron", "Pe-R", "C", 1);
   basic.Cards[293] = new STCCGCard("Jera", "Pe-R", "C", 1);
   basic.Cards[294] = new STCCGCard("Mendak", "Pe-R", "R", 1);
   basic.Cards[295] = new STCCGCard("Mirok", "Pe-R", "U", 1);
   basic.Cards[296] = new STCCGCard("Movar", "Pe-R", "U", 1);
   basic.Cards[297] = new STCCGCard("N'Vek", "Pe-R", "U", 1);
   basic.Cards[298] = new STCCGCard("Neral", "Pe-R", "U", 1);
   basic.Cards[299] = new STCCGCard("Palteth", "Pe-R", "C", 1);
   basic.Cards[300] = new STCCGCard("Pardek", "Pe-R", "U", 1);
   basic.Cards[301] = new STCCGCard("Parem", "Pe-R", "U", 1);
   basic.Cards[302] = new STCCGCard("Sela", "Pe-R", "R", 1);
   basic.Cards[303] = new STCCGCard("Selok", "Pe-R", "C", 1);
   basic.Cards[304] = new STCCGCard("Taibak", "Pe-R", "U", 1);
   basic.Cards[305] = new STCCGCard("Takket", "Pe-R", "C", 1);
   basic.Cards[306] = new STCCGCard("Tallus", "Pe-R", "C", 1);
   basic.Cards[307] = new STCCGCard("Tarus", "Pe-R", "C", 1);
   basic.Cards[308] = new STCCGCard("Taul", "Pe-R", "C", 1);
   basic.Cards[309] = new STCCGCard("Tebok", "Pe-R", "U", 1);
   basic.Cards[310] = new STCCGCard("Thei", "Pe-R", "C", 1);
   basic.Cards[311] = new STCCGCard("Tokath", "Pe-R", "U", 1);
   basic.Cards[312] = new STCCGCard("Tomalak", "Pe-R", "R", 1);
   basic.Cards[313] = new STCCGCard("Tomek", "Pe-R", "C", 1);
   basic.Cards[314] = new STCCGCard("Toreth", "Pe-R", "R", 1);
   basic.Cards[315] = new STCCGCard("Varel", "Pe-R", "C", 1);
   basic.Cards[316] = new STCCGCard("Amarie", "Pe-N", "U", 1);
   basic.Cards[317] = new STCCGCard("Baran", "Pe-N", "U", 1);
   basic.Cards[318] = new STCCGCard("Bok", "Pe-N", "U", 1);
   basic.Cards[319] = new STCCGCard("Devinoni Ral", "Pe-N", "U", 1);
   basic.Cards[320] = new STCCGCard("Dr. Farek", "Pe-N", "C", 1);
   basic.Cards[321] = new STCCGCard("Dr. Reyga", "Pe-N", "U", 1);
   basic.Cards[322] = new STCCGCard("Etana Jol", "Pe-N", "U", 1);
   basic.Cards[323] = new STCCGCard("Evek", "Pe-N", "U", 1);
   warp.Cards[2] =
   basic.Cards[324] = new STCCGCard("Gorta", "Pe-N", "C", 1);
   basic.Cards[325] = new STCCGCard("Ishara Yar", "Pe-N", "U", 1);
   basic.Cards[326] = new STCCGCard("Jo'Bril", "Pe-N", "U", 1);
   basic.Cards[327] = new STCCGCard("Narik", "Pe-N", "C", 1);
   basic.Cards[328] = new STCCGCard("Ocett", "Pe-N", "U", 1);
   basic.Cards[329] = new STCCGCard("Roga Danar", "Pe-N", "R", 1);
   basic.Cards[330] = new STCCGCard("Vekor", "Pe-N", "C", 1);
   basic.Cards[331] = new STCCGCard("Runabout", "Sh-F", "C", 1);
   basic.Cards[332] = new STCCGCard("Type VI Shuttlecraft", "Sh-F", "C", 1);
   basic.Cards[333] = new STCCGCard("U.S.S. Brittain", "Sh-F", "R", 1);
   basic.Cards[334] = new STCCGCard("U.S.S. Enterprise", "Sh-F", "R", 1);
   basic.Cards[335] = new STCCGCard("U.S.S. Excelsior", "Sh-F", "C", 1);
   basic.Cards[336] = new STCCGCard("U.S.S. Galaxy", "Sh-F", "C", 1);
   basic.Cards[337] = new STCCGCard("U.S.S. Hood", "Sh-F", "R", 1);
   basic.Cards[338] = new STCCGCard("U.S.S. Miranda", "Sh-F", "C", 1);
   basic.Cards[339] = new STCCGCard("U.S.S. Nebula", "Sh-F", "C", 1);
   basic.Cards[340] = new STCCGCard("U.S.S. Oberth", "Sh-F", "C", 1);
   basic.Cards[341] = new STCCGCard("U.S.S. Phoenix", "Sh-F", "R", 1);
   basic.Cards[342] = new STCCGCard("U.S.S. Sutherland", "Sh-F", "U", 1);
   basic.Cards[343] = new STCCGCard("U.S.S. Yamato", "Sh-F", "R", 1);
   basic.Cards[344] = new STCCGCard("I.K.C. Bortas", "Sh-K", "R", 1);
   basic.Cards[345] = new STCCGCard("I.K.C. Buruk", "Sh-K", "R", 1);
   basic.Cards[346] = new STCCGCard("I.K.C. Hegh'ta", "Sh-K", "R", 1);
   basic.Cards[347] = new STCCGCard("I.K.C. K'Vort", "Sh-K", "C", 1);
   basic.Cards[348] = new STCCGCard("I.K.C. Pagh", "Sh-K", "R", 1);
   basic.Cards[349] = new STCCGCard("I.K.C. Qu'Vat", "Sh-K", "R", 1);
   basic.Cards[350] = new STCCGCard("I.K.C. Vor'Cha", "Sh-K", "C", 1);
   basic.Cards[351] = new STCCGCard("I.K.C. Vorn", "Sh-K", "U", 1);
   basic.Cards[352] = new STCCGCard("D'deridex", "Sh-R", "C", 1);
   basic.Cards[353] = new STCCGCard("Devoras", "Sh-R", "R", 1);
   basic.Cards[354] = new STCCGCard("Haakona", "Sh-R", "R", 1);
   basic.Cards[355] = new STCCGCard("Khazara", "Sh-R", "R", 1);
   basic.Cards[356] = new STCCGCard("Pi", "Sh-R", "R", 1);
   basic.Cards[357] = new STCCGCard("Science Vessel", "Sh-R", "C", 1);
   basic.Cards[358] = new STCCGCard("Scout Vessel", "Sh-R", "C", 1);
   basic.Cards[359] = new STCCGCard("Combat Vessel", "Sh-N", "C", 1);
   basic.Cards[360] = new STCCGCard("Husnock Ship", "Sh-N", "U", 1);
   basic.Cards[361] = new STCCGCard("Mercenary Ship", "Sh-N", "C", 1);
   basic.Cards[362] = new STCCGCard("Yridian Shuttle", "Sh-N", "C", 1);

   CountCards(basic);

   au.Cards[0] = new STCCGCard("Cryosatellite", "Ar", "R", 3);
   au.Cards[1] = new STCCGCard("Data's Head", "Ar", "R", 3);
   au.Cards[2] = new STCCGCard("Iconian Gateway", "Ar", "R", 3);
   au.Cards[3] = new STCCGCard("Ophidian Cane", "Ar", "U", 1); // acually rare, but on uncommon sheet
   au.Cards[4] = new STCCGCard("Receptacle Stones", "Ar", "R", 3);
   au.Cards[5] = new STCCGCard("Ressikan Flute", "Ar", "R", 3);
   au.Cards[6] = new STCCGCard("Samuel Clemens' Pocketwatch", "Ar", "R", 3);
   au.Cards[7] = new STCCGCard("Alien Labyrinth", "Di", "C", 3);
   au.Cards[8] = new STCCGCard("Cardassian Trap", "Di", "U", 3);
   au.Cards[9] = new STCCGCard("Coalescent Organism", "Di", "R", 3);
   au.Cards[10] = new STCCGCard("Conundrum", "Di", "C", 3);
   au.Cards[11] = new STCCGCard("Edo Probe", "Di", "U", 3);
   au.Cards[12] = new STCCGCard("Empathic Echo", "Di", "C", 3);
   au.Cards[13] = new STCCGCard("Ferengi Attack", "Di", "C", 3);
   au.Cards[14] = new STCCGCard("Frame of Mind", "Di", "U", 3);
   au.Cards[15] = new STCCGCard("Hidden Entrance", "Di", "C", 3);
   au.Cards[16] = new STCCGCard("Hunter Gangs", "Di", "C", 3);
   au.Cards[17] = new STCCGCard("Interphasic Plasma Creatures", "Di", "C", 3);
   au.Cards[18] = new STCCGCard("Malfunctioning Door", "Di", "C", 3);
   au.Cards[19] = new STCCGCard("Maman Picard", "Di", "U", 3);
   au.Cards[20] = new STCCGCard("Outpost Raid", "Di", "C", 3);
   au.Cards[21] = new STCCGCard("Parallel Romance", "Di", "U", 3);
   au.Cards[22] = new STCCGCard("Punishment Zone", "Di", "C", 3);
   au.Cards[23] = new STCCGCard("Quantum Singularity Lifeforms", "Di", "U", 3);
   au.Cards[24] = new STCCGCard("Rascals", "Di", "U", 3);
   au.Cards[25] = new STCCGCard("Royale Casino: Blackjack", "Di", "U", 3);
   au.Cards[26] = new STCCGCard("The Gatherers", "Di", "C", 3);
   au.Cards[27] = new STCCGCard("The Higher ... The Fewer", "Di", "U", 3);
   au.Cards[28] = new STCCGCard("Thought Fire", "Di", "C", 3);
   au.Cards[29] = new STCCGCard("Worshiper", "Di", "C", 3);
   au.Cards[30] = new STCCGCard("Zaldan", "Di", "U", 3);
   au.Cards[31] = new STCCGCard("Alternate Universe Door", "Do", "C", 4); // very common
   au.Cards[32] = new STCCGCard("Devidian Door", "Do", "R", 3);
   au.Cards[33] = new STCCGCard("Echo Papa 607 Killer Drone", "Eq", "R", 3);
   au.Cards[34] = new STCCGCard("I.P. Scanner", "Eq", "C", 3);
   au.Cards[35] = new STCCGCard("Baryon Buildup", "Ev", "C", 3);
   au.Cards[36] = new STCCGCard("Captain's Log", "Ev", "U", 3);
   au.Cards[37] = new STCCGCard("Engage Shuttle Operations", "Ev", "U", 3);
   au.Cards[38] = new STCCGCard("Interrogation", "Ev", "R", 3);
   au.Cards[39] = new STCCGCard("Intruder Force Field", "Ev", "U", 3);
   au.Cards[40] = new STCCGCard("Klim Dokachin", "Ev", "U", 3);
   au.Cards[41] = new STCCGCard("Lower Decks", "Ev", "U", 3);
   au.Cards[42] = new STCCGCard("Mot's Advice", "Ev", "U", 3);
   au.Cards[43] = new STCCGCard("Particle Scattering Field", "Ev", "C", 3);
   au.Cards[44] = new STCCGCard("Revolving Door", "Ev", "R", 3);
   au.Cards[45] = new STCCGCard("Rishon Uxbridge", "Ev", "C", 3);
   au.Cards[46] = new STCCGCard("The Charybdis", "Ev", "U", 3);
   au.Cards[47] = new STCCGCard("The Mask of Korgano", "Ev", "C", 3);
   au.Cards[48] = new STCCGCard("Thermal Deflectors", "Ev", "U", 3);
   au.Cards[49] = new STCCGCard("Wartime Conditions", "Ev", "R", 3);
   warp.Cards[11] =
   au.Cards[50] = new STCCGCard("Yellow Alert", "Ev", "C", 3);
   au.Cards[51] = new STCCGCard("Anti-Matter Spread", "In", "C", 3);
   au.Cards[52] = new STCCGCard("Barclay Transporter Phobia", "In", "U", 3);
   au.Cards[53] = new STCCGCard("Brain Drain", "In", "U", 3);
   warp.Cards[0] =
   au.Cards[54] = new STCCGCard("Countermanda", "In", "C", 3);
   au.Cards[55] = new STCCGCard("Dead in Bed", "In", "U", 3);
   au.Cards[56] = new STCCGCard("Destroy Radioactive Garbage Scow", "In", "C", 3);
   au.Cards[57] = new STCCGCard("Devidian Foragers", "In", "C", 3);
   au.Cards[58] = new STCCGCard("Eyes in the Dark", "In", "C", 3);
   au.Cards[59] = new STCCGCard("Fire Sculptor", "In", "C", 3);
   au.Cards[60] = new STCCGCard("Hail", "In", "C", 3);
   au.Cards[61] = new STCCGCard("Howard Heirloom Candle", "In", "C", 3);
   au.Cards[62] = new STCCGCard("Humuhumunukunukuapua'a", "In", "C", 3);
   au.Cards[63] = new STCCGCard("Incoming Message: Attack Authorization", "In", "U", 3);
   au.Cards[64] = new STCCGCard("Isabella", "In", "U", 3);
   au.Cards[65] = new STCCGCard("Jamaharon", "In", "C", 3);
   au.Cards[66] = new STCCGCard("Kevin Uxbridge: Convergence", "In", "C", 3);
   au.Cards[67] = new STCCGCard("La Forge Maneuver", "In", "U", 3);
   au.Cards[68] = new STCCGCard("Latinum Payoff", "In", "C", 3);
   au.Cards[69] = new STCCGCard("Phaser Burns", "In", "C", 3);
   au.Cards[70] = new STCCGCard("Rescue Captives", "In", "U", 3);
   au.Cards[71] = new STCCGCard("Romulan Ambush", "In", "U", 3);
   au.Cards[72] = new STCCGCard("Security Sacrifice", "In", "C", 3);
   au.Cards[73] = new STCCGCard("Seize Wesley", "In", "R", 3);
   au.Cards[74] = new STCCGCard("Senior Staff Meeting", "In", "U", 3);
   au.Cards[75] = new STCCGCard("Temporal Narcosis", "In", "U", 3);
   au.Cards[76] = new STCCGCard("Thine Own Self", "In", "C", 3);
   au.Cards[77] = new STCCGCard("Vorgon Raiders", "In", "R", 3);
   au.Cards[78] = new STCCGCard("Vulcan Nerve Pinch", "In", "C", 3);
   au.Cards[79] = new STCCGCard("Wolf", "In", "U", 3);
   au.Cards[80] = new STCCGCard("Brute Force", "Mi", "R", 3);
   au.Cards[81] = new STCCGCard("Compromised Mission", "Mi", "R", 3);
   au.Cards[82] = new STCCGCard("Diplomatic Conference", "Mi", "R", 3);
   au.Cards[83] = new STCCGCard("FGC-47 Research", "Mi", "R", 3);
   au.Cards[84] = new STCCGCard("Fissure Research", "Mi", "R", 3);
   au.Cards[85] = new STCCGCard("Qualor II Rendezvous", "Mi", "U", 3);
   au.Cards[86] = new STCCGCard("Quash Conspiracy", "Mi", "R", 3);
   au.Cards[87] = new STCCGCard("Reunion", "Mi", "R", 3);
   au.Cards[88] = new STCCGCard("Risa Shore Leave", "Mi", "R", 3);
   au.Cards[89] = new STCCGCard("Warped Space", "Mi", "R", 3);
   warp.Cards[5] =
   au.Cards[90] = new STCCGCard("Neutral Outpost", "Fa/Op", "C", 3);
   au.Cards[91] = new STCCGCard("Beverly Picard", "Pe-F", "R", 3);
   au.Cards[92] = new STCCGCard("Ian Andrew Troi", "Pe-F", "R", 3);
   au.Cards[93] = new STCCGCard("Jack Crusher", "Pe-F", "R", 3);
   au.Cards[94] = new STCCGCard("Lt. (j.g.) Picard", "Pe-F", "U", 3);
   warp.Cards[4] =
   au.Cards[95] = new STCCGCard("Montgomery Scott", "Pe-F", "C", 3);
   au.Cards[96] = new STCCGCard("Paul Rice", "Pe-F", "U", 3);
   au.Cards[97] = new STCCGCard("Rachel Garrett", "Pe-F", "R", 3);
   au.Cards[98] = new STCCGCard("Richard Castillo", "Pe-F", "U", 3);
   au.Cards[99] = new STCCGCard("Tasha Yar-Alternate", "Pe-F", "R", 3);
   au.Cards[100] = new STCCGCard("Governor Worf", "Pe-K", "R", 3);
   au.Cards[101] = new STCCGCard("K'mtar", "Pe-K", "R", 3);
   au.Cards[102] = new STCCGCard("Targ", "Pe-K", "C", 3);
   au.Cards[103] = new STCCGCard("Commander Tomalak", "Pe-R", "R", 3);
   au.Cards[104] = new STCCGCard("D'Tan", "Pe-R", "U", 3);
   au.Cards[105] = new STCCGCard("Major Rakal", "Pe-R/F", "R", 3);
   au.Cards[106] = new STCCGCard("Stefan DeSeve", "Pe-R/F", "R", 3);
   au.Cards[107] = new STCCGCard("Ajur", "Pe-N", "U", 3);
   au.Cards[108] = new STCCGCard("Berlingoff Rasmussen", "Pe-N", "R", 3);
   au.Cards[109] = new STCCGCard("Boratus", "Pe-N", "U", 3);
   au.Cards[110] = new STCCGCard("Dathon", "Pe-N", "R", 3);
   au.Cards[111] = new STCCGCard("Lakanta", "Pe-N", "U", 3);
   au.Cards[112] = new STCCGCard("Maques", "Pe-N", "U", 3);
   au.Cards[113] = new STCCGCard("Mickey D.", "Pe-N", "U", 3);
   au.Cards[114] = new STCCGCard("Future Enterprise", "Sh-F", "R", 1); // ultra-rare
   au.Cards[115] = new STCCGCard("U.S.S. Enterprise-C", "Sh-F", "R", 3);
   au.Cards[116] = new STCCGCard("I.K.C. Fek'lhr", "Sh-K", "R", 3);
   au.Cards[117] = new STCCGCard("I.K.C. K'Ratak", "Sh-K", "C", 3);
   au.Cards[118] = new STCCGCard("Decius", "Sh-R", "R", 3);
   au.Cards[119] = new STCCGCard("Edo Vessel", "Sh-N", "R", 3);
   au.Cards[120] = new STCCGCard("Gomtuu", "Sh-N", "R", 3);
   au.Cards[121] = new STCCGCard("Tama", "Sh-N", "U", 3);

   CountCards(au);

   qc.Cards[0] = new STCCGCard("Blade of Tkon", "Ar", "R", 3);
   qc.Cards[1] = new STCCGCard("Canar", "Ar", "R", 3);
   qc.Cards[2] = new STCCGCard("Mona Lisa", "Ar", "R", 3);
   qc.Cards[3] = new STCCGCard("Android Nightmares", "Di", "U", 3);
   qc.Cards[4] = new STCCGCard("Bendii Syndrome", "Di", "R", 3);
   qc.Cards[5] = new STCCGCard("Chinese Finger Puzzle", "Di", "C", 3);
   qc.Cards[6] = new STCCGCard("Go Back Whence Thou Camest", "Q-Di", "C", 3);
   qc.Cards[7] = new STCCGCard("Guilty - Provisionally", "Q-Di", "U", 3);
   qc.Cards[8] = new STCCGCard("His Honor, the High Sheriff of Nottingham", "Q-Di", "U", 3);
   qc.Cards[9] = new STCCGCard("Mandarin Bailiff", "Q-Di", "C", 3);
   qc.Cards[10] = new STCCGCard("Pla-Net", "Q-Di", "C", 3);
   qc.Cards[11] = new STCCGCard("Q's Vicious Animal Things", "Di", "U", 3);
   qc.Cards[12] = new STCCGCard("Royale Casino: Craps", "Di", "U", 3);
   qc.Cards[13] = new STCCGCard("Security Precautions", "Di", "C", 3);
   qc.Cards[14] = new STCCGCard("System-Wide Cascade Failure", "Di", "R", 3);
   qc.Cards[15] = new STCCGCard("The Sheliak", "Di", "R", 3);
   qc.Cards[16] = new STCCGCard("Yuta", "Di", "R", 3);
   qc.Cards[17] = new STCCGCard("Manheim's Dimensional Door", "Do", "R", 3);
   qc.Cards[18] = new STCCGCard("Q-Flash", "Do", "C", 4); // very common
   qc.Cards[19] = new STCCGCard("Q's Tent", "Do", "C", 3);
   qc.Cards[20] = new STCCGCard("Anti-Matter Pod", "Eq", "C", 3);
   qc.Cards[21] = new STCCGCard("Plasmadyne Relay", "Eq", "C", 3);
   qc.Cards[22] = new STCCGCard("Aldebaran Serpent", "Q-Ev", "C", 3);
   qc.Cards[23] = new STCCGCard("Amanda's Parents", "Q-Ev", "C", 3);
   qc.Cards[24] = new STCCGCard("Barber Pole", "Ev", "U", 3);
   qc.Cards[25] = new STCCGCard("Brainwash", "Ev", "R", 3);
   qc.Cards[26] = new STCCGCard("Calamarain", "Ev", "R", 3);
   qc.Cards[27] = new STCCGCard("Discommendation", "Ev", "U", 3);
   qc.Cards[28] = new STCCGCard("Door-Net", "Q-Ev", "C", 3);
   qc.Cards[29] = new STCCGCard("Doppelganger", "Ev", "R", 3);
   qc.Cards[30] = new STCCGCard("Drag Net", "Ev", "R", 3);
   qc.Cards[31] = new STCCGCard("Drought Tree", "Ev", "C", 3);
   qc.Cards[32] = new STCCGCard("Frigid", "Q-Ev", "U", 3);
   qc.Cards[33] = new STCCGCard("Heisenberg Compensators", "Ev", "U", 3);
   qc.Cards[34] = new STCCGCard("I Am Not a Merry Man", "Ev", "R", 3);
   qc.Cards[35] = new STCCGCard("Immortal Again", "Ev", "U", 3);
   qc.Cards[36] = new STCCGCard("Into the Breach", "Q-Ev", "C", 3);
   qc.Cards[37] = new STCCGCard("Jealous Amanda", "Q-Ev", "C", 3);
   qc.Cards[38] = new STCCGCard("Klingon Civil War", "Ev", "R", 3);
   qc.Cards[39] = new STCCGCard("Military Privilege", "Q-Ev", "C", 3);
   qc.Cards[40] = new STCCGCard("Penalty Box", "Q-Ev", "U", 3);
   qc.Cards[41] = new STCCGCard("Scottish Setter", "Q-Ev", "C", 3);
   qc.Cards[42] = new STCCGCard("Tijuana Crass", "Q-Ev", "C", 3);
   qc.Cards[43] = new STCCGCard("Transfiguration", "Ev", "U", 3);
   qc.Cards[44] = new STCCGCard("Trust Me", "Q-Ev", "C", 3);
   qc.Cards[45] = new STCCGCard("You Will In Time", "Q-Ev", "C", 3);
   qc.Cards[46] = new STCCGCard("Zalkonian Storage Capsule", "Ev", "R", 3);
   qc.Cards[47] = new STCCGCard("Arbiter of Succession", "In", "R", 3);
   qc.Cards[48] = new STCCGCard("Are These Truly Your Friends, Brother?", "Q-In", "C", 3);
   qc.Cards[49] = new STCCGCard("Data's Medals", "In", "C", 3);
   qc.Cards[50] = new STCCGCard("Dr. Q, Medicine Entity", "Q-In", "C", 3);
   qc.Cards[51] = new STCCGCard("End Transmission", "In", "C", 3);
   qc.Cards[52] = new STCCGCard("Gift of the Tormentor", "Q-In", "C", 3);
   qc.Cards[53] = new STCCGCard("Incoming Message - The Continuum", "Q-In", "C", 3);
   qc.Cards[54] = new STCCGCard("Klingon Painstik", "In", "U", 3);
   qc.Cards[55] = new STCCGCard("Lemon-Aid", "Q-In", "C", 3);
   qc.Cards[56] = new STCCGCard("Off Switch", "In", "C", 3);
   qc.Cards[57] = new STCCGCard("Parallax Arguers", "In", "C", 3);
   qc.Cards[58] = new STCCGCard("Plexing", "In", "C", 3);
   qc.Cards[59] = new STCCGCard("Subsection Q, Paragraph 10", "Q-In", "C", 3);
   qc.Cards[60] = new STCCGCard("The Higher...the Q-er", "Q-In", "C", 3);
   qc.Cards[61] = new STCCGCard("The Issue is Patriotism", "Q-In", "U", 3);
   qc.Cards[62] = new STCCGCard("The Naked Truth", "Q-In", "C", 3);
   qc.Cards[63] = new STCCGCard("Wesley Gets the Point", "Q-In", "U", 3);
   qc.Cards[64] = new STCCGCard("Where's Guinan?", "Q-In", "U", 3);
   qc.Cards[65] = new STCCGCard("Wrong Door", "In", "U", 3);
   qc.Cards[66] = new STCCGCard("Investigate Legend", "Mi", "R", 3);
   qc.Cards[67] = new STCCGCard("Nebula", "Mi", "C", 3);
   qc.Cards[68] = new STCCGCard("Paxan \"Wormhole\"", "Mi", "R", 3);
   qc.Cards[69] = new STCCGCard("Plague Planet", "Mi", "R", 3);
   qc.Cards[70] = new STCCGCard("Q's Planet", "Q-Mi", "U", 3);
   qc.Cards[71] = new STCCGCard("Samaritan Snare", "Mi", "R", 3);
   qc.Cards[72] = new STCCGCard("Space", "Mi", "C", 3);
   qc.Cards[73] = new STCCGCard("Tarchannen Study", "Mi", "R", 3);
   qc.Cards[74] = new STCCGCard("Gibson", "Pe-F", "C", 3);
   qc.Cards[75] = new STCCGCard("Juliana Tainer", "Pe-F", "R", 3);
   qc.Cards[76] = new STCCGCard("Katherine Pulaski", "Pe-F", "R", 3);
   qc.Cards[77] = new STCCGCard("Keiko O'Brien", "Pe-F", "R", 3);
   qc.Cards[78] = new STCCGCard("Lal", "Pe-F", "R", 3);
   qc.Cards[79] = new STCCGCard("Mirasta Yale", "Pe-F", "U", 3);
   qc.Cards[80] = new STCCGCard("Mordock", "Pe-F", "U", 3);
   qc.Cards[81] = new STCCGCard("Mr. Homn", "Pe-F", "R", 3);
   qc.Cards[82] = new STCCGCard("Rager", "Pe-F", "U", 3);
   qc.Cards[83] = new STCCGCard("Robin Lefler", "Pe-F", "U", 3);
   qc.Cards[84] = new STCCGCard("Sakkath", "Pe-F", "U", 3);
   qc.Cards[85] = new STCCGCard("Sonya Gomez", "Pe-F", "U", 3);
   qc.Cards[86] = new STCCGCard("T'Shanik", "Pe-F", "U", 3);
   qc.Cards[87] = new STCCGCard("Kahlest", "Pe-K", "U", 3);
   qc.Cards[88] = new STCCGCard("K'ChiQ", "Pe-K", "C", 3);
   qc.Cards[89] = new STCCGCard("Kitrick", "Pe-K", "U", 3);
   qc.Cards[90] = new STCCGCard("K'Nera", "Pe-K", "U", 3);
   qc.Cards[91] = new STCCGCard("Sirol", "Pe-R", "U", 3);
   qc.Cards[92] = new STCCGCard("Taris", "Pe-R", "R", 3);
   qc.Cards[93] = new STCCGCard("Telak", "Pe-R", "U", 3);
   qc.Cards[94] = new STCCGCard("Data's Body", "Pe-N", "U", 1); // rare but on uncommon sheet
   qc.Cards[95] = new STCCGCard("Galen", "Pe-N", "R", 3);
   qc.Cards[96] = new STCCGCard("Ira Graves", "Pe-N", "R", 3);
   qc.Cards[97] = new STCCGCard("Jenice Manheim", "Pe-N", "U", 3);
   qc.Cards[98] = new STCCGCard("John Doe", "Pe-N", "U", 3);
   qc.Cards[99] = new STCCGCard("Kareen Brianon", "Pe-N", "U", 3);
   qc.Cards[100] = new STCCGCard("Kova Tholl", "Pe-N", "U", 3);
   qc.Cards[101] = new STCCGCard("Madam Guinan", "Pe-N", "R", 3);
   qc.Cards[102] = new STCCGCard("Madred", "Pe-N", "R", 3);
   qc.Cards[103] = new STCCGCard("Marouk", "Pe-N", "U", 3);
   qc.Cards[104] = new STCCGCard("Mortal Q", "Pe-N", "R", 4); // slightly less rare
   qc.Cards[105] = new STCCGCard("Nick Locarno", "Pe-N", "R", 3);
   qc.Cards[106] = new STCCGCard("Paul Manheim", "Pe-N", "R", 3);
   qc.Cards[107] = new STCCGCard("Samuel Clemens", "Pe-N", "U", 3);
   qc.Cards[108] = new STCCGCard("Soong-Type Android", "Pe-N", "C", 3);
   qc.Cards[109] = new STCCGCard("Tarmin", "Pe-N", "R", 3);
   qc.Cards[110] = new STCCGCard("Timicin", "Pe-N", "U", 3);
   qc.Cards[111] = new STCCGCard("Ves Alkar", "Pe-N", "U", 3);
   qc.Cards[112] = new STCCGCard("Zon", "Pe-N", "R", 3);
   qc.Cards[113] = new STCCGCard("U.S.S. Stargazer", "Sh-F", "R", 3);
   qc.Cards[114] = new STCCGCard("I.K.C. Maht-H'a", "Sh-K", "R", 3);
   qc.Cards[115] = new STCCGCard("I.K.C. T'ong", "Sh-K", "U", 3);
   qc.Cards[116] = new STCCGCard("Terix", "Sh-R", "R", 3);
   qc.Cards[117] = new STCCGCard("T'Pau", "Sh-R", "U", 3);
   qc.Cards[118] = new STCCGCard("Zalkonian Vessel", "Sh-N", "C", 3);
   qc.Cards[119] = new STCCGCard("Colony", "Fa/St", "C", 3);
   qc.Cards[120] = new STCCGCard("Terraforming Station", "Fa/St", "R", 3);

   CountCards(qc);

   p2pg.Cards[0] = 
   warp.Cards[7] = new STCCGCard("Sensitive Search", "Mi", "C", 1);
   p2pg.Cards[1] = new STCCGCard("Spock", "Pe-F", "C", 1);
   p2pg.Cards[2] = new STCCGCard("Cargo Rendezvous", "Mi", "C", 1);
   p2pg.Cards[3] = new STCCGCard("Reported Activity", "Mi", "C", 1);
   p2pg.Cards[4] = new STCCGCard("Distress Mission", "Mi", "C", 1);
   p2pg.Cards[5] = new STCCGCard("Gravesworld", "Mi", "C", 1);
   p2pg.Cards[6] = new STCCGCard("Avert Danger", "Mi", "C", 1);
   p2pg.Cards[7] = new STCCGCard("Gault", "Mi", "C", 1);
   p2pg.Cards[8] = new STCCGCard("Reopen Dig", "Mi", "C", 1);
   p2pg.Cards[9] = new STCCGCard("Survey Instability", "Mi", "C", 1);
   p2pg.Cards[10] = new STCCGCard("Homeward", "Mi", "C", 1);
   p2pg.Cards[11] = new STCCGCard("Hostage Situation", "Mi", "C", 1);
   p2pg.Cards[12] = new STCCGCard("A Good Place To Die", "Mi", "C", 1);
   
   CountCards(p2pg);   

   anthology1.Cards[0] = new STCCGCard("Ensign Tuvok", "Pe-F", "R", 1);
   anthology1.Cards[1] = new STCCGCard("Dr. Telek R'Mor", "Pe-R", "R", 1);
   anthology1.Cards[2] = new STCCGCard("Thomas Paris", "Pe-N", "R", 1);
   anthology1.Cards[3] = new STCCGCard("Quark Son of Keldar", "Pe-K/Fg", "R", 1);
   anthology1.Cards[4] = new STCCGCard("Garak", "Pe-C/N", "R", 1);
   anthology1.Cards[5] = new STCCGCard("Orb of Prophecy and Change", "Ar", "R", 1);

   CountCards(anthology1);

   fc.Cards[0] = new STCCGCard('A Change of Plans', 'In', 'C', 1);
   fc.Cards[1] = new STCCGCard('Six of Seventeen', 'Pe-B', 'C', 1);
   fc.Cards[2] = new STCCGCard('Dr. Royse', 'Pe-F', 'C', 1);
   fc.Cards[3] = new STCCGCard('Eleven of Nineteen', 'Pe-B', 'C', 1);
   fc.Cards[4] = new STCCGCard('Eighteen of Nineteen', 'Pe-B', 'C', 1);
   fc.Cards[5] = new STCCGCard('Eight of Nineteen', 'Pe-B', 'C', 1);
   fc.Cards[6] = new STCCGCard('Six of Eleven', 'Pe-B', 'C', 1);
   fc.Cards[7] = new STCCGCard('Shot in the Back', 'Di', 'C', 1);
   fc.Cards[8] = new STCCGCard('Fifteen of Seventeen', 'Pe-B', 'C', 1);
   fc.Cards[9] = new STCCGCard('Nine of Eleven', 'Pe-B', 'C', 1);
   fc.Cards[10] = new STCCGCard('Sixteen of Nineteen', 'Pe-B', 'C', 1);
   fc.Cards[11] = new STCCGCard('Deactivation', 'In', 'C', 1);
   fc.Cards[12] = new STCCGCard('Establish Gateway', 'Ob', 'C', 1);
   fc.Cards[13] = new STCCGCard('Five of Eleven', 'Pe-B', 'C', 1);
   fc.Cards[14] = new STCCGCard('Borg Scout Vessel', 'Sh-B', 'C', 1);
   fc.Cards[15] = new STCCGCard('One of Eleven', 'Pe-B', 'C', 1);
   fc.Cards[16] = new STCCGCard('Obarakeh', 'Pe-F', 'C', 1);
   fc.Cards[17] = new STCCGCard('Activate Subcommands', 'Ev', 'C', 1);
   fc.Cards[18] = new STCCGCard('Maglock', 'Di', 'C', 1);
   fc.Cards[19] = new STCCGCard('Planet', 'Mi', 'C', 1);
   fc.Cards[20] = new STCCGCard('Lack of Preparation', 'Di', 'C', 1);
   fc.Cards[21] = new STCCGCard('Four of Eleven', 'Pe-B', 'C', 1);
   fc.Cards[22] = new STCCGCard('Joseph Travis', 'Pe-F', 'C', 1);
   fc.Cards[23] = new STCCGCard('Inge Eiger', 'Pe-F', 'C', 1);
   fc.Cards[24] = new STCCGCard('Richard Wilkins', 'Pe-F', 'C', 1);
   fc.Cards[25] = new STCCGCard('Borg Sphere', 'Sh-B', 'C', 1);
   fc.Cards[26] = new STCCGCard('Nine of Seventeen', 'Pe-B', 'C', 1);
   fc.Cards[27] = new STCCGCard('Awaken', 'In', 'C', 1);
   fc.Cards[28] = new STCCGCard('Two of Seventeen', 'Pe-B', 'C', 1);
   fc.Cards[29] = new STCCGCard('Assimilate Planet', 'Ob', 'C', 1);
   fc.Cards[30] = new STCCGCard('Two of Eleven', 'Pe-B', 'C', 1);
   fc.Cards[31] = new STCCGCard('Transwarp Network Gateway', 'Do', 'C', 1);
   fc.Cards[32] = new STCCGCard('Assign Mission Specialists', 'Ob', 'C', 1);
   fc.Cards[33] = new STCCGCard('Three of Nineteen', 'Pe-B', 'C', 1);
   fc.Cards[34] = new STCCGCard('Thirteen of Nineteen', 'Pe-B', 'C', 1);
   fc.Cards[35] = new STCCGCard('Ten of Nineteen', 'Pe-B', 'C', 1);
   fc.Cards[36] = new STCCGCard('Adapt: Negate Obstruction', 'In', 'C', 1);
   fc.Cards[37] = new STCCGCard('Borg Outpost', 'Fa/Op-B', 'C', 1);
   fc.Cards[38] = new STCCGCard('Two of Nineteen', 'Pe-B', 'C', 1);
   fc.Cards[39] = new STCCGCard('The Line Must Be Drawn Here', 'Ev', 'C', 1);
   fc.Cards[40] = new STCCGCard('Weak Spot', 'In', 'R', 1);
   fc.Cards[41] = new STCCGCard('Primitive Culture', 'Di', 'R', 1);
   fc.Cards[42] = new STCCGCard('Phoenix', 'Sh-N', 'R', 1);
   fc.Cards[43] = new STCCGCard('Wall of Ships', 'Ev', 'R', 1);
   fc.Cards[44] = new STCCGCard('Visit Cochrane Memorial', 'Ob', 'R', 1);
   fc.Cards[45] = new STCCGCard('Temporal Wake', 'In', 'R', 1);
   fc.Cards[46] = new STCCGCard('Paul Porter', 'Pe-F', 'R', 1);
   fc.Cards[47] = new STCCGCard('Ooby Dooby', 'Di', 'R', 1);
   fc.Cards[48] = new STCCGCard('William T. Riker [FC]', 'Pe-F', 'R', 1);
   fc.Cards[49] = new STCCGCard('Ocular Implants', 'Ev', 'R', 1);
   fc.Cards[50] = new STCCGCard('Worf [FC]', 'Pe-F', 'R', 1);
   fc.Cards[51] = new STCCGCard('Zefram Cochrane', 'Pe-N', 'R', 1);
   fc.Cards[52] = new STCCGCard("Queen's Borg Cube", 'Sh-B', 'R', 1);
   fc.Cards[53] = new STCCGCard('U.S.S. Enterprise-E', 'Sh-F', 'R', 1);
   fc.Cards[54] = new STCCGCard("Queen's Borg Sphere", 'Sh-B', 'R', 1);
   fc.Cards[55] = new STCCGCard('Shipwreck', 'In', 'R', 1);
   fc.Cards[56] = new STCCGCard('Stop First Contact', 'Ob', 'R', 1);
   fc.Cards[57] = new STCCGCard('Solkar', 'Pe-N', 'R', 1);
   fc.Cards[58] = new STCCGCard('Theta-Radiation Poisoning', 'Di', 'R', 1);
   fc.Cards[59] = new STCCGCard('Three-Dimensional Thinking', 'In', 'R', 1);
   fc.Cards[60] = new STCCGCard('Salvage Starship', 'Ob', 'R', 1);
   fc.Cards[61] = new STCCGCard('Scout Encounter', 'Di', 'R', 1);
   fc.Cards[62] = new STCCGCard('Regenerate', 'Ev', 'R', 1);
   fc.Cards[63] = new STCCGCard('Strict Dress Code', 'Di', 'R', 1);
   fc.Cards[64] = new STCCGCard('Undetected Beam-In', 'Di', 'R', 1);
   fc.Cards[65] = new STCCGCard('Retask', 'Ev', 'R', 1);
   fc.Cards[66] = new STCCGCard('Reginald Barclay [FC]', 'Pe-F', 'R', 1);
   fc.Cards[67] = new STCCGCard('Abandon Mission', 'Ev', 'R', 1);
   fc.Cards[68] = new STCCGCard("Zefram Cochrane's Telescope", 'Ar', 'R', 1);
   fc.Cards[69] = new STCCGCard('My First Raygun', 'Di', 'R', 1);
   fc.Cards[70] = new STCCGCard('Montana Missile Complex', 'Ti', 'R', 1);
   fc.Cards[71] = new STCCGCard('Borg Kiss', 'In', 'R', 1);
   fc.Cards[72] = new STCCGCard('Espionage Mission', 'Mi', 'R', 1);
   fc.Cards[73] = new STCCGCard('Beverly Crusher [FC]', 'Pe-F', 'R', 1);
   fc.Cards[74] = new STCCGCard('Borg Neuroprocessor', 'In', 'R', 1);
   fc.Cards[75] = new STCCGCard('Deanna Troi [FC]', 'Pe-F', 'R', 1);
   fc.Cards[76] = new STCCGCard('Assimilate Homeworld', 'Ob', 'R', 1);
   fc.Cards[77] = new STCCGCard('Data [FC]', 'Pe-F', 'R', 1);
   fc.Cards[78] = new STCCGCard('Borg Queen', 'Pe-B', 'R', 1);
   fc.Cards[79] = new STCCGCard('Geordi La Forge [FC]', 'Pe-F', 'R', 1);
   fc.Cards[80] = new STCCGCard('Assimilate This!', 'In', 'R', 1);
   fc.Cards[81] = new STCCGCard('Jean-Luc Picard [FC]', 'Pe-F', 'R', 1);
   fc.Cards[82] = new STCCGCard('Build Interplexing Beacon', 'Ob', 'R', 1);
   fc.Cards[83] = new STCCGCard('Alyssa Ogawa [FC]', 'Pe-F', 'R', 1);
   fc.Cards[84] = new STCCGCard('Android Headlock', 'In', 'R', 1);
   fc.Cards[85] = new STCCGCard("Alas, Poor Queen", 'In', 'R', 1);
   fc.Cards[86] = new STCCGCard('Lily Sloane', 'Pe-N', 'R', 1);
   fc.Cards[87] = new STCCGCard('Admiral Hayes', 'Pe-F', 'R', 1);
   fc.Cards[88] = new STCCGCard('Magic Carpet Ride OCD', 'Ar', 'R', 1)
   fc.Cards[89] = new STCCGCard('Antique Machine Gun', 'Ar', 'R', 1);
   fc.Cards[90] = new STCCGCard('Borg Cube', 'Sh-B', 'U', 1);
   fc.Cards[91] = new STCCGCard('Adapt: Modulate Shields', 'In', 'U', 1);
   fc.Cards[92] = new STCCGCard('Blended', 'Di', 'U', 1);
   fc.Cards[93] = new STCCGCard('Balancing Act', 'Di', 'U', 1);
   fc.Cards[94] = new STCCGCard('Thomas McClure', 'Pe-F', 'U', 1);
   fc.Cards[95] = new STCCGCard('Tommygun', 'Eq', 'U', 1);
   fc.Cards[96] = new STCCGCard('Assimilation Tubules', 'In', 'U', 1);
   fc.Cards[97] = new STCCGCard('Vulcan Lander', 'Sh-N', 'U', 1);
   fc.Cards[98] = new STCCGCard('Assimilation Table', 'Eq', 'U', 1);
   fc.Cards[99] = new STCCGCard('Temporal Vortex', 'Do', 'U', 1);
   fc.Cards[100] = new STCCGCard('Assimilate Starship', 'Ob', 'U', 1);
   fc.Cards[101] = new STCCGCard('U.S.S. Bozeman', 'Sh-F', 'U', 1);
   fc.Cards[102] = new STCCGCard('Assimilate Counterpart', 'Ob', 'U', 1);
   fc.Cards[103] = new STCCGCard('Dead End', 'Di', 'U', 1);
   fc.Cards[104] = new STCCGCard("T'Shonra", 'Pe-N', 'U', 1);
   fc.Cards[105] = new STCCGCard('Borg Servo', 'Di', 'U', 1);
   fc.Cards[106] = new STCCGCard('Kathleen Tonell', 'Pe-N', 'U', 1);
   fc.Cards[107] = new STCCGCard("I'm a Doctor, Not a Doorstop", 'In', 'U', 1);
   fc.Cards[108] = new STCCGCard('Intermix Ratio', 'Ev', 'U', 1);
   fc.Cards[109] = new STCCGCard('Prepare Assault Teams', 'Ob', 'U', 1);
   fc.Cards[110] = new STCCGCard('Lightner', 'Pe-F', 'U', 1);
   fc.Cards[111] = new STCCGCard('Launch Portal', 'Do', 'U', 1);
   fc.Cards[112] = new STCCGCard('He Will Make an Excellent Drone', 'In', 'U', 1);
   fc.Cards[113] = new STCCGCard('Patrol Neutral Zone', 'Mi', 'U', 1);
   fc.Cards[114] = new STCCGCard('Lisa Azar', 'Pe-F', 'U', 1);
   fc.Cards[115] = new STCCGCard('Mirror Image', 'Ev', 'U', 1);
   fc.Cards[116] = new STCCGCard('Ready Room Door', 'Do', 'U', 1);
   fc.Cards[117] = new STCCGCard('Hawk', 'Pe-F', 'U', 1);
   fc.Cards[118] = new STCCGCard('Starfleet Type III Phaser Rifle', 'Eq', 'U', 1);
   fc.Cards[119] = new STCCGCard('E.M.H. Program', 'Pe-F', 'U', 1);
   fc.Cards[120] = new STCCGCard('Mission Debriefing', 'Ev', 'U', 1);
   fc.Cards[121] = new STCCGCard('Disengage Safety Protocols', 'Ev', 'U', 1);
   fc.Cards[122] = new STCCGCard("Don't Call Me Ahab", 'Di', 'U', 1);
   fc.Cards[123] = new STCCGCard('Sense the Borg', 'In', 'U', 1);
   fc.Cards[124] = new STCCGCard('Sevek', 'Pe-N', 'U', 1);
   fc.Cards[125] = new STCCGCard('Remodulation', 'In', 'U', 1);
   fc.Cards[126] = new STCCGCard('Eliminate Starship', 'Ob', 'U', 1);
   fc.Cards[127] = new STCCGCard('Scorched Hand', 'In', 'U', 1);
   fc.Cards[128] = new STCCGCard('Fractal Encryption Code', 'In', 'U', 1);
   fc.Cards[129] = new STCCGCard('Mercy Kill', 'In', 'U', 1);

   CountCards(fc);

   fajo.Cards[0] = new STCCGCard("1962 Rogar Maris Baseball Card", "Ar", "R", 1);
   fajo.Cards[1] = new STCCGCard("Black Hole", "Do", "R", 1);
   fajo.Cards[2] = new STCCGCard("Dixon Hill's Business Card", "In/Ev", "R", 1);
   fajo.Cards[3] = new STCCGCard("DNA Metamorphosis", "Di", "R", 1);
   fajo.Cards[4] = new STCCGCard("Dr. Soong", "Pe-N", "R", 1);
   fajo.Cards[5] = new STCCGCard("Guinan", "Pe-F", "R", 1);
   fajo.Cards[6] = new STCCGCard("I.K.C. Chang", "Sh-K", "R", 1);
   fajo.Cards[7] = new STCCGCard("Kivas Fajo", "Pe-N", "R", 1);
   fajo.Cards[8] = new STCCGCard("Locutus of Borg", "Pe-B", "R", 1);
   fajo.Cards[9] = new STCCGCard("Lore", "Pe-N", "R", 1);
   fajo.Cards[10] = new STCCGCard("Miles O'Brien", "Pe-F", "R", 1);
   fajo.Cards[11] = new STCCGCard("Persistence of Memory", "Ar", "R", 1);
   fajo.Cards[12] = new STCCGCard("Picard's Artifical Heart", "Q-Ar", "R", 1);
   fajo.Cards[13] = new STCCGCard("Qapla'!", "In", "R", 1);
   fajo.Cards[14] = new STCCGCard("Sisters of Duras", "Pe-R/K", "R", 1);
   fajo.Cards[15] = new STCCGCard("Spot", "Pe-Ne", "R", 1);
   fajo.Cards[16] = new STCCGCard("Tallera", "Pe-R/F/N", "R", 1);
   fajo.Cards[17] = new STCCGCard("U.S.S. Pasteur", "Sh-F", "R", 1);

   CountCards(fajo);

   otsd.Cards[0] = new STCCGCard("Abandon Ship!", "Di", "R", 1);
   otsd.Cards[1] = new STCCGCard("Armus - Sticky Situation", "Di", "R", 1);
   otsd.Cards[2] = new STCCGCard("Darmok", "Sh-N", "R", 1);
   otsd.Cards[3] = new STCCGCard("Establish Relations", "Mi", "R", 1);
   otsd.Cards[4] = new STCCGCard("Explore Interstellar Matter", "Mi", "R", 1);
   otsd.Cards[5] = new STCCGCard("Hide and Seek", "Q-Di/Ev", "R", 1);
   otsd.Cards[6] = new STCCGCard("Hippocratic Oath", "Di", "R", 1);
   otsd.Cards[7] = new STCCGCard("Husnock Outpost", "Fa/Op-N", "R", 1);
   otsd.Cards[8] = new STCCGCard("Impose Order", "Mi", "R", 1);
   otsd.Cards[9] = new STCCGCard("Investigate Incursion", "Mi", "R", 1);
   otsd.Cards[10] = new STCCGCard("Make Us Go", "Di", "R", 1);
   otsd.Cards[11] = new STCCGCard("Mineral Survey", "Mi", "R", 1);
   otsd.Cards[12] = new STCCGCard("Open Diplomatic Relations", "Ob", "R", 1);
   otsd.Cards[13] = new STCCGCard("Reflection Therapy", "Ob", "R", 1);
   otsd.Cards[14] = new STCCGCard("Spacedoor", "Do", "R", 1);
   otsd.Cards[15] = new STCCGCard("Space-Time Portal", "Do", "R", 1);
   otsd.Cards[16] = new STCCGCard("Suna", "Pe-N", "R", 1);
   otsd.Cards[17] = new STCCGCard("Test Propulsion Systems", "Mi", "R", 1);
   otsd.Cards[18] = new STCCGCard("Treaty: Federation/Romulan/Klingon", "Ev", "R", 1);
   otsd.Cards[19] = new STCCGCard("Unscientific Method", "Di", "R", 1);

   awayteam.Cards[0] = new STCCGCard("The Emissary", "Pe-Bj/F", "R", 1);
   awayteam.Cards[1] = new STCCGCard("The Traveler", "Pe-N", "R", 1);

   ds9.Cards[0] = new STCCGCard("Aamin Marritza", "Pe-C", "R", 1);
   ds9.Cards[1] = new STCCGCard("Access Relay Station", "Mi", "R", 1);
   ds9.Cards[2] = new STCCGCard("Activate Tractor Beam", "In", "C", 1);
   ds9.Cards[3] = new STCCGCard("Aid Fugitives", "Mi", "R", 1);
   ds9.Cards[4] = new STCCGCard("Airlock", "Do", "R", 1);
   ds9.Cards[5] = new STCCGCard("Aldara", "Sh-C", "R", 1);
   ds9.Cards[6] = new STCCGCard("Alien Gambling Device", "Ar", "R", 1);
   ds9.Cards[7] = new STCCGCard("Alter Records", "Mi", "U", 1);
   ds9.Cards[8] = new STCCGCard("Altonian Brain Teaser", "Di", "U", 1);
   ds9.Cards[9] = new STCCGCard("Altovar", "P-Ne", "R", 1);
   ds9.Cards[10] = new STCCGCard("Amaros", "Pe-N", "C", 1);
   ds9.Cards[11] = new STCCGCard("Anara", "Pe-Bj", "C", 1);
   ds9.Cards[12] = new STCCGCard("Angry Mob", "Di", "C", 1);
   ds9.Cards[13] = new STCCGCard("Aphasia Device", "Di", "C", 1);
   ds9.Cards[14] = new STCCGCard("Ari", "Pe-C", "C", 1);
   ds9.Cards[15] = new STCCGCard("Arms Deal", "Di", "U", 1);
   ds9.Cards[16] = new STCCGCard("Assassin's Blade", "Di", "C", 1);
   ds9.Cards[17] = new STCCGCard("Assault Vessel", "Sh-Bj", "C", 1);
   ds9.Cards[18] = new STCCGCard("Automated Security System", "Ev", "R", 1);
   ds9.Cards[19] = new STCCGCard("Bajoran Civil War", "Ev", "R", 1);
   ds9.Cards[20] = new STCCGCard("Bajoran Freighter", "Sh-Bj", "C", 1);
   ds9.Cards[21] = new STCCGCard("Bajoran Interceptor", "Sh-Bj", "U", 1);
   ds9.Cards[22] = new STCCGCard("Bajoran Outpost", "Fa/Op-Bj", "C", 1);
   ds9.Cards[23] = new STCCGCard("Bajoran PADD", "Eq", "C", 1);
   ds9.Cards[24] = new STCCGCard("Bajoran Phaser", "Eq", "C", 1);
   ds9.Cards[25] = new STCCGCard("Bajoran Phaser Rifle", "Eq", "U", 1);
   ds9.Cards[26] = new STCCGCard("Bajoran Scout Vessel", "Sh-Bj", "U", 1);
   ds9.Cards[27] = new STCCGCard("Bajoran Wormhole", "Do", "U", 1);
   ds9.Cards[28] = new STCCGCard("Bareil Antos", "Pe-Bj", "R", 1);
   ds9.Cards[29] = new STCCGCard("Baseball", "In", "R", 1);
   ds9.Cards[30] = new STCCGCard("Benjamin Sisko", "Pe-F", "R", 1);
   ds9.Cards[31] = new STCCGCard("Beware of Q", "Ob", "C", 1);
   ds9.Cards[32] = new STCCGCard("Bo'rak", "Pe-K", "R", 1);
   ds9.Cards[33] = new STCCGCard("Boheeka", "Pe-C", "R", 1);
   ds9.Cards[34] = new STCCGCard("Borad", "Pe-C", "R", 1);
   ds9.Cards[35] = new STCCGCard("Brief Romance", "Di", "C", 1);
   ds9.Cards[36] = new STCCGCard("Camping Trip", "Mi", "R", 1);
   ds9.Cards[37] = new STCCGCard("Cardassian Disruptor", "Eq", "C", 1);
   ds9.Cards[38] = new STCCGCard("Cardassian Disruptor Rifle", "Eq", "U", 1);
   ds9.Cards[39] = new STCCGCard("Cardassian Outpost", "Fa/Op-C", "C", 1);
   ds9.Cards[40] = new STCCGCard("Cardassian PADD", "Eq", "C", 1);
   ds9.Cards[41] = new STCCGCard("Cardassian Shuttle", "Sh-C", "C", 1);
   ds9.Cards[42] = new STCCGCard("Central Command", "Fa/HQ-C", "R", 1);
   ds9.Cards[43] = new STCCGCard("Cha'Joh", "Sh-R/K", "R", 1);
   ds9.Cards[44] = new STCCGCard("Chamber of Ministers", "Fa/HQ-Bj", "R", 1);
   ds9.Cards[45] = new STCCGCard("Changeling Research", "Mi", "R", 1);
   ds9.Cards[46] = new STCCGCard("Clan People", "Di", "C", 1);
   ds9.Cards[47] = new STCCGCard("Colonel Day", "Pe-Bj", "R", 1);
   ds9.Cards[48] = new STCCGCard("Colony Preparations", "Mi", "U", 1);
   ds9.Cards[49] = new STCCGCard("Commander's Office", "Si", "U", 1);
   ds9.Cards[50] = new STCCGCard("Common Thief", "Di", "C", 1);
   ds9.Cards[51] = new STCCGCard("Computer Crash", "Ev", "U", 1);
   ds9.Cards[52] = new STCCGCard("Coutu", "Pe-N", "C", 1);
   ds9.Cards[53] = new STCCGCard("Cure Blight", "Mi", "R", 1);
   ds9.Cards[54] = new STCCGCard("D'Ghor", "Pe-K", "R", 1);
   ds9.Cards[55] = new STCCGCard("Dakol", "Pe-C", "C", 1);
   ds9.Cards[56] = new STCCGCard("Dal'Rok", "Di", "U", 1);
   ds9.Cards[57] = new STCCGCard("Danar", "Pe-C", "R", 1);
   ds9.Cards[58] = new STCCGCard("Deep Space 9/Terok Nor", "Fa/St-Bj/C", "R", 1);
   ds9.Cards[59] = new STCCGCard("Defiant Dedication Plaque", "Ev", "R", 1);
   ds9.Cards[60] = new STCCGCard("Derell", "Pe-C", "C", 1);
   ds9.Cards[61] = new STCCGCard("DNA Clues", "Di", "R", 1);
   ds9.Cards[62] = new STCCGCard("Docking Pads", "Si", "U", 1);
   ds9.Cards[63] = new STCCGCard("Docking Ports", "Si", "C", 1);
   ds9.Cards[64] = new STCCGCard("Docking Procedures", "In", "C", 1);
   ds9.Cards[65] = new STCCGCard("Docking Pylons", "Si", "U", 1);
   ds9.Cards[66] = new STCCGCard("Dr. Nydom", "Pe-N", "C", 1);
   ds9.Cards[67] = new STCCGCard("Dropping In", "In", "U", 1);
   ds9.Cards[68] = new STCCGCard("Dukat", "Pe-C", "R", 1);
   ds9.Cards[69] = new STCCGCard("Duonetic Field Generator", "Di", "U", 1);
   ds9.Cards[70] = new STCCGCard("Duranja", "Ev", "R", 1);
   ds9.Cards[71] = new STCCGCard("E'Tyshra", "Pe-N", "U", 1);
   ds9.Cards[72] = new STCCGCard("Elim Garak", "Pe-C", "R", 1);
   ds9.Cards[73] = new STCCGCard("Enabran Tain", "Pe-C", "R", 1);
   ds9.Cards[74] = new STCCGCard("Engineering Tricorder", "Eq", "C", 1);
   ds9.Cards[75] = new STCCGCard("Entek", "Pe-C", "R", 1);
   ds9.Cards[76] = new STCCGCard("Espionage: Bajoran on Cardassian", "Ev", "U", 1);
   ds9.Cards[77] = new STCCGCard("Espionage: Cardassian on Bajoran", "Ev", "U", 1);
   ds9.Cards[78] = new STCCGCard("Espionage: Cardassian on Federation", "Ev", "U", 1);
   ds9.Cards[79] = new STCCGCard("Espionage: Cardassian on Klingon", "Ev", "U", 1);
   ds9.Cards[80] = new STCCGCard("Espionage: Romulan on Bajoran", "Ev", "U", 1);
   ds9.Cards[81] = new STCCGCard("Espionage: Romulan on Cardassian", "Ev", "U", 1);
   ds9.Cards[82] = new STCCGCard("Establish Landing Protocols", "Ev", "C", 1);
   ds9.Cards[83] = new STCCGCard("Establish Tractor Lock", "Ob", "R", 1);
   ds9.Cards[84] = new STCCGCard("Explore Gamma Quadrant", "Ob", "U", 1);
   ds9.Cards[85] = new STCCGCard("Extradition", "Di", "U", 1);
   ds9.Cards[86] = new STCCGCard("Extraordinary Methods", "In", "U", 1);
   ds9.Cards[87] = new STCCGCard("Fightin' Words", "Q-Di", "U", 1);
   ds9.Cards[88] = new STCCGCard("File Mission Report", "Ob", "U", 1);
   ds9.Cards[89] = new STCCGCard("Flaxian Assassin", "Di", "U", 1);
   ds9.Cards[90] = new STCCGCard("Flaxian Scout Vessel", "Sh-N", "C", 1);
   ds9.Cards[91] = new STCCGCard("Framed for Murder", "Di", "U", 1);
   ds9.Cards[92] = new STCCGCard("Galor", "Sh-C", "C", 1);
   ds9.Cards[93] = new STCCGCard("Garak Has Some Issues", "Di", "R", 1);
   ds9.Cards[94] = new STCCGCard("Garak's Tailor Shop", "Si", "R", 1);
   ds9.Cards[95] = new STCCGCard("Garanian Bolites", "Di", "C", 1);
   ds9.Cards[96] = new STCCGCard("General Krim", "Pe-Bj", "R", 1);
   ds9.Cards[97] = new STCCGCard("Ghoren", "Pe-C", "C", 1);
   ds9.Cards[98] = new STCCGCard("Gilora Rejal", "Pe-C", "R", 1);
   ds9.Cards[99] = new STCCGCard("Going to the Top", "In", "R", 1);
   ds9.Cards[100] = new STCCGCard("Graham Davis", "Pe-F", "C", 1);
   ds9.Cards[101] = new STCCGCard("Grilka", "Pe-K", "R", 1);
   ds9.Cards[102] = new STCCGCard("Groumall", "Sh-C", "R", 1);
   ds9.Cards[103] = new STCCGCard("Guest Quarters", "Si", "U", 1);
   ds9.Cards[104] = new STCCGCard("Harvester Virus", "Di", "R", 1);
   ds9.Cards[105] = new STCCGCard("Hate Crime", "Di", "U", 1);
   ds9.Cards[106] = new STCCGCard("Hidden Fighter", "In", "U", 1);
   ds9.Cards[107] = new STCCGCard("Hogue", "Pe-C", "U", 1);
   ds9.Cards[108] = new STCCGCard("HQ: Defensive Measures", "Ob", "U", 1);
   ds9.Cards[109] = new STCCGCard("HQ: Return Orb to Bajor", "Ob", "R", 1);
   ds9.Cards[110] = new STCCGCard("HQ: Secure Homeworld", "Ob", "U", 1);
   ds9.Cards[111] = new STCCGCard("HQ: War Room", "Ev", "U", 1);
   ds9.Cards[112] = new STCCGCard("Hypospray", "Eq", "U", 1);
   ds9.Cards[113] = new STCCGCard("I Tried to Warn You", "Q-Di", "U", 1);
   ds9.Cards[114] = new STCCGCard("I.K.C. Toh'Kaht", "Sh-K", "R", 1);
   ds9.Cards[115] = new STCCGCard("Incoming Message - Bajoran", "In", "U", 1);
   ds9.Cards[116] = new STCCGCard("Incoming Message - Cardassian", "In", "U", 1);
   ds9.Cards[117] = new STCCGCard("Infirmary", "Si", "U", 1);
   ds9.Cards[118] = new STCCGCard("Investigate Rumors", "Mi", "R", 1);
   ds9.Cards[119] = new STCCGCard("Isolinear Puzzle", "Di", "C", 1);
   ds9.Cards[120] = new STCCGCard("Jabara", "Pe-Bj", "U", 1);
   ds9.Cards[121] = new STCCGCard("Jace Michaels", "Pe-F", "C", 1);
   ds9.Cards[122] = new STCCGCard("Jadzia Dax", "Pe-F", "R", 1);
   ds9.Cards[123] = new STCCGCard("Jaheel", "Pe-N", "C", 1);
   ds9.Cards[124] = new STCCGCard("Jake and Nog", "Pe-F/Fg", "R", 1);
   ds9.Cards[125] = new STCCGCard("Jaro Essa", "Pe-Bj", "R", 1);
   ds9.Cards[126] = new STCCGCard("Jasad", "Pe-C", "U", 1);
   ds9.Cards[127] = new STCCGCard("Julian Bashir", "Pe-F", "R", 1);
   ds9.Cards[128] = new STCCGCard("Jural", "Pe-C", "C", 1);
   ds9.Cards[129] = new STCCGCard("Kai Opaka", "Pe-Bj", "R", 1);
   ds9.Cards[130] = new STCCGCard("Kalita", "Pe-N", "C", 1);
   ds9.Cards[131] = new STCCGCard("Kallis Ven", "Pe-Bj", "C", 1);
   ds9.Cards[132] = new STCCGCard("Karen Loews", "Pe-F", "C", 1);
   ds9.Cards[133] = new STCCGCard("Karina", "Pe-R", "R", 1);
   ds9.Cards[134] = new STCCGCard("Kidnappers", "Di", "C", 1);
   ds9.Cards[135] = new STCCGCard("Kira Nerys", "Pe-Bj", "R", 1);
   ds9.Cards[136] = new STCCGCard("Klaestron Outpost", "Fa/Op-F/C", "C", 1);
   ds9.Cards[137] = new STCCGCard("Korinas", "Pe-C", "R", 1);
   ds9.Cards[138] = new STCCGCard("Kotran Pa'Dar", "Pe-C", "U", 1);
   ds9.Cards[139] = new STCCGCard("Kovat", "Pe-C", "R", 1);
   ds9.Cards[140] = new STCCGCard("Lenaris Holem", "Pe-Bj", "R", 1);
   ds9.Cards[141] = new STCCGCard("Lethean Telepathic Attack", "Di", "U", 1);
   ds9.Cards[142] = new STCCGCard("Li Nalas", "Pe-Bj", "R", 1);
   ds9.Cards[143] = new STCCGCard("Lockbox", "Di", "C", 1);
   ds9.Cards[144] = new STCCGCard("Lojal", "Pe-F", "C", 1);
   ds9.Cards[145] = new STCCGCard("Magnetic North", "In", "U", 1);
   ds9.Cards[146] = new STCCGCard("Makbar", "Pe-C", "R", 1);
   ds9.Cards[147] = new STCCGCard("Martus Mazur", "Pe-N", "R", 1);
   ds9.Cards[148] = new STCCGCard("Medical PADD", "Eq", "U", 1);
   ds9.Cards[149] = new STCCGCard("Military Freighter", "Sh-C", "U", 1);
   ds9.Cards[150] = new STCCGCard("Minister Rozahn", "Pe-Bj", "C", 1);
   ds9.Cards[151] = new STCCGCard("Miradorn Raider", "Sh-N", "U", 1);
   ds9.Cards[152] = new STCCGCard("Misguided Activist", "Di", "C", 1);
   ds9.Cards[153] = new STCCGCard("Mora Pol", "Pe-Bj", "R", 1);
   ds9.Cards[154] = new STCCGCard("Morka", "Pe-K", "R", 1);
   ds9.Cards[155] = new STCCGCard("Mysterious Orb", "Ar", "R", 1);
   ds9.Cards[156] = new STCCGCard("Nalan Bal", "Pe-Bj", "C", 1);
   ds9.Cards[157] = new STCCGCard("Natima Lang", "Pe-C", "R", 1);
   ds9.Cards[158] = new STCCGCard("Navigate Plasma Storms", "Ob", "U", 1);
   ds9.Cards[159] = new STCCGCard("Neela", "Pe-Bj", "R", 1);
   ds9.Cards[160] = new STCCGCard("No Loose Ends", "Di", "R", 1);
   ds9.Cards[161] = new STCCGCard("None Shall Pass", "Di", "C", 1);
   ds9.Cards[162] = new STCCGCard("Nor", "Fa/St-C", "C", 1);
   ds9.Cards[163] = new STCCGCard("Odo", "Pe-Bj", "R", 1);
   ds9.Cards[164] = new STCCGCard("Odo's \"Cousin\"", "Di", "U", 1);
   ds9.Cards[165] = new STCCGCard("Oof!", "In", "U", 1);
   ds9.Cards[166] = new STCCGCard("Ops", "Si", "C", 1);
   ds9.Cards[167] = new STCCGCard("Orb Experience", "In", "U", 1);
   ds9.Cards[168] = new STCCGCard("Orb Fragment", "Ar", "R", 1);
   ds9.Cards[169] = new STCCGCard("Orb Negotiations", "Mi", "U", 1);
   ds9.Cards[170] = new STCCGCard("Ore Processing Unit", "Si", "U", 1);
   ds9.Cards[171] = new STCCGCard("Orren Ran", "Pe-F", "C", 1);
   ds9.Cards[172] = new STCCGCard("Pallra", "Pe-Bj", "R", 1);
   ds9.Cards[173] = new STCCGCard("Parn", "Pe-C", "C", 1);
   ds9.Cards[174] = new STCCGCard("Paxton Reese", "Pe-F", "C", 1);
   ds9.Cards[175] = new STCCGCard("Perak", "Pe-C", "C", 1);
   ds9.Cards[176] = new STCCGCard("Plain, Simple Garak", "Pe-C", "R", 1);
   ds9.Cards[177] = new STCCGCard("Plans of the Obsidian Order", "Ob", "R", 1);
   ds9.Cards[178] = new STCCGCard("Plans of the Tal Shiar", "Ob", "R", 1);
   ds9.Cards[179] = new STCCGCard("Prakesh", "Sh-C", "R", 1);
   ds9.Cards[180] = new STCCGCard("Preparation", "In", "U", 1);
   ds9.Cards[181] = new STCCGCard("Process Ore", "Ob", "U", 1);
   ds9.Cards[182] = new STCCGCard("Promenade Shops", "Si", "U", 1);
   ds9.Cards[183] = new STCCGCard("Protouniverse", "In", "R", 1);
   ds9.Cards[184] = new STCCGCard("Prylar Mond", "Pe-Bj", "C", 1);
   ds9.Cards[185] = new STCCGCard("Punishment Box", "Di", "U", 1);
   ds9.Cards[186] = new STCCGCard("\"Pup\"", "Di", "R", 1);
   ds9.Cards[187] = new STCCGCard("Rano Dake", "Pe-Bj", "C", 1);
   ds9.Cards[188] = new STCCGCard("Rase Norvan", "Pe-Bj", "C", 1);
   ds9.Cards[189] = new STCCGCard("Rax'Na", "Pe-N", "C", 1);
   ds9.Cards[190] = new STCCGCard("Razka Karn", "Pe-Bj", "R", 1);
   ds9.Cards[191] = new STCCGCard("Reaction Control Thrusters", "Ev", "C", 1);
   ds9.Cards[192] = new STCCGCard("Reclamation", "In", "C", 1);
   ds9.Cards[193] = new STCCGCard("Recruit Mercenaries", "Ev", "R", 1);
   ds9.Cards[194] = new STCCGCard("Rekelen", "Pe-C", "C", 1);
   ds9.Cards[195] = new STCCGCard("Renewal Scroll", "Ev", "U", 1);
   ds9.Cards[196] = new STCCGCard("Rescue Personnel", "Ob", "R", 1);
   ds9.Cards[197] = new STCCGCard("Retaya", "Pe-N", "R", 1);
   ds9.Cards[198] = new STCCGCard("Rhetorical Question", "Q-Di", "U", 1);
   ds9.Cards[199] = new STCCGCard("Rigelian Freighter", "Sh-N", "C", 1);
   ds9.Cards[200] = new STCCGCard("Rinnak Pire", "Pe-Bj", "C", 1);
   ds9.Cards[201] = new STCCGCard("Rionoj", "Pe-N", "C", 1);
   ds9.Cards[202] = new STCCGCard("Risky Business", "Q-Di", "U", 1);
   ds9.Cards[203] = new STCCGCard("Ruwon", "Pe-R", "R", 1);
   ds9.Cards[204] = new STCCGCard("Sakonna", "Pe-N", "R", 1);
   ds9.Cards[205] = new STCCGCard("Saltah'na Clock", "Ar", "R", 1);
   ds9.Cards[206] = new STCCGCard("Science Kit", "Eq", "C", 1);
   ds9.Cards[207] = new STCCGCard("Science Lab", "Si", "U", 1);
   ds9.Cards[208] = new STCCGCard("Science PADD", "Eq", "U", 1);
   ds9.Cards[209] = new STCCGCard("Secret Compartment", "Do", "R", 1);
   ds9.Cards[210] = new STCCGCard("Security Office", "Si", "U", 1);
   ds9.Cards[211] = new STCCGCard("Seismic Quake", "Di", "R", 1);
   ds9.Cards[212] = new STCCGCard("Selveth", "Pe-R", "R", 1);
   ds9.Cards[213] = new STCCGCard("Shakaar Edon", "Pe-Bj", "R", 1);
   ds9.Cards[214] = new STCCGCard("Sharat", "Pe-N", "U", 1);
   ds9.Cards[215] = new STCCGCard("Skullduggery", "Di", "C", 1);
   ds9.Cards[216] = new STCCGCard("Smoke Bomb", "In", "U", 1);
   ds9.Cards[217] = new STCCGCard("Sorus", "Pe-R", "R", 1);
   ds9.Cards[218] = new STCCGCard("Study Badlands", "Mi", "U", 1);
   ds9.Cards[219] = new STCCGCard("\"Subspace Seaweed\"", "Di", "U", 1);
   ds9.Cards[220] = new STCCGCard("Surmak Ren", "Pe-Bj", "R", 1);
   ds9.Cards[221] = new STCCGCard("Survey Star System", "Mi", "U", 1);
   ds9.Cards[222] = new STCCGCard("Symbiont Diagnosis", "Mi", "R", 1);
   ds9.Cards[223] = new STCCGCard("System 5 Disruptors", "Ev", "R", 1);
   ds9.Cards[224] = new STCCGCard("T'Kar", "Pe-K", "U", 1);
   ds9.Cards[225] = new STCCGCard("T'Lor", "Pe-F", "C", 1);
   ds9.Cards[226] = new STCCGCard("Tahna Los", "Pe-Bj", "R", 1);
   ds9.Cards[227] = new STCCGCard("Taylor Moore", "Pe-F", "C", 1);
   ds9.Cards[228] = new STCCGCard("Tekeny Ghemor", "Pe-C", "R", 1);
   ds9.Cards[229] = new STCCGCard("The Three Vipers", "Di", "R", 1);
   ds9.Cards[230] = new STCCGCard("The Walls Have Ears", "In", "R", 1);
   ds9.Cards[231] = new STCCGCard("Time to Reconsider", "In", "U", 1);
   ds9.Cards[232] = new STCCGCard("Tora Ziyal", "Pe-C/Bj", "R", 1);
   ds9.Cards[233] = new STCCGCard("Toran", "Pe-C", "R", 1);
   ds9.Cards[234] = new STCCGCard("Trauma", "Di", "R", 1);
   ds9.Cards[235] = new STCCGCard("Trazko", "Pe-Bj", "U", 1);
   ds9.Cards[236] = new STCCGCard("Treaty: Bajoran/Klingon", "Ev", "U", 1);
   ds9.Cards[237] = new STCCGCard("Treaty: Federation/Bajoran", "Ev", "C", 1);
   ds9.Cards[238] = new STCCGCard("Treaty: Federation/Cardassian", "Ev", "C", 1);
   ds9.Cards[239] = new STCCGCard("Treaty: Romulan/Cardassian", "Ev", "U", 1);
   ds9.Cards[240] = new STCCGCard("Turrel", "Pe-C", "R", 1);
   ds9.Cards[241] = new STCCGCard("Ty Kajada", "Pe-N", "C", 1);
   ds9.Cards[242] = new STCCGCard("U.S.S. Danube", "Sh-F", "C", 1);
   ds9.Cards[243] = new STCCGCard("U.S.S. Yangtzee Kiang", "Sh-F", "R", 1);
   ds9.Cards[244] = new STCCGCard("Ulani Belor", "Pe-C", "C", 1);
   ds9.Cards[245] = new STCCGCard("Unnatural Causes", "In", "U", 1);
   ds9.Cards[246] = new STCCGCard("Untrustworthy Associate", "Di", "U", 1);
   ds9.Cards[247] = new STCCGCard("Vakis", "Pe-R", "R", 1);
   ds9.Cards[248] = new STCCGCard("Vantika's Neural Pathways", "Di", "C", 1);
   ds9.Cards[249] = new STCCGCard("Varis Sul", "Pe-Bj", "U", 1);
   ds9.Cards[250] = new STCCGCard("Vedek Sorad", "Pe-Bj", "C", 1);
   ds9.Cards[251] = new STCCGCard("Vedek Winn", "Pe-Bj", "R", 1);
   ds9.Cards[252] = new STCCGCard("Vendetta", "Di", "C", 1);
   ds9.Cards[253] = new STCCGCard("Vole Infestation", "Di", "C", 1);
   ds9.Cards[254] = new STCCGCard("Weapons Locker", "Ev", "C", 1);
   ds9.Cards[255] = new STCCGCard("Weld Ram", "Pe-Bj", "C", 1);
   ds9.Cards[256] = new STCCGCard("Wormhole Navigation Schematic", "In", "U", 1);
   ds9.Cards[257] = new STCCGCard("Xepolite Freighter", "Sh-N", "C", 1);
   ds9.Cards[258] = new STCCGCard("Yeto", "Pe-K", "R", 1);
   ds9.Cards[259] = new STCCGCard("Zef'No", "Pe-N", "R", 1);
   ussdefiantwb = new STCCGCard("U.S.S. Defiant [WB]", "Sh-F", "R", 1);

   CountCards(ds9);

   ds9Mis.Cards[0] = new STCCGCard("Acquire Illicit Explosives", "Mi", "C", 1);
   ds9Mis.Cards[1] = new STCCGCard("Characterize Neutrino Emissions", "Mi", "C", 1);
   ds9Mis.Cards[2] = new STCCGCard("Deliver Supplies", "Mi", "C", 1);
   ds9Mis.Cards[3] = new STCCGCard("Eliminate Virus", "Mi", "C", 1);
   ds9Mis.Cards[4] = new STCCGCard("Establish Station", "Mi", "C", 1);
   ds9Mis.Cards[5] = new STCCGCard("Intercept Maquis", "Mi", "C", 1);
   ds9Mis.Cards[6] = new STCCGCard("Intercept Renegade", "Mi", "C", 1);
   ds9Mis.Cards[7] = new STCCGCard("Kressari Rendezvous", "Mi", "C", 1);
   ds9Mis.Cards[8] = new STCCGCard("Refuse Immigration", "Mi", "C", 1);
   ds9Mis.Cards[9] = new STCCGCard("Reignite Dead Star", "Mi", "C", 1);
   ds9Mis.Cards[10] = new STCCGCard("Relocate Settlers", "Mi", "C", 1);
   ds9Mis.Cards[11] = new STCCGCard("Rescue Prisoners", "Mi", "C", 1);
   ds9Mis.Cards[12] = new STCCGCard("Search and Rescue", "Mi", "C", 1);
   ds9Mis.Cards[13] = new STCCGCard("Search for Survivors", "Mi", "C", 1);
   ds9Mis.Cards[14] = new STCCGCard("Study Plasma Storm", "Mi", "C", 1);
   ds9Mis.Cards[15] = new STCCGCard("Verify Evidence", "Mi", "C", 1);

   CountCards(ds9Mis);

   ds9Car.Cards[0] = ds9.Cards[14];
   ds9Car.Cards[1] = ds9.Cards[37];
   ds9Car.Cards[2] = ds9.Cards[40];
   ds9Car.Cards[3] = ds9.Cards[41];
   ds9Car.Cards[4] = ds9.Cards[55];
   ds9Car.Cards[5] = ds9.Cards[60];
   ds9Car.Cards[6] = ds9.Cards[92];
   ds9Car.Cards[7] = ds9.Cards[97];
   ds9Car.Cards[8] = ds9.Cards[128];
   ds9Car.Cards[9] = ds9.Cards[173];
   ds9Car.Cards[10] = ds9.Cards[175];
   ds9Car.Cards[11] = ds9.Cards[194];
   ds9Car.Cards[12] = ds9.Cards[244];

   ds9NA.Cards[0] = ds9.Cards[10];
   ds9NA.Cards[1] = ds9.Cards[52];
   ds9NA.Cards[2] = ds9.Cards[66];
   ds9NA.Cards[3] = ds9.Cards[90];
   ds9NA.Cards[4] = ds9.Cards[123];
   ds9NA.Cards[5] = ds9.Cards[130];
   ds9NA.Cards[6] = ds9.Cards[189];
   ds9NA.Cards[7] = ds9.Cards[199];
   ds9NA.Cards[8] = ds9.Cards[201];
   ds9NA.Cards[9] = ds9.Cards[241];
   ds9NA.Cards[10] = ds9.Cards[257];

   ds9Baj.Cards[0] = ds9.Cards[11];
   ds9Baj.Cards[1] = ds9.Cards[17];
   ds9Baj.Cards[2] = ds9.Cards[20];
   ds9Baj.Cards[3] = ds9.Cards[23];
   ds9Baj.Cards[4] = ds9.Cards[24];
   ds9Baj.Cards[5] = ds9.Cards[131];
   ds9Baj.Cards[6] = ds9.Cards[150];
   ds9Baj.Cards[7] = ds9.Cards[156];
   ds9Baj.Cards[8] = ds9.Cards[184];
   ds9Baj.Cards[9] = ds9.Cards[187];
   ds9Baj.Cards[10] = ds9.Cards[188];
   ds9Baj.Cards[11] = ds9.Cards[200];
   ds9Baj.Cards[12] = ds9.Cards[250];
   ds9Baj.Cards[13] = ds9.Cards[255];

   ds9Fed.Cards[0] = ds9.Cards[100];
   ds9Fed.Cards[1] = ds9.Cards[121];
   ds9Fed.Cards[2] = ds9.Cards[132];
   ds9Fed.Cards[3] = ds9.Cards[144];
   ds9Fed.Cards[4] = ds9.Cards[171];
   ds9Fed.Cards[5] = ds9.Cards[174];
   ds9Fed.Cards[6] = ds9.Cards[225];
   ds9Fed.Cards[7] = ds9.Cards[227];
   ds9Fed.Cards[8] = ds9.Cards[242];

   ds9Dil.Cards[0] = ds9.Cards[12];
   ds9Dil.Cards[1] = ds9.Cards[13];
   ds9Dil.Cards[2] = ds9.Cards[16];
   ds9Dil.Cards[3] = ds9.Cards[35];
   ds9Dil.Cards[4] = ds9.Cards[46];
   ds9Dil.Cards[5] = ds9.Cards[50];
   ds9Dil.Cards[6] = ds9.Cards[95];
   ds9Dil.Cards[7] = ds9.Cards[119];
   ds9Dil.Cards[8] = ds9.Cards[134];
   ds9Dil.Cards[9] = ds9.Cards[143];
   ds9Dil.Cards[10] = ds9.Cards[152];
   ds9Dil.Cards[11] = ds9.Cards[161];
   ds9Dil.Cards[12] = ds9.Cards[215];
   ds9Dil.Cards[13] = ds9.Cards[248];
   ds9Dil.Cards[14] = ds9.Cards[252];
   ds9Dil.Cards[15] = ds9.Cards[253];

   ds9Oth.Cards[0] = ds9.Cards[2];
   ds9Oth.Cards[1] = ds9.Cards[31];
   ds9Oth.Cards[2] = ds9.Cards[64];
   ds9Oth.Cards[3] = ds9.Cards[74];
   ds9Oth.Cards[4] = ds9.Cards[82];
   ds9Oth.Cards[5] = ds9.Cards[191];
   ds9Oth.Cards[6] = ds9.Cards[192];
   ds9Oth.Cards[7] = ds9.Cards[206];
   ds9Oth.Cards[8] = ds9.Cards[254];

   BajOp = ds9.Cards[22];
   CarOp = ds9.Cards[39];
   DockingPorts = ds9.Cards[63];
   KlaeOp = ds9.Cards[136];
   Nor = ds9.Cards[162];
   Ops = ds9.Cards[166];
   TrFedBaj = ds9.Cards[237];
   TrFedCar = ds9.Cards[238];

   sd2.Cards[0] = new STCCGCard("Botanical Research", "Mi", "C", 1);
   sd2.Cards[1] = new STCCGCard("Ferengi Trading Post", "Fa/Op-Fg", "C", 1);
   sd2.Cards[2] = new STCCGCard("Geological Survey", "Mi", "C", 1);
   sd2.Cards[3] = new STCCGCard("Memory Wipe", "Ev", "C", 1);
   sd2.Cards[4] = new STCCGCard("Military Exercises", "Mi", "C", 1);
   sd2.Cards[5] = new STCCGCard("Search for Weapons", "Mi", "C", 1);
   sd2.Cards[6] = new STCCGCard("Study Cometary Cloud", "Mi", "C", 1);
   sd2.Cards[7] = new STCCGCard("Study Pulsar", "Mi", "C", 1);

   dominion.Cards[0] = new STCCGCard("10 and 01", "Pe-N", "R", 1);
   dominion.Cards[1] = new STCCGCard("Admiral Leyton", "Pe-F", "R", 1);
   dominion.Cards[2] = new STCCGCard("Amat'igan", "Pe-D", "R", 1);
   dominion.Cards[3] = new STCCGCard("Anya", "Pe-N", "U", 1);
   dominion.Cards[4] = new STCCGCard("Arak'Taral", "Pe-D", "U", 1);
   dominion.Cards[5] = new STCCGCard("Archanis Dispute", "Mi", "U", 1);
   dominion.Cards[6] = new STCCGCard("Atul", "Pe-K", "U", 1);
   dominion.Cards[7] = new STCCGCard("Azet'izan", "Pe-D", "C", 1);
   dominion.Cards[8] = new STCCGCard("Berserk Changeling", "Di", "U", 1);
   dominion.Cards[9] = new STCCGCard("Betazed Invasion", "Mi", "R", 1);
   dominion.Cards[10] = new STCCGCard("Bioweapon Ruse", "Mi", "U", 1);
   dominion.Cards[11] = new STCCGCard("Borath", "Pe-D", "R", 1);
   dominion.Cards[12] = new STCCGCard("Caught Red-Handed", "In", "C", 1);
   dominion.Cards[13] = new STCCGCard("Ch'Pok", "Pe-K", "R", 1);
   dominion.Cards[14] = new STCCGCard("Chula: Pick One to Save Two", "Di", "U", 1);
   dominion.Cards[15] = new STCCGCard("Chula: The Chandra", "Di", "R", 1);
   dominion.Cards[16] = new STCCGCard("Chula: The Dice", "Di", "C", 1);
   dominion.Cards[17] = new STCCGCard("Construct Depot", "Mi", "C", 1);
   dominion.Cards[18] = new STCCGCard("Crew Reassignment", "Ev", "U", 1);
   dominion.Cards[19] = new STCCGCard("Crisis", "Di", "C", 1);
   dominion.Cards[20] = new STCCGCard("Croden's Key", "Ar", "R", 1);
   dominion.Cards[21] = new STCCGCard("Damar", "Pe-C", "R", 1);
   dominion.Cards[22] = new STCCGCard("Daro", "Pe-C", "U", 1);
   dominion.Cards[23] = new STCCGCard("D'deridex Advanced", "Sh-R", "R", 1);
   dominion.Cards[24] = new STCCGCard("Dejar", "Pe-C", "U", 1);
   dominion.Cards[25] = new STCCGCard("Dominion PADD", "Eq", "C", 1);
   dominion.Cards[26] = new STCCGCard("Empok Nor", "Fa/St", "R", 1);
   dominion.Cards[27] = new STCCGCard("Engage Cloak", "Ob", "U", 1);
   dominion.Cards[28] = new STCCGCard("Eris", "Pe-D", "C", 1);
   dominion.Cards[29] = new STCCGCard("Espionage: Dominion on Federation", "Ev", "C", 1);
   dominion.Cards[30] = new STCCGCard("Espionage: Dominion on Klingon", "Ev", "C", 1);
   dominion.Cards[31] = new STCCGCard("Espionage: Dominion on Romulan", "Ev", "C", 1);
   dominion.Cards[32] = new STCCGCard("Establish Dominion Foothold", "Ob", "U", 1);
   dominion.Cards[33] = new STCCGCard("Fair Play", "Ev", "U", 1);
   dominion.Cards[34] = new STCCGCard("Flight of the Intruder", "In", "U", 1);
   dominion.Cards[35] = new STCCGCard("Founder", "Pe-D", "U", 1);
   dominion.Cards[36] = new STCCGCard("Founder Leader", "Pe-D", "R", 1);
   dominion.Cards[37] = new STCCGCard("Founder Secret", "Di", "R", 1);
   dominion.Cards[38] = new STCCGCard("Friendly Fire", "Di", "C", 1);
   dominion.Cards[39] = new STCCGCard("Garak", "Pe-C/N", "R", 1);
   dominion.Cards[40] = new STCCGCard("General Hazar", "Pe-Bj", "C", 1);
   dominion.Cards[41] = new STCCGCard("Goran'Agar", "Pe-D", "R", 1);
   dominion.Cards[42] = new STCCGCard("Gurat'urak", "Pe-D", "C", 1);
   dominion.Cards[43] = new STCCGCard("I.K.C. Rotarran", "Sh-K", "R", 1);
   dominion.Cards[44] = new STCCGCard("In the Bag", "In", "C", 1);
   dominion.Cards[45] = new STCCGCard("Install Autonomic Systems Parasite", "Ob", "U", 1);
   dominion.Cards[46] = new STCCGCard("Intelligence Operation", "Mi", "U", 1);
   dominion.Cards[47] = new STCCGCard("Invasive Beam-In", "Ev", "C", 1);
   dominion.Cards[48] = new STCCGCard("Investigate Coup", "Mi", "U", 1);
   dominion.Cards[49] = new STCCGCard("Issue Secret Orders", "Ob", "R", 1);
   dominion.Cards[50] = new STCCGCard("Jaresh-Inyo", "Pe-F", "R", 1);
   dominion.Cards[51] = new STCCGCard("Jem'Hadar Attack Ship", "Sh-D", "C", 1);
   dominion.Cards[52] = new STCCGCard("Jem'Hadar Birthing Chamber", "Eq", "C", 1);
   dominion.Cards[53] = new STCCGCard("Jem'Hadar Disruptor", "Eq", "C", 1);
   dominion.Cards[54] = new STCCGCard("Jem'Hadar Disruptor Rifle", "Eq", "U", 1);
   dominion.Cards[55] = new STCCGCard("Jem'Hadar Sacrifice", "In", "C", 1);
   dominion.Cards[56] = new STCCGCard("Jem'Hadar Warship", "Sh-D", "U", 1);
   dominion.Cards[57] = new STCCGCard("Kai Winn", "Pe-Bj", "R", 1);
   dominion.Cards[58] = new STCCGCard("Keevan", "Pe-D", "R", 1);
   dominion.Cards[59] = new STCCGCard("Keeve Falor", "Pe-Bj", "C", 1);
   dominion.Cards[60] = new STCCGCard("Keldon Advanced", "Sh-C", "R", 1);
   dominion.Cards[61] = new STCCGCard("Keogh", "Pe-F", "R", 1);
   dominion.Cards[62] = new STCCGCard("Ketracel-White", "Eq", "C", 1);
   dominion.Cards[63] = new STCCGCard("Kilana", "Pe-D", "R", 1);
   dominion.Cards[64] = new STCCGCard("Kira Founder", "Pe-D", "R", 1);
   dominion.Cards[65] = new STCCGCard("Koret'alak", "Pe-D", "C", 1);
   dominion.Cards[66] = new STCCGCard("Leyton Founder", "Pe-D", "R", 1);
   dominion.Cards[67] = new STCCGCard("Limara'Son", "Pe-D", "C", 1);
   dominion.Cards[68] = new STCCGCard("Lovok", "Pe-R", "R", 1);
   dominion.Cards[69] = new STCCGCard("Lovok Founder", "Pe-D", "R", 1);
   dominion.Cards[70] = new STCCGCard("Macet", "Pe-C", "U", 1);
   dominion.Cards[71] = new STCCGCard("Makla'Gor", "Pe-D", "C", 1);
   dominion.Cards[72] = new STCCGCard("Martok", "Pe-K", "R", 1);
   dominion.Cards[73] = new STCCGCard("Martok Founder", "Pe-D", "R", 1);
   dominion.Cards[74] = new STCCGCard("Meso'Clan", "Pe-D", "U", 1);
   dominion.Cards[75] = new STCCGCard("Michael Eddington", "Pe-F", "R", 1);
   dominion.Cards[76] = new STCCGCard("Mining Survey", "Mi", "U", 1);
   dominion.Cards[77] = new STCCGCard("Mission Fatigue", "Di", "U", 1);
   dominion.Cards[78] = new STCCGCard("Navigational Hazards", "Di", "C", 1);
   dominion.Cards[79] = new STCCGCard("O'Brien Founder", "Pe-D", "R", 1);
   dominion.Cards[80] = new STCCGCard("Office of the President", "Fa/HQ-F", "R", 1);
   dominion.Cards[81] = new STCCGCard("Office of the Proconsul", "Fa/HQ-R", "R", 1);
   dominion.Cards[82] = new STCCGCard("Omet'iklan", "Pe-D", "R", 1);
   dominion.Cards[83] = new STCCGCard("Operate Wormhole Relays", "Ob", "U", 1);
   dominion.Cards[84] = new STCCGCard("Orb of Prophecy and Change", "Ar", "R", 1);
   dominion.Cards[85] = new STCCGCard("Ornithar", "Pe-D", "C", 1);
   dominion.Cards[86] = new STCCGCard("Orta", "Pe-Bj", "U", 1);
   dominion.Cards[87] = new STCCGCard("Post Garrison", "Ob", "U", 1);
   dominion.Cards[88] = new STCCGCard("Primary Supply Depot", "Fa/Op-D", "C", 1);
   dominion.Cards[89] = new STCCGCard("Protect Shipment", "Mi", "U", 1);
   dominion.Cards[90] = new STCCGCard("Quest for the Sword", "Mi", "U", 1);
   dominion.Cards[91] = new STCCGCard("Remata'Klan", "Pe-D", "R", 1);
   dominion.Cards[92] = new STCCGCard("Remote Supply Depot", "Fa/Op-D", "C", 1);
   dominion.Cards[93] = new STCCGCard("Rescue Founder", "Mi", "U", 1);
   dominion.Cards[94] = new STCCGCard("Salia", "Pe-N", "R", 1);
   dominion.Cards[95] = new STCCGCard("Security Briefing", "Mi", "U", 1);
   dominion.Cards[96] = new STCCGCard("Senator Vreenak", "Pe-R", "R", 1);
   dominion.Cards[97] = new STCCGCard("Shape-Shift", "In", "U", 1);
   dominion.Cards[98] = new STCCGCard("Silaran Prin", "Pe-C", "U", 1);
   dominion.Cards[99] = new STCCGCard("Sisko 197 Subroutine", "Ev", "U", 1);
   dominion.Cards[100] = new STCCGCard("Sleeper Trap", "Di", "R", 1);
   dominion.Cards[101] = new STCCGCard("Soto", "Pe-N", "U", 1);
   dominion.Cards[102] = new STCCGCard("Strike Three", "In", "C", 1);
   dominion.Cards[103] = new STCCGCard("Subjugate Planet", "Ob", "C", 1);
   dominion.Cards[104] = new STCCGCard("Surprise Assault", "Di", "C", 1);
   dominion.Cards[105] = new STCCGCard("Tactical Console", "Ev", "U", 1);
   dominion.Cards[106] = new STCCGCard("Talak'talan", "Pe-D", "R", 1);
   dominion.Cards[107] = new STCCGCard("Telle", "Pe-C", "C", 1);
   dominion.Cards[108] = new STCCGCard("Temo'Zuma", "Pe-D", "C", 1);
   dominion.Cards[109] = new STCCGCard("The Earring of Li Nalas", "Ar", "R", 1);
   dominion.Cards[110] = new STCCGCard("The Great Hall", "Fa/HQ-K", "R", 1);
   dominion.Cards[111] = new STCCGCard("The Great Link", "Fa/HQ-D", "R", 1);
   dominion.Cards[112] = new STCCGCard("Toman'torax", "Pe-D", "R", 1);
   dominion.Cards[113] = new STCCGCard("Trager", "Sh-C", "R", 1);
   dominion.Cards[114] = new STCCGCard("Treaty: Bajoran/Dominion", "Ev", "C", 1);
   dominion.Cards[115] = new STCCGCard("Treaty: Cardassian/Dominion", "Ev", "C", 1);
   dominion.Cards[116] = new STCCGCard("Treaty: Romulan/Dominion", "Ev", "C", 1);
   dominion.Cards[117] = new STCCGCard("T'Rul", "Pe-R", "U", 1);
   dominion.Cards[118] = new STCCGCard("U.S.S. Defiant", "Sh-F", "R", 1);
   dominion.Cards[119] = new STCCGCard("U.S.S. Odyssey", "Sh-F", "U", 1);
   dominion.Cards[120] = new STCCGCard("U.S.S. Rio Grande", "Sh-F", "R", 1);
   dominion.Cards[121] = new STCCGCard("Uncover DNA Clues", "Mi", "U", 1);
   dominion.Cards[122] = new STCCGCard("Virak'kara", "Pe-D", "C", 1);
   dominion.Cards[123] = new STCCGCard("Weyoun", "Pe-D", "R", 1);
   dominion.Cards[124] = new STCCGCard("Yak'Talon", "Pe-D", "C", 1);
   dominion.Cards[125] = new STCCGCard("Yelgren", "Pe-D", "R", 1);
   dominion.Cards[126] = new STCCGCard("You Dirty Rat", "In", "U", 1);
   dominion.Cards[127] = new STCCGCard("Young Jem'Hadar", "Pe-D", "C", 1);
   dominion.Cards[128] = new STCCGCard("Zayra", "Pe-Bj", "R", 1);
   dominion.Cards[129] = new STCCGCard("Zyree", "Pe-D", "C", 1);

   sevenofninewb = new STCCGCard("Seven Of Nine", "Pe-B", "R", 1);
   captainkirkwb = new STCCGCard("Captain Kirk", "Pe-F", "R", 1);
   worfsonofmoghwb = new STCCGCard("Worf Son of Mogh", "Pe-K", "R", 1);
   admiralrikerwb = new STCCGCard("Admiral Riker", "Pe-F", "R", 1);

   efc.Cards [0] =
   efcgow.Cards[0] = new STCCGCard("Gowron of Borg", "Pe-B", "R", 1);
   efc.Cards [1] =
   efcgow.Cards[1] = new STCCGCard("We Are The Borg", "Ev", "R", 1);
   efc.Cards [2] =
   efcgow.Cards[2] = new STCCGCard("Add Distinctiveness", "Ic", "R", 1);
   efc.Cards [3] =
   efctom.Cards[0] = new STCCGCard("Tomalak of Borg", "Pe-B", "R", 1);
   efc.Cards [4] =
   efctom.Cards[1] = new STCCGCard("Six of Nineteen", "Pe-B", "R", 1);
   efc.Cards [5] =
   efctom.Cards[2] = new STCCGCard("Sphere Encounter", "Ic", "R", 1);
   efc.Cards [6] =
   efcbar.Cards[0] = new STCCGCard("Bareil of Borg", "Pe-B", "R", 1);
   efc.Cards [7] =
   efcbar.Cards[1] = new STCCGCard("Eleven of Seventeen", "Pe-B", "R", 1);
   efc.Cards [8] =
   efcbar.Cards[2] = new STCCGCard("Service The Collective", "Ic", "R", 1);
   efc.Cards [9] =
   efcduk.Cards[0] = new STCCGCard("Dukat of Borg", "Pe-B", "R", 1);
   efc.Cards [10] =
   efcduk.Cards[1] = new STCCGCard("Population 9 Billion - All Borg", "Ic", "R", 1);
   efc.Cards [11] =
   efcduk.Cards[2] = new STCCGCard("Nightmare", "Ic", "R", 1);

   CountCards(efc);

   CountCards(dominion);

   bog.Cards[0] = new STCCGCard("Sword of Kahless", "Ar", "R", 1);
   bog.Cards[1] = new STCCGCard("Chula: The Abyss", "Di", "R", 1);
   bog.Cards[2] = new STCCGCard("Chula: The Lights", "Di", "C", 1);
   bog.Cards[3] = new STCCGCard("Drumhead", "Di", "U", 1);
   bog.Cards[4] = new STCCGCard("Ferengi Ingenuity", "Di", "U", 1);
   bog.Cards[5] = new STCCGCard("Gravimetric Distortion", "Di", "C", 1);
   bog.Cards[6] = new STCCGCard("Hazardous Duty", "Di", "C", 1);
   bog.Cards[7] = new STCCGCard("New Essentialists", "Di", "U", 1);
   bog.Cards[8] = new STCCGCard("Stellar Flare", "Di", "U", 1);
   bog.Cards[9] = new STCCGCard("Under Fire", "Di", "U", 1);
   bog.Cards[10] = new STCCGCard("Battle Bridge Door", "Do", "C", 1);
   bog.Cards[11] = new STCCGCard("Holding Cell Door", "Do", "C", 1);
   bog.Cards[12] = new STCCGCard("Bat'leth", "Eq", "C", 1);
   bog.Cards[13] = new STCCGCard("D'k Tahg", "Eq", "C", 1);
   bog.Cards[14] = new STCCGCard("Kar'takin", "Eq", "C", 1);
   bog.Cards[15] = new STCCGCard("Klingon Disruptor Rifle", "Eq", "U", 1);
   bog.Cards[16] = new STCCGCard("Mek'leth", "Eq", "U", 1);
   bog.Cards[17] = new STCCGCard("Romulan Disruptor Rifle", "Eq", "U", 1);
   bog.Cards[18] = new STCCGCard("Starfleet Type I Phaser", "Eq", "C", 1);
   bog.Cards[19] = new STCCGCard("Defense System Upgrade", "Ev", "U", 1);
   bog.Cards[20] = new STCCGCard("Dial Martok for Murder", "Ev", "U", 1);
   bog.Cards[21] = new STCCGCard("E-Band Emissions", "Ev", "R", 1);
   bog.Cards[22] = new STCCGCard("Engage Shuttle Operations: Dominion", "Ev", "U", 1);
   bog.Cards[23] = new STCCGCard("Fajo's Gallery", "Ev", "R", 1);
   bog.Cards[24] = new STCCGCard("The Big Picture", "Ev", "U", 1);
   bog.Cards[25] = new STCCGCard("Torture", "Ev", "R", 1);
   bog.Cards[26] = new STCCGCard("Access Denied", "Ic", "U", 1);
   bog.Cards[27] = new STCCGCard("Blood Oath", "Ic", "R", 1);
   bog.Cards[28] = new STCCGCard("Captured", "Ic", "U", 1);
   bog.Cards[29] = new STCCGCard("Intruder Alert!", "Ic", "U", 1);
   bog.Cards[30] = new STCCGCard("Long Live the Queen", "Ic", "R", 1);
   bog.Cards[31] = new STCCGCard("Prisoner Exchange", "Ic", "U", 1);
   bog.Cards[32] = new STCCGCard("Scanner Interference", "Ic", "U", 1);
   bog.Cards[33] = new STCCGCard("Sniper", "Ic", "U", 1);
   bog.Cards[34] = new STCCGCard("Ultimatum", "Ic", "U", 1);
   bog.Cards[35] = new STCCGCard("Attack Pattern Delta", "In", "U", 1);
   bog.Cards[36] = new STCCGCard("Counterintelligence", "In", "U", 1);
   bog.Cards[37] = new STCCGCard("Inside Operation", "In", "R", 1);
   bog.Cards[38] = new STCCGCard("Outgunned", "In", "R", 1);
   bog.Cards[39] = new STCCGCard("Phaser Array Power Cell", "In", "C", 1);
   bog.Cards[40] = new STCCGCard("Prisoner Escort", "In", "C", 1);
   bog.Cards[41] = new STCCGCard("The Guardian", "In", "U", 1);
   bog.Cards[42] = new STCCGCard("The Wake of the Borg", "In", "U", 1);
   bog.Cards[43] = new STCCGCard("Victory Is Life", "In", "C", 1);
   bog.Cards[44] = new STCCGCard("A Good Day to Live", "Mi", "R", 1);
   bog.Cards[45] = new STCCGCard("Bat'leth Tournament", "Mi", "U", 1);
   bog.Cards[46] = new STCCGCard("Chart Stellar Cluster", "Mi", "R", 1);
   bog.Cards[47] = new STCCGCard("Commandeer Ship", "Ob", "U", 1);
   bog.Cards[48] = new STCCGCard("Examine Singularity", "Ob", "U", 1);
   bog.Cards[49] = new STCCGCard("Impersonate Captive", "Ob", "R", 1);
   bog.Cards[50] = new STCCGCard("Prepare the Prisoner", "Ob", "U", 1);
   bog.Cards[51] = new STCCGCard("Furel", "Pe-Bj", "U", 1);
   bog.Cards[52] = new STCCGCard("Lupaza", "Pe-Bj", "U", 1);
   bog.Cards[53] = new STCCGCard("Riker Wil", "Pe-Bj", "R", 1);
   bog.Cards[54] = new STCCGCard("Ro Laren", "Pe-Bj", "R", 1);
   bog.Cards[55] = new STCCGCard("Boone Impersonator", "Pe-C", "R", 1);
   bog.Cards[56] = new STCCGCard("Dolak", "Pe-C", "U", 1);
   bog.Cards[57] = new STCCGCard("Elim", "Pe-C", "R", 1);
   bog.Cards[58] = new STCCGCard("Gul Madred", "Pe-C", "R", 1);
   bog.Cards[59] = new STCCGCard("Duran'Adar", "Pe-D", "C", 1);
   bog.Cards[60] = new STCCGCard("Gelnon", "Pe-D", "R", 1);
   bog.Cards[61] = new STCCGCard("Ixtana'Rax", "Pe-D", "R", 1);
   bog.Cards[62] = new STCCGCard("Kudak'Etan", "Pe-D", "R", 1);
   bog.Cards[63] = new STCCGCard("Lamat'Ukan", "Pe-D", "U", 1);
   bog.Cards[64] = new STCCGCard("Odo Founder", "Pe-D", "R", 1);
   bog.Cards[65] = new STCCGCard("Oken'alak", "Pe-D", "C", 1);
   bog.Cards[66] = new STCCGCard("Umat'Adan", "Pe-D", "U", 1);
   bog.Cards[67] = new STCCGCard("Admiral Ross", "Pe-F", "R", 1);
   bog.Cards[68] = new STCCGCard("Donald Varley", "Pe-F", "R", 1);
   bog.Cards[69] = new STCCGCard("Enrique Mu&ntilde;iz", "Pe-F", "R", 1);
   bog.Cards[70] = new STCCGCard("Ilon Tandro", "Pe-F/C", "R", 1);
   bog.Cards[71] = new STCCGCard("Miles O'Brien [BoG]", "Pe-F", "R", 1);
   bog.Cards[72] = new STCCGCard("Sarita Carson", "Pe-F", "C", 1);
   bog.Cards[73] = new STCCGCard("Hon'Tihl", "Pe-K", "U", 1);
   bog.Cards[74] = new STCCGCard("Jadzia Dax [BoG]", "Pe-K", "R", 1);
   bog.Cards[75] = new STCCGCard("Kang", "Pe-K", "R", 1);
   bog.Cards[76] = new STCCGCard("Kavok", "Pe-K", "R", 1);
   bog.Cards[77] = new STCCGCard("Koloth", "Pe-K", "R", 1);
   bog.Cards[78] = new STCCGCard("Kor", "Pe-K", "R", 1);
   bog.Cards[79] = new STCCGCard("N'Garen", "Pe-K", "U", 1);
   bog.Cards[80] = new STCCGCard("Quark Son of Keldar", "Pe-K/Fg", "R", 1);
   bog.Cards[81] = new STCCGCard("Voktak", "Pe-K", "C", 1);
   bog.Cards[82] = new STCCGCard("Wo'Din", "Pe-K", "C", 1);
   bog.Cards[83] = new STCCGCard("Worf Son of Mogh", "Pe-K", "R", 1);
   bog.Cards[84] = new STCCGCard("Zetal", "Pe-K", "C", 1);
   bog.Cards[85] = new STCCGCard("The Albino", "Pe-N", "R", 1);
   bog.Cards[86] = new STCCGCard("Ambassador Tomalak", "Pe-R", "R", 1);
   bog.Cards[87] = new STCCGCard("Chief O'Brien", "Pe-R", "R", 1);
   bog.Cards[88] = new STCCGCard("D'Vin", "Pe-R", "C", 1);
   bog.Cards[89] = new STCCGCard("Dr. Koramar", "Pe-R", "U", 1);
   bog.Cards[90] = new STCCGCard("La Forge Impersonator", "Pe-R", "R", 1);
   bog.Cards[91] = new STCCGCard("Mopak", "Pe-R", "C", 1);
   bog.Cards[92] = new STCCGCard("Navok", "Pe-R", "C", 1);
   bog.Cards[93] = new STCCGCard("Parthok", "Pe-R", "R", 1);
   bog.Cards[94] = new STCCGCard("R'Mal", "Pe-R", "C", 1);
   bog.Cards[95] = new STCCGCard("Senator Letant", "Pe-R", "R", 1);
   bog.Cards[96] = new STCCGCard("Tamarith", "Pe-R", "U", 1);
   bog.Cards[97] = new STCCGCard("Tharket", "Pe-R", "U", 1);
   bog.Cards[98] = new STCCGCard("Locutus' Borg Cube", "Sh-B", "R", 1);
   bog.Cards[99] = new STCCGCard("Keldon", "Sh-C", "C", 1);
   bog.Cards[100] = new STCCGCard("Kraxon", "Sh-C", "R", 1);
   bog.Cards[101] = new STCCGCard("Alpha Attack Ship", "Sh-D", "U", 1);
   bog.Cards[102] = new STCCGCard("U.S.S. Thunderchild", "Sh-F", "R", 1);
   bog.Cards[103] = new STCCGCard("I.K.C. Koraga", "Sh-K", "R", 1);
   bog.Cards[104] = new STCCGCard("I.K.C. Lukara", "Sh-K", "R", 1);
   bog.Cards[105] = new STCCGCard("I.K.C. Negh'Var", "Sh-K", "R", 1);
   bog.Cards[106] = new STCCGCard("Goraxus", "Sh-R", "R", 1);
   bog.Cards[107] = new STCCGCard("Romulan Shuttle", "Sh-R", "C", 1);
   bog.Cards[108] = new STCCGCard("Security Holding Cell", "Si", "U", 1);
   bog.Cards[109] = new STCCGCard("Attack Wing", "Ta", "C", 1);
   bog.Cards[110] = new STCCGCard("Borg Cutting Beam", "Ta", "R", 1);
   bog.Cards[111] = new STCCGCard("\"Crimson Forcefield\"", "Ta", "U", 1);
   bog.Cards[112] = new STCCGCard("Evasive Maneuvers", "Ta", "C", 1);
   bog.Cards[113] = new STCCGCard("Full Phaser Spread", "Ta", "C", 1);
   bog.Cards[114] = new STCCGCard("Maximum Firepower", "Ta", "R", 1);
   bog.Cards[115] = new STCCGCard("Phased Polaron Beam", "Ta", "C", 1);
   bog.Cards[116] = new STCCGCard("Phaser Banks", "Ta", "C", 1);
   bog.Cards[117] = new STCCGCard("Photon Torpedo", "Ta", "C", 1);
   bog.Cards[118] = new STCCGCard("Picard Maneuver", "Ta", "R", 1);
   bog.Cards[119] = new STCCGCard("Plasma Torpedo", "Ta", "C", 1);
   bog.Cards[120] = new STCCGCard("Primary Energy Weapon", "Ta", "C", 1);
   bog.Cards[121] = new STCCGCard("Pulse Disruptor", "Ta", "C", 1);
   bog.Cards[122] = new STCCGCard("Pulse Phaser Cannons", "Ta", "C", 1);
   bog.Cards[123] = new STCCGCard("Quantum Torpedo", "Ta", "C", 1);
   bog.Cards[124] = new STCCGCard("Spiral-Wave Disruptor", "Ta", "C", 1);
   bog.Cards[125] = new STCCGCard("Strafing Run", "Ta", "C", 1);
   bog.Cards[126] = new STCCGCard("Target Engines", "Ta", "C", 1);
   bog.Cards[127] = new STCCGCard("Target Shields", "Ta", "C", 1);
   bog.Cards[128] = new STCCGCard("Target These Coordinates", "Ta", "R", 1);
   bog.Cards[129] = new STCCGCard("Target Weapons", "Ta", "C", 1);
   CountCards(bog);

   SwordOfKahlessFoil = new STCCGCard("Sword of Kahless [Foil]", "Ar", "R", 1);
   FajosGalleryFoil = new STCCGCard("Fajo's Gallery [Foil]", "Ev", "R", 1);
   InsideOperationFoil = new STCCGCard("Inside Operation [Foil]", "In", "R", 1);
   RikerWilFoil = new STCCGCard("Riker Wil [Foil]", "Pe-Bj", "R", 1);
   ElimFoil = new STCCGCard("Elim [Foil]", "Pe-C", "R", 1);
   OdoFounderFoil = new STCCGCard("Odo Founder [Foil]", "Pe-D", "R", 1);
   JadziaDaxFoil = new STCCGCard("Jadzia Dax [BoG] [Foil]", "Pe-K", "R", 1);
   KangFoil = new STCCGCard("Kang [Foil]", "Pe-K", "R", 1);
   KolothFoil = new STCCGCard("Koloth [Foil]", "Pe-K", "R", 1);
   KorFoil = new STCCGCard("Kor [Foil]", "Pe-K", "R", 1);
   LaForgeImpersonatorFoil = new STCCGCard("La Forge Impersonator [Foil]", "Pe-R", "R", 1);
   LocutusBorgCubeFoil = new STCCGCard("Locutus' Borg Cube [Foil]", "Sh-B", "R", 1);
   KraxonFoil = new STCCGCard("Kraxon [Foil]", "Sh-C", "R", 1);
   USSThunderchildFoil = new STCCGCard("U.S.S. Thunderchild [Foil]", "Sh-F", "R", 1);
   IKCNeghVarFoil = new STCCGCard("I.K.C. Negh'Var [Foil]", "Sh-K", "R", 1);
   GoraxusFoil = new STCCGCard("Goraxus [Foil]", "Sh-R", "R", 1);
   BorgCuttingBeamFoil = new STCCGCard("Borg Cutting Beam [Foil]", "Ta", "R", 1);
   MaximumFirepowerFoil = new STCCGCard("Maximum Firepower [Foil]", "Ta", "R", 1);

   roa.Cards[0] = new STCCGCard("Orb of Wisdom", "Ar", "R", 3);
   roa.Cards[1] = new STCCGCard("Phased Cloaking Device", "Ar", "R", 3);
   roa.Cards[2] = new STCCGCard("Starry Night", "Ar", "R", 3);
   roa.Cards[3] = new STCCGCard("Center of Attention", "Di", "U" ,3);
   roa.Cards[4] = new STCCGCard("Chula: Crossroads", "Di", "C" ,3);
   roa.Cards[5] = new STCCGCard("Chula: The Door", "Di", "R", 3);
   roa.Cards[6] = new STCCGCard("Dangerous Liaisons", "Di", "C" ,3);
   roa.Cards[7] = new STCCGCard("Ferengi Bug", "Di", "U" ,3);
   roa.Cards[8] = new STCCGCard("In The Pale Moonlight", "Di", "U" ,3);
   roa.Cards[9] = new STCCGCard("Orion Syndicate Bomb", "Di", "R", 3);
   roa.Cards[10] = new STCCGCard("Scientific Method", "Di", "C" ,3);
   roa.Cards[11] = new STCCGCard("Strange Bedfellows", "Di", "U" ,3);
   roa.Cards[12] = new STCCGCard("Breen CRM114", "Eq", "R", 3);
   roa.Cards[13] = new STCCGCard("Ferengi Disruptor", "Eq", "C" ,3);
   roa.Cards[14] = new STCCGCard("Ferengi Disruptor Rifle", "Eq", "U" ,3);
   roa.Cards[15] = new STCCGCard("Ferengi PADD", "Eq", "C" ,3);
   roa.Cards[16] = new STCCGCard("Gold-Pressed Latinum", "Eq", "C" ,6);
   roa.Cards[17] = new STCCGCard("Kukalaka", "Eq", "R", 3);
   roa.Cards[18] = new STCCGCard("Scepter of the Grand Nagus", "Eq", "R", 3);
   roa.Cards[19] = new STCCGCard("Small Cloaking Device", "Eq", "U" ,3);
   roa.Cards[20] = new STCCGCard("The Ferengi Rules of Acquisition", "Eq", "U" ,4);
   roa.Cards[21] = new STCCGCard("1st Rule of Acquisition", "Ev", "C" ,3);
   roa.Cards[22] = new STCCGCard("6th Rule of Acquisition", "Ev", "C" ,3);
   roa.Cards[23] = new STCCGCard("33rd Rule of Acquisition", "Ev", "U" ,3);
   roa.Cards[24] = new STCCGCard("34th Rule of Acquisition", "Ev", "U" ,3);
   roa.Cards[25] = new STCCGCard("47th Rule of Acquisition", "Ev", "U" ,3);
   roa.Cards[26] = new STCCGCard("59th Rule of Acquisition", "Ev", "U" ,3);
   roa.Cards[27] = new STCCGCard("75th Rule of Acquisition", "Ev", "U" ,3);
   roa.Cards[28] = new STCCGCard("211th Rule of Acquisition", "Ev", "C" ,3);
   roa.Cards[29] = new STCCGCard("Ferengi Outpost", "Fa/Op-Fg", "C" ,3);
   roa.Cards[30] = new STCCGCard("Tower of Commerce", "Fa/HQ-Fg", "R", 3);
   roa.Cards[31] = new STCCGCard("Continuing Committee", "Fa/HQ-R", "R", 3);
   roa.Cards[32] = new STCCGCard("Bodyguards", "Ic", "U" ,3);
   roa.Cards[33] = new STCCGCard("Bribery", "Ic", "C" ,3);
   roa.Cards[34] = new STCCGCard("Dabo", "Ic", "U" ,3);
   roa.Cards[35] = new STCCGCard("Emergency Evacuation", "Ic", "C" ,2);
   roa.Cards[36] = new STCCGCard("HQ: Ferengi Credit Exchange", "Ic", "U" ,3);
   roa.Cards[37] = new STCCGCard("It's Only A Game", "Ic", "U" ,3);
   roa.Cards[38] = new STCCGCard("Protection Racket", "Ic", "R", 3);
   roa.Cards[39] = new STCCGCard("Quark's Isolinear Rods", "Ic", "R", 3);
   roa.Cards[40] = new STCCGCard("Reactor Overload", "Ic", "U" ,3);
   roa.Cards[41] = new STCCGCard("Writ of Accountability", "Ic", "R", 3);
   roa.Cards[42] = new STCCGCard("Incoming Message - Ferengi", "In", "C" ,2);
   roa.Cards[43] = new STCCGCard("Vacuum-Desiccated Remains", "In", "C" ,3);
   roa.Cards[44] = new STCCGCard("Collect Sample", "Mi", "C" ,3);
   roa.Cards[45] = new STCCGCard("Deliver Message", "Mi", "U" ,3);
   roa.Cards[46] = new STCCGCard("Gunrunning", "Mi", "U" ,3);
   roa.Cards[47] = new STCCGCard("Market Research", "Mi", "C" ,3);
   roa.Cards[48] = new STCCGCard("Purchase Moon", "Mi", "U" ,3);
   roa.Cards[49] = new STCCGCard("Runabout Search", "Mi", "U" ,3);
   roa.Cards[50] = new STCCGCard("Tulaberry Wine Negotiations", "Mi", "U" ,3);
   roa.Cards[51] = new STCCGCard("Establish Trade Route", "Ob", "C" ,3);
   roa.Cards[52] = new STCCGCard("Ferengi Conference", "Ob", "C" ,3);
   roa.Cards[53] = new STCCGCard("Forced-Labor Camp", "Ob", "U" ,3);
   roa.Cards[54] = new STCCGCard("Leeta", "Pe-Bj/Fg", "R", 2);
   roa.Cards[55] = new STCCGCard("Mardah", "Pe-Bj/Fg", "U" ,3);
   roa.Cards[56] = new STCCGCard("Benil", "Pe-C", "U" ,3);
   roa.Cards[57] = new STCCGCard("Lemec", "Pe-C", "R", 3);
   roa.Cards[58] = new STCCGCard("Deyos", "Pe-D", "R", 2);
   roa.Cards[59] = new STCCGCard("Edan’Atal", "Pe-D", "C" ,3);
   roa.Cards[60] = new STCCGCard("Hanok", "Pe-D", "U" ,3);
   roa.Cards[61] = new STCCGCard("Ikat’Ika", "Pe-D", "R", 2);
   roa.Cards[62] = new STCCGCard("Inglatu", "Pe-D", "C" ,3);
   roa.Cards[63] = new STCCGCard("Krajensky Founder", "Pe-D", "R", 2);
   roa.Cards[64] = new STCCGCard("Ambassador Krajensky", "Pe-F", "U" ,3);
   roa.Cards[65] = new STCCGCard("Elizabeth Lense", "Pe-F", "R", 2);
   roa.Cards[66] = new STCCGCard("George Primmin", "Pe-F", "R", 2);
   roa.Cards[67] = new STCCGCard("Nog", "Pe-F/Fg", "R", 2);
   roa.Cards[68] = new STCCGCard("Berik", "Pe-Fg", "U" ,3);
   roa.Cards[69] = new STCCGCard("Birta", "Pe-Fg", "U" ,3);
   roa.Cards[70] = new STCCGCard("Bractor", "Pe-Fg", "R", 3);
   roa.Cards[71] = new STCCGCard("Brunt", "Pe-Fg", "R", 2);
   roa.Cards[72] = new STCCGCard("Dr. Borts", "Pe-Fg", "C" ,3);
   roa.Cards[73] = new STCCGCard("Frool", "Pe-Fg", "C" ,3);
   roa.Cards[74] = new STCCGCard("Gaila", "Pe-Fg", "R", 2);
   roa.Cards[75] = new STCCGCard("Goss", "Pe-Fg", "U" ,3);
   roa.Cards[76] = new STCCGCard("Gral", "Pe-Fg", "R", 2);
   roa.Cards[77] = new STCCGCard("Grand Nagus Gint", "Pe-Fg", "R", 2);
   roa.Cards[78] = new STCCGCard("Grand Nagus Zek", "Pe-Fg", "R", 2);
   roa.Cards[79] = new STCCGCard("Ishka", "Pe-Fg", "R", 2);
   roa.Cards[80] = new STCCGCard("Kazago", "Pe-Fg", "U" ,3);
   roa.Cards[81] = new STCCGCard("Krax", "Pe-Fg", "U" ,3);
   roa.Cards[82] = new STCCGCard("Krunk", "Pe-Fg", "C" ,3);
   roa.Cards[83] = new STCCGCard("Leck", "Pe-Fg", "R", 2);
   roa.Cards[84] = new STCCGCard("Letek", "Pe-Fg", "C" ,3);
   roa.Cards[85] = new STCCGCard("Lurin", "Pe-Fg", "R", 3);
   roa.Cards[86] = new STCCGCard("Maihar’du", "Pe-Fg", "R", 2);
   roa.Cards[87] = new STCCGCard("Morta", "Pe-Fg", "U" ,3);
   roa.Cards[88] = new STCCGCard("Nava", "Pe-Fg", "C" ,3);
   roa.Cards[89] = new STCCGCard("Nibor", "Pe-Fg", "U" ,3);
   roa.Cards[90] = new STCCGCard("Nilva", "Pe-Fg", "C" ,3);
   roa.Cards[91] = new STCCGCard("Omag", "Pe-Fg", "R", 3);
   roa.Cards[92] = new STCCGCard("Par Lenor", "Pe-Fg", "U" ,3);
   roa.Cards[93] = new STCCGCard("Pel", "Pe-Fg", "U" ,3);
   roa.Cards[94] = new STCCGCard("Prak", "Pe-Fg", "C" ,3);
   roa.Cards[95] = new STCCGCard("Qol", "Pe-Fg", "C" ,3);
   roa.Cards[96] = new STCCGCard("Quark", "Pe-Fg", "R", 2);
   roa.Cards[97] = new STCCGCard("Rom", "Pe-Fg/Bj", "R", 2);
   roa.Cards[98] = new STCCGCard("Solok", "Pe-Fg", "C" ,3);
   roa.Cards[99] = new STCCGCard("Sovak", "Pe-Fg", "U" ,3);
   roa.Cards[100] = new STCCGCard("Taar", "Pe-Fg", "C" ,3);
   roa.Cards[101] = new STCCGCard("Tog", "Pe-Fg", "U" ,3);
   roa.Cards[102] = new STCCGCard("Tol", "Pe-Fg", "U" ,3);
   roa.Cards[103] = new STCCGCard("Margh", "Pe-K", "R", 2);
   roa.Cards[104] = new STCCGCard("Aluura", "Pe-N/Fg", "R", 2);
   roa.Cards[105] = new STCCGCard("Arandis", "Pe-N", "R", 2);
   roa.Cards[106] = new STCCGCard("Calandra", "Pe-N", "C" ,3);
   roa.Cards[107] = new STCCGCard("Hagath", "Pe-N", "R", 2);
   roa.Cards[108] = new STCCGCard("Kasidy Yates", "Pe-N/Bj", "R", 2);
   roa.Cards[109] = new STCCGCard("Krozh", "Pe-N", "C" ,3);
   roa.Cards[110] = new STCCGCard("Morn", "Pe-N", "R", 2);
   roa.Cards[111] = new STCCGCard("Patahk", "Pe-R", "R", 2);
   roa.Cards[112] = new STCCGCard("Senator Cretak", "Pe-R", "R", 2);
   roa.Cards[113] = new STCCGCard("Naprem", "Sh-C", "R", 2);
   roa.Cards[114] = new STCCGCard("Patrol Ship", "Sh-C", "C" ,3);
   roa.Cards[115] = new STCCGCard("Karemman Vessel", "Sh-D", "C" ,3);
   roa.Cards[116] = new STCCGCard("U.S.S. Sao Paulo", "Sh-F", "R", 2);
   roa.Cards[117] = new STCCGCard("B’rel", "Sh-Fg", "C" ,3);
   roa.Cards[118] = new STCCGCard("D’Kora Marauder", "Sh-Fg", "C" ,3);
   roa.Cards[119] = new STCCGCard("D’Kora Transport", "Sh-Fg", "C" ,3);
   roa.Cards[120] = new STCCGCard("Ferengi Shuttle", "Sh-Fg", "C" ,3);
   roa.Cards[121] = new STCCGCard("Krayton", "Sh-Fg", "R", 3);
   roa.Cards[122] = new STCCGCard("Kreechta", "Sh-Fg", "R", 3);
   roa.Cards[123] = new STCCGCard("Quark’s Treasure", "Sh-Fg", "R", 2);
   roa.Cards[124] = new STCCGCard("Jovis", "Sh-N", "R", 3);
   roa.Cards[125] = new STCCGCard("Apnex", "Sh-R", "R", 2);
   roa.Cards[126] = new STCCGCard("Cargo Bay", "Si", "C" ,3);
   roa.Cards[127] = new STCCGCard("Quark’s Bar", "Si", "R", 3);
   roa.Cards[128] = new STCCGCard("Ferengi Energy Weapon", "Ta", "C" ,3);
   roa.Cards[129] = new STCCGCard("Plasma Energy Burst", "Ta", "U" ,3);

   CountCards(roa);

   anthology2.Cards[0] = new STCCGCard("Bashir Founder", "Pe-D", "R", 1);
   anthology2.Cards[1] = new STCCGCard("Jodmos", "Pe-K", "R", 1);
   anthology2.Cards[2] = new STCCGCard("Legate Damar", "Pe-C", "R", 1);
   anthology2.Cards[3] = new STCCGCard("Luther Sloan", "Pe-F", "R", 1);
   anthology2.Cards[4] = new STCCGCard("Koval", "Pe-R/F", "R", 1);
   anthology2.Cards[5] = new STCCGCard("Vedek Dax", "Pe-Bj", "R", 1);

   CountCards(anthology2);


   twt.Cards[0] = new STCCGCard("Orb of Time", "Ar", "R", 3);
   twt.Cards[1] = new STCCGCard("Chula: The Drink", "Di", "R", 3);
   twt.Cards[2] = new STCCGCard("Chula: The Way Home", "Di", "C", 3);
   twt.Cards[3] = new STCCGCard("Executive Authorization", "Di", "R", 3);
   twt.Cards[4] = new STCCGCard("Ferengi Infestation", "Di", "R", 1);
   twt.Cards[5] = new STCCGCard("Lineup","Di","C",3);
   twt.Cards[6] = new STCCGCard("Oops!","Di","C",3);
   twt.Cards[7] = new STCCGCard("Palukoo","Di","U",4);
   twt.Cards[8] = new STCCGCard("Q Gets the Point","Di","C",3);
   twt.Cards[9] = new STCCGCard("Storage Compartment Door","Do","C",4);
   twt.Cards[10] = new STCCGCard("Classic Communicator","Eq","C",3);
   twt.Cards[11] = new STCCGCard("Classic Medical Tricorder","Eq","U",3);
   twt.Cards[12] = new STCCGCard("Classic Tricorder","Eq","U",3);
   twt.Cards[13] = new STCCGCard("Classic Type II Phaser","Eq","C",3);
   twt.Cards[14] = new STCCGCard("VR Headset","Eq","U",3);
   twt.Cards[15] = new STCCGCard("62nd Rule of Acquisition","Ev","C",3);
   twt.Cards[16] = new STCCGCard("Organian Peace Treaty","Ev","C",3);
   twt.Cards[17] = new STCCGCard("Subspace Transporter","Ev","C",3);
   twt.Cards[18] = new STCCGCard("Temporal Investigations","Ev","C",3);
   twt.Cards[19] = new STCCGCard("Treaty: Cardassian/Bajoran","Ev","C",3);
   twt.Cards[20] = new STCCGCard("Treaty: Romulan/Bajoran","Ev","C",3);
   twt.Cards[21] = new STCCGCard("Deep Space Station K-7","Fa / St-F","R",3);
   twt.Cards[22] = new STCCGCard("Chain Reaction Ricochet","Ic","R",3);
   twt.Cards[23] = new STCCGCard("Homefront","Ic","U",3);
   twt.Cards[24] = new STCCGCard("HQ: Orbital Weapons Platform","Ic","R",3);
   twt.Cards[25] = new STCCGCard("Make It So","Ic","R",3);
   twt.Cards[26] = new STCCGCard("Obelisk of Masaka","Ic","U",3);
   twt.Cards[27] = new STCCGCard("Panel Overload","Ic","C",3);
   twt.Cards[28] = new STCCGCard("Q the Referee","Ic","U",3);
   twt.Cards[29] = new STCCGCard("Resistance is Futile","Ic","R",3);
   twt.Cards[30] = new STCCGCard("Tribble Bomb","Ic","U",3);
   twt.Cards[31] = new STCCGCard("We Look for Things","Ic","U",3);
   twt.Cards[32] = new STCCGCard("Burial Ground","In","U",3);
   twt.Cards[33] = new STCCGCard("Live Long and Prosper","In","C",3);
   twt.Cards[34] = new STCCGCard("Obedience Brings Victory","In","U",3);
   twt.Cards[35] = new STCCGCard("Scan Cycle Check","In","C",3);
   twt.Cards[36] = new STCCGCard("Suicidal Attack","In","C",3);
   twt.Cards[37] = new STCCGCard("Agricultural Assessment","Mi","U",3);
   twt.Cards[38] = new STCCGCard("Assign Support Personnel","Ob","C",3);
   twt.Cards[39] = new STCCGCard("Council of Warriors","Ob","R",3);
   twt.Cards[40] = new STCCGCard("Defend Homeworld ","Ob","U",3);
   twt.Cards[41] = new STCCGCard("Hero of the Empire","Ob","U",3);
   twt.Cards[42] = new STCCGCard("First Minister Shakaar","Pe-Bj","R",2);
   twt.Cards[43] = new STCCGCard("Sarish Rez","Pe-Bj","U",3);
   twt.Cards[44] = new STCCGCard("Six of Thirteen","Pe-B","C",3);
   twt.Cards[45] = new STCCGCard("Third of Five","Pe-B","R",2);
   twt.Cards[46] = new STCCGCard("Broca","Pe-C","U",3);
   twt.Cards[47] = new STCCGCard("Kira","Pe-C/Bj/F","R",2);
   twt.Cards[48] = new STCCGCard("Amet'alox","Pe-D","C",3);
   twt.Cards[49] = new STCCGCard("Lam","Pe-D","C",3);
   twt.Cards[50] = new STCCGCard("Thot Gor","Pe-D","R",2);
   twt.Cards[51] = new STCCGCard("Thot Pran","Pe-D","U",3);
   twt.Cards[52] = new STCCGCard("Varat'idan","Pe-D","C",3);
   twt.Cards[53] = new STCCGCard("B.G. Robinson","Pe-F","U",3);
   twt.Cards[54] = new STCCGCard("Captain Kirk","Pe-F","R",2);
   twt.Cards[55] = new STCCGCard("Dr. McCoy","Pe-F","R",1);
   twt.Cards[56] = new STCCGCard("Dulmer","Pe-F","R",2);
   twt.Cards[57] = new STCCGCard("Ensign Chekov","Pe-F","R",2);
   twt.Cards[58] = new STCCGCard("Ensign O'Brien","Pe-F","R",2);
   twt.Cards[59] = new STCCGCard("Lt. Bailey","Pe-F","R",2);
   twt.Cards[60] = new STCCGCard("Lt. Bashir","Pe-F","R",2);
   twt.Cards[61] = new STCCGCard("Lt. D'Amato","Pe-F","U",3);
   twt.Cards[62] = new STCCGCard("Lt. Dax","Pe-F","R",2);
   twt.Cards[63] = new STCCGCard("Lt. Grant","Pe-F","C",3);
   twt.Cards[64] = new STCCGCard("Lt. Nagata","Pe-F","U",3);
   twt.Cards[65] = new STCCGCard("Lt. Sisko","Pe-F","P",1);
   twt.Cards[66] = new STCCGCard("Lt. Sulu","Pe-F","R",2);
   twt.Cards[67] = new STCCGCard("Lt. Uhura","Pe-F","R",2);
   twt.Cards[68] = new STCCGCard("Lt. Watley","Pe-F","U",3);
   twt.Cards[69] = new STCCGCard("Lucsly","Pe-F","R",2);
   twt.Cards[70] = new STCCGCard("Mr. Scott","Pe-F","R",2);
   twt.Cards[71] = new STCCGCard("Mr. Spock","Pe-F","R",2);
   twt.Cards[72] = new STCCGCard("Nilz Baris","Pe-F","U",3);
   twt.Cards[73] = new STCCGCard("Falar","Pe-Fg","U",3);
   twt.Cards[74] = new STCCGCard("Lumba","Pe-Fg","R",2);
   twt.Cards[75] = new STCCGCard("Mordoc","Pe-Fg","C",3);
   twt.Cards[76] = new STCCGCard("Arne Darvin","Pe-K/F","R",2);
   twt.Cards[77] = new STCCGCard("Captain Koloth","Pe-K","P",1);
   twt.Cards[78] = new STCCGCard("Daval","Pe-K","C",3);
   twt.Cards[79] = new STCCGCard("Kered","Pe-K","C",3);
   twt.Cards[80] = new STCCGCard("Korax","Pe-K","U",3);
   twt.Cards[81] = new STCCGCard("Kras","Pe-K","U",3);
   twt.Cards[82] = new STCCGCard("Thopok","Pe-K","U",3);
   twt.Cards[83] = new STCCGCard("Tumek","Pe-K","U",3);
   twt.Cards[84] = new STCCGCard("Barry Waddle","Pe-N","R",2);
   twt.Cards[85] = new STCCGCard("Danderdag","Pe-N","C",3);
   twt.Cards[86] = new STCCGCard("Gem","Pe-N","U",3);
   twt.Cards[87] = new STCCGCard("Grebnedlog","Pe-N","R",2);
   twt.Cards[88] = new STCCGCard("Liam Bilby","Pe-N","U",3);
   twt.Cards[89] = new STCCGCard("Odo","Pe-N","R",2);
   twt.Cards[90] = new STCCGCard("Reginod","Pe-N","U",3);
   twt.Cards[91] = new STCCGCard("Worf","Pe-N","R",2);
   twt.Cards[92] = new STCCGCard("Yint","Pe-N","C",3);
   twt.Cards[93] = new STCCGCard("Jenok","Pe-R","C",3);
   twt.Cards[94] = new STCCGCard("Kalenna","Pe-R","U",3);
   twt.Cards[95] = new STCCGCard("Keras","Pe-R","R",2);
   twt.Cards[96] = new STCCGCard("The Centurion","Pe-R","R",2);
   twt.Cards[97] = new STCCGCard("Velal","Pe-R","R",2);
   twt.Cards[98] = new STCCGCard("Q-Type Android","Q-Di","U",3);
   twt.Cards[99] = new STCCGCard("Bajoran Raider","Sh-Bj","U",3);
   twt.Cards[100] = new STCCGCard("Bok'Nor","Sh-C","U",3);
   twt.Cards[101] = new STCCGCard("Stolen Attack Ship","Sh-C/F","R",3);
   twt.Cards[102] = new STCCGCard("Breen Warship","Sh-D","R",3);
   twt.Cards[103] = new STCCGCard("Dominion Battleship","Sh-D","R",3);
   twt.Cards[104] = new STCCGCard("Weyoun's Warship","Sh-D","R",3);
   twt.Cards[105] = new STCCGCard("Columbus","Sh-F","C",3);
   twt.Cards[106] = new STCCGCard("Starship Constitution","Sh-F","C",3);
   twt.Cards[107] = new STCCGCard("Starship Enterprise","Sh-F","R",2);
   twt.Cards[108] = new STCCGCard("Brunt's Shuttle","Sh-Fg","R",3);
   twt.Cards[109] = new STCCGCard("I.K.C. Gr'oth","Sh-K","R",2);
   twt.Cards[110] = new STCCGCard("I.K.C. Ning'tao","Sh-K","R",3);
   twt.Cards[111] = new STCCGCard("Mondor","Sh-N","U",3);
   twt.Cards[112] = new STCCGCard("Gal Gath'thong","Sh-R","R",3);
   twt.Cards[113] = new STCCGCard("Bajoran Shrine","Si","U",3);
   twt.Cards[114] = new STCCGCard("Bajoran Phaser Banks","Ta","C",3);
   twt.Cards[115] = new STCCGCard("Breen Disruptor Burst","Ta","C",3);
   twt.Cards[116] = new STCCGCard("Breen Energy-Dampening Weapon","Ta","R",3);
   twt.Cards[117] = new STCCGCard("Chain Reaction Pulsar","Ta","U",3);
   twt.Cards[118] = new STCCGCard("Sherman's Peak","Ti","U",3);
   twt.Cards[119] = new STCCGCard("1 Tribble (Bonus)","Tri","C",3);
   twt.Cards[120] = new STCCGCard("1 Tribble (Discard)","Tri","C",3);
   twt.Cards[121] = new STCCGCard("1 Tribble (Go)","Tri","C",3);
   twt.Cards[122] = new STCCGCard("10 Tribbles (Bonus)","Tri","U",3);
   twt.Cards[123] = new STCCGCard("10 Tribbles (Go)","Tri","U",3);
   twt.Cards[124] = new STCCGCard("10 Tribbles (Poison)","Tri","U",3);
   twt.Cards[125] = new STCCGCard("100 Tribbles (Bonus)","Tri","U",2);
   twt.Cards[126] = new STCCGCard("100 Tribbles (Poison)","Tri","U",2);
   twt.Cards[127] = new STCCGCard("100 Tribbles (Rescue)","Tri","U",2);
   twt.Cards[128] = new STCCGCard("1,000 Tribbles (Bonus)","Tri","U",1);
   twt.Cards[129] = new STCCGCard("1,000 Tribbles (Discard)","Tri","U",1);
   twt.Cards[130] = new STCCGCard("1,000 Tribbles (Rescue)","Tri","U",1);
   twt.Cards[131] = new STCCGCard("10,000 Tribbles (Go)","Tri","R",2);
   twt.Cards[132] = new STCCGCard("10,000 Tribbles (Poison)","Tri","R",2);
   twt.Cards[133] = new STCCGCard("10,000 Tribbles (Rescue)","Tri","R",2);
   twt.Cards[134] = new STCCGCard("100,000 Tribbles (Clone)","Tri","R",2);
   twt.Cards[135] = new STCCGCard("100,000 Tribbles (Discard)","Tri","R",2);
   twt.Cards[136] = new STCCGCard("100,000 Tribbles (Rescue)","Tri","R",2);
   twt.Cards[137] = new STCCGCard("Trouble... In the Engine Room","Tro","C",3);
   twt.Cards[138] = new STCCGCard("Trouble... In the Transporters","Tro","C",3);
   twt.Cards[139] = new STCCGCard("Trouble... On the Bridge","Tro","C",3);
   twt.Cards[140] = new STCCGCard("Trouble... On the Station","Tro","C",3);

   CountCards(twt);

   mm.Cards[0] = new STCCGCard("Tantalus Field ","Ar","R",3);
   mm.Cards[1] = new STCCGCard("A Fast Ship Would Be Nice","Di","R",3);
   mm.Cards[2] = new STCCGCard("Artillery Attack ","Di","R",3);
   mm.Cards[3] = new STCCGCard("Chula: The Game","Di","C",1);
   mm.Cards[4] = new STCCGCard("Denevan Neural Parasites","Di","R",3);
   mm.Cards[5] = new STCCGCard("Distraction ","Di","C",1);
   mm.Cards[6] = new STCCGCard("Emergency Conversion","Di","C",2);
   mm.Cards[7] = new STCCGCard("Gorn Encounter ","Di","C",1);
   mm.Cards[8] = new STCCGCard("Horta","Di","R",3);
   mm.Cards[9] = new STCCGCard("Kelvan Show of Force","Di","R",3);
   mm.Cards[10] = new STCCGCard("Quantum Fissure","Di","C",1);
   mm.Cards[11] = new STCCGCard("Royale Casino: Slots","Di","C",2);
   mm.Cards[12] = new STCCGCard("Bajoran Wormhole Mirror Universe","Do","C",1);
   mm.Cards[13] = new STCCGCard("The Guardian of Forever","Do","R",3);
   mm.Cards[14] = new STCCGCard("Agonizer","Eq","C",1);
   mm.Cards[15] = new STCCGCard("Classic Disruptor","Eq","C",2);
   mm.Cards[16] = new STCCGCard("Ferengi Whip ","Eq","C",1);
   mm.Cards[17] = new STCCGCard("Mirror Dagger ","Eq","C",2);
   mm.Cards[18] = new STCCGCard("Multidimensional Transporter Device","Eq","C",2);
   mm.Cards[19] = new STCCGCard("Romulan Cloaking Device","Eq","C",1);
   mm.Cards[20] = new STCCGCard("Self-Sealing Stem Bolts","Eq","C",2);
   mm.Cards[21] = new STCCGCard("Stolen Cloaking Device","Eq","C",1);
   mm.Cards[22] = new STCCGCard("35th Rule of Acquisition","Ev","C",1);
   mm.Cards[23] = new STCCGCard("Blood Screening","Ev","C",1);
   mm.Cards[24] = new STCCGCard("Treaty: Federation/Dominion","Ev","C",2);
   mm.Cards[25] = new STCCGCard("Alliance Nor","Fa/St-F/TE","C",2);
   mm.Cards[26] = new STCCGCard("Mirror Terok Nor","Fa/St-F/TE/KCA","R",2);
   mm.Cards[27] = new STCCGCard("Terran Outpost","Fa/Op-F/TE","C",2);
   mm.Cards[28] = new STCCGCard("Terran Rebellion HQ","Fa/HQ-F/TE","R",3);
   mm.Cards[29] = new STCCGCard("Klingon Empire Outpost","Fa/Op-K/KCA","C",2);
   mm.Cards[30] = new STCCGCard("Agony Booth","Ic","C",1);
   mm.Cards[31] = new STCCGCard("Crossover","Ic","C",3);
   mm.Cards[32] = new STCCGCard("Emblem of The Alliance","Ic","C",2);
   mm.Cards[33] = new STCCGCard("Emblem of the Empire","Ic","C",2);
   mm.Cards[34] = new STCCGCard("Hostage Trade","Ic","C",2);
   mm.Cards[35] = new STCCGCard("No Way Out","Ic","C",1);
   mm.Cards[36] = new STCCGCard("The Art of Diplomacy","Ic","R",3);
   mm.Cards[37] = new STCCGCard("Transporter Mixup","Ic","C",1);
   mm.Cards[38] = new STCCGCard("I'm A Doctor, Not A Bricklayer!","In","C",1);
   mm.Cards[39] = new STCCGCard("Vulcan ''Death Grip''","In","C",1);
   mm.Cards[40] = new STCCGCard("Disrupt Alliance","Mi","C",1);
   mm.Cards[41] = new STCCGCard("Feldomite Rush","Mi","C",1);
   mm.Cards[42] = new STCCGCard("Historical Research","Mi","C",1);
   mm.Cards[43] = new STCCGCard("Mine Dilithium","Mi","C",1);
   mm.Cards[44] = new STCCGCard("Search for Rebels","Mi","C",1);
   mm.Cards[45] = new STCCGCard("Construct Starship ","Ob","R",3);
   mm.Cards[46] = new STCCGCard("For Cardassia! ","Ob","C",1);
   mm.Cards[47] = new STCCGCard("The Emperor's New Cloak","Ob","C",1);
   mm.Cards[48] = new STCCGCard("Bareil ","Pe-Bj/KCA","R",2);
   mm.Cards[49] = new STCCGCard("Commander Leeta ","Pe-Bj/TE","R",3);
   mm.Cards[50] = new STCCGCard("Gantt","Pe-Bj","C",2);
   mm.Cards[51] = new STCCGCard("Javek Len","Pe-Bj/KCA","C",2);
   mm.Cards[52] = new STCCGCard("Overseer Odo ","Pe-Bj/C","R",2);
   mm.Cards[53] = new STCCGCard("Romara Cal ","Pe-Bj/KCA","C",2);
   mm.Cards[54] = new STCCGCard("Taymar Bern","Pe-Bj/KCA","C",2);
   mm.Cards[55] = new STCCGCard("The Intendant ","Pe-Bj/KCA","R",2);
   mm.Cards[56] = new STCCGCard("Weyoun of Borg","Pe-B","R",2);
   mm.Cards[57] = new STCCGCard("Aramax","Pe-C/KCA","C",2);
   mm.Cards[58] = new STCCGCard("Dorza","Pe-C/KCA","C",2);
   mm.Cards[59] = new STCCGCard("Overseer Mardel","Pe-C/KCA","C",1);
   mm.Cards[60] = new STCCGCard("Security Chief Garak","Pe-C/KCA","R",2);
   mm.Cards[61] = new STCCGCard("Thrax","Pe-C","C",1);
   mm.Cards[62] = new STCCGCard("Luaran","Pe-C","R",3);
   mm.Cards[63] = new STCCGCard("Captain Bashir ","Pe-F/TE","R",2);
   mm.Cards[64] = new STCCGCard("Captain Dax ","Pe-F/TE","R",2);
   mm.Cards[65] = new STCCGCard("Chief Engineer Scott","Pe-F/TE","R",2);
   mm.Cards[66] = new STCCGCard("Chief Navigator Chekov","Pe-F","R",2);
   mm.Cards[67] = new STCCGCard("Chief Surgeon McCoy","Pe-F/TE","R",2);
   mm.Cards[68] = new STCCGCard("Comm Officer Uhura","Pe-F/TE","R",2);
   mm.Cards[69] = new STCCGCard("Crewman Wilson","Pe-F/TE","C",2);
   mm.Cards[70] = new STCCGCard("Dr. Farallon ","Pe-F","R",3);
   mm.Cards[71] = new STCCGCard("Ensign Davis","Pe-F/TE","C",2);
   mm.Cards[72] = new STCCGCard("Ensign Gaffney","Pe-F/TE","C",2);
   mm.Cards[73] = new STCCGCard("First Officer Spock","Pe-F/TE","R",1);
   mm.Cards[74] = new STCCGCard("Jake Sisko","Pe-F","R",2);
   mm.Cards[75] = new STCCGCard("James Tiberius Kirk","Pe-F/TE","R",2);
   mm.Cards[76] = new STCCGCard("Lt. Kyle","Pe-F","C",1);
   mm.Cards[77] = new STCCGCard("Lt. Moreau","Pe-F","C",1);
   mm.Cards[78] = new STCCGCard("Marauder","Pe-F/TE","C",2);
   mm.Cards[79] = new STCCGCard("Marlena Moreau","Pe-F/TE","R",2);
   mm.Cards[80] = new STCCGCard("Mr. Andrews","Pe-F/TE","C",2);
   mm.Cards[81] = new STCCGCard("Mr. Tuvok","Pe-F/TE","R",3);
   mm.Cards[82] = new STCCGCard("Nurse Chapel","Pe-F","R",2);
   mm.Cards[83] = new STCCGCard("Prot","Pe-F/Fg","C",1);
   mm.Cards[84] = new STCCGCard("Security Chief Sulu","Pe-F/TE","R",2);
   mm.Cards[85] = new STCCGCard("Smiley","Pe-F/TE","R",2);
   mm.Cards[86] = new STCCGCard("Transporter Chief Kyle","Pe-F/TE","C",1);
   mm.Cards[87] = new STCCGCard("Mr. Brunt","Pe-Fg/KCA/TE","R",2);
   mm.Cards[88] = new STCCGCard("Mr. Nog","Pe-Fg/KCA/TE","R",2);
   mm.Cards[89] = new STCCGCard("Mr. Quark ","Pe-Fg/KCA/TE","R",2);
   mm.Cards[90] = new STCCGCard("Mr. Rom","Pe-Fg/TE","R",2);
   mm.Cards[91] = new STCCGCard("Korvek","Pe-K/KCA","C",2);
   mm.Cards[92] = new STCCGCard("Loreva","Pe-K/KCA","C",2);
   mm.Cards[93] = new STCCGCard("Regent Worf ","Pe-K/KCA","R",2);
   mm.Cards[94] = new STCCGCard("Rinox","Pe-K/KCA","C",1);
   mm.Cards[95] = new STCCGCard("Rukor","Pe-K/KCA","C",1);
   mm.Cards[96] = new STCCGCard("T'Vor","Pe-K/KCA","C",2);
   mm.Cards[97] = new STCCGCard("Telok","Pe-K/KCA","C",1);
   mm.Cards[98] = new STCCGCard("Vartoq","Pe-K/KCA","C",2);
   mm.Cards[99] = new STCCGCard("Balok","Pe-N","C",1);
   mm.Cards[100] = new STCCGCard("Dr. Roger Korby","Pe-N","C",1);
   mm.Cards[101] = new STCCGCard("Ezri","Pe-N/KCA/TE","R",2);
   mm.Cards[102] = new STCCGCard("Fontaine","Pe-N","R",2);
   mm.Cards[103] = new STCCGCard("Mr. Sisko ","Pe-N/KCA/TE","R",2);
   mm.Cards[104] = new STCCGCard("Professor Sisko ","Pe-N/KCA/TE","R",2);
   mm.Cards[105] = new STCCGCard("Ruk","Pe-N","R",3);
   mm.Cards[106] = new STCCGCard("Thomas Paris","Pe-N","R",3);
   mm.Cards[107] = new STCCGCard("Wyatt Earp","Pe-N","C",1);
   mm.Cards[108] = new STCCGCard("Commander Charvanek","Pe-R","R",2);
   mm.Cards[109] = new STCCGCard("D'vano","Pe-R","C",2);
   mm.Cards[110] = new STCCGCard("Gorrus","Pe-R","C",2);
   mm.Cards[111] = new STCCGCard("Subcommander Tal","Pe-R","C",1);
   mm.Cards[112] = new STCCGCard("Tagus","Pe-R","C",2);
   mm.Cards[113] = new STCCGCard("Alliance Interceptor","Sh-Bj/KCA","C",2);
   mm.Cards[114] = new STCCGCard("Bajoran Warship","Sh-Bj","R",3);
   mm.Cards[115] = new STCCGCard("Alliance Galor","Sh-C/KCA","C",2);
   mm.Cards[116] = new STCCGCard("Enhanced Attack Ship","Sh-D","C",1);
   mm.Cards[117] = new STCCGCard("Defiant ","Sh-F/TE","R",2);
   mm.Cards[118] = new STCCGCard("I.S.S. Constitution","Sh-F/TE","C",2);
   mm.Cards[119] = new STCCGCard("I.S.S. Enterprise","Sh-F/TE","R",2);
   mm.Cards[120] = new STCCGCard("Rebel Interceptor","Sh-F/TE","C",2);
   mm.Cards[121] = new STCCGCard("Type 18 Shuttlepod","Sh-F","C",1);
   mm.Cards[122] = new STCCGCard("Mirror Ferengi Shuttle","Sh-Fg/KCA/TE","C",1);
   mm.Cards[123] = new STCCGCard("Alliance K'Vort","Sh-K/KCA","C",2);
   mm.Cards[124] = new STCCGCard("Alliance Vor'Cha","Sh-K/KCA","C",2);
   mm.Cards[125] = new STCCGCard("I.K.C. Ki'tang","Sh-K","C",1);
   mm.Cards[126] = new STCCGCard("Regency 1","Sh-K/KCA","R",3);
   mm.Cards[127] = new STCCGCard("Fesarius","Sh-N","R",3);
   mm.Cards[128] = new STCCGCard("Battle Cruiser ","Sh-R/K","C",2);
   mm.Cards[129] = new STCCGCard("Ops: Mirror Universe","Si","C",2);
   mm.Cards[130] = new STCCGCard("Halkan Council","Ti","R",3);

   CountCards(mm);

   voy.Cards[0] = new STCCGCard("U.S.S. Equinox","Sh-N/F","R",1);
   voy.Cards[1] = new STCCGCard("Aggressive Behavior","Di","R",2);
   vsec.Cards[16]=
   voy.Cards[2] = new STCCGCard("Assassin's Blade (Voy)","Di","S",2);
   voy.Cards[3] = new STCCGCard("Astral Eddy","Di","R",2);
   voy.Cards[4] = new STCCGCard("Balancing Act (Voy)","Di","U",2);
   vsuc.Cards[17] =
   voy.Cards[5] = new STCCGCard("Civil Unrest","Di","C",2);
   vsec.Cards[0]=
   voy.Cards[6] = new STCCGCard("Common Thief (Voy)","Di","S",2);
   vsec.Cards[1]=
   voy.Cards[7] = new STCCGCard("Crisis (Voy)","Di","S",2);
   vsec.Cards[2]=
   voy.Cards[8] = new STCCGCard("Female's Love Interest (Voy)","Di","S",1);
   voy.Cards[9] = new STCCGCard("Flash Plasma Storm","Di","U",2);
   vsec.Cards[3]=
   voy.Cards[10] = new STCCGCard("Gravimetric Distortion","Di","S",2);
   voy.Cards[11] = new STCCGCard("Hanonian Land Eel","Di","R",2);
   vsec.Cards[4]=
   voy.Cards[12] = new STCCGCard("Hazardous Duty (Voy)","Di","S",2);
   voy.Cards[13] = new STCCGCard("Hull Breach","Di","R",2);
   vsuc.Cards[18] =
   voy.Cards[14] = new STCCGCard("Implication","Di","C",2);
   vsuc.Cards[19] =
   voy.Cards[15] = new STCCGCard("Kazon Bomb","Di","C",2);
   voy.Cards[16] = new STCCGCard("Komar Possession","Di","U",2);
   vsec.Cards[5]=
   voy.Cards[17] = new STCCGCard("Lack Of Preparation (Voy)","Di","S",2);
   voy.Cards[18] = new STCCGCard("Macrovirus","Di","R",2);
   vsec.Cards[6]=
   voy.Cards[19] = new STCCGCard("Male's Love Interest (Voy)","Di","S",1);
   vsec.Cards[7]=
   voy.Cards[20] = new STCCGCard("Matriarchal Society (Voy)","Di","S",1);
   vsec.Cards[8]=
   voy.Cards[21] = new STCCGCard("Navigational Hazards","Di","S",2);
   vsec.Cards[9]=
   voy.Cards[22] = new STCCGCard("Radioactive Garbage Scow (Voy)","Di","S",2);
   vsuc.Cards[16] =
   voy.Cards[23] = new STCCGCard("Spatial Rift","Di","C",2);
   voy.Cards[24] = new STCCGCard("Subspace Fracture","Di","R",2);
   voy.Cards[25] = new STCCGCard("The Cloud","Di","R",2);
   voy.Cards[26] = new STCCGCard("The Swarm","Di","R",2);
   vsuc.Cards[20] =
   voy.Cards[27] = new STCCGCard("Trabe Grenade","Di","C",2);
   voy.Cards[28] = new STCCGCard("Twisted ","Di","U",2);
   voy.Cards[29] = new STCCGCard("Volcanic Eruption","Di","R",2);
   voy.Cards[30] = new STCCGCard("Barzan Wormhole","Do","R",2);
   voy.Cards[31] = new STCCGCard("Ready Room Door (Voy)","Do","U",2);
   vsuc.Cards[21] =
   voy.Cards[32] = new STCCGCard("Temporal Micro-Wormhole","Do","C",2);
   vsuc.Cards[24] =
   voy.Cards[33] = new STCCGCard("Bio-Neural Gel Pack","Eq","C",2);
   vsec.Cards[10]=
   voy.Cards[34] = new STCCGCard("Engineering Kit (Voy)","Eq","S",1);
   vsec.Cards[11]=
   voy.Cards[35] = new STCCGCard("Engineering Tricorder (Voy)","Eq","S",1);
   voy.Cards[36] = new STCCGCard("Kazon Disruptor","Eq","C",2);
   voy.Cards[37] = new STCCGCard("Kazon Disruptor Rifle","Eq","U",2);
   vsec.Cards[12]=
   voy.Cards[38] = new STCCGCard("Medical Kit (Voy)","Eq","S",1);
   vsec.Cards[13]=
   voy.Cards[39] = new STCCGCard("Medical PADD (Voy)","Eq","S",1);
   voy.Cards[40] = new STCCGCard("Mobile Holo-Emitter","Eq","U",2);
   vsec.Cards[14]=
   voy.Cards[41] = new STCCGCard("Science PADD (Voy)","Eq","S",1);
   vsec.Cards[15]=
   voy.Cards[42] = new STCCGCard("Starfleet Type II Phaser (Voy)","Eq","S",1);
   voy.Cards[43] = new STCCGCard("Starfleet Type III Phaser Rifle (Voy)","Eq","U",2);
   vsuc.Cards[22] =
   voy.Cards[44] = new STCCGCard("Transporter Control Module","Eq","C",2);
   vsuc.Cards[23] =
   voy.Cards[45] = new STCCGCard("Vidiian Harvester","Eq","U",2);
   voy.Cards[46] = new STCCGCard("Ancestral Vision","Ev","R",2);
   voy.Cards[47] = new STCCGCard("Captain's Log (Voy)","Ev","U",2);
   voy.Cards[48] = new STCCGCard("Fair Play (Voy)","Ev","U",2);
   voy.Cards[49] = new STCCGCard("Kal-Toh","Ev","U",2);
   vsuc.Cards[25] =
   voy.Cards[50] = new STCCGCard("Lower Decks (Voy)","Ev","U",2);
   vsuc.Cards[26] =
   voy.Cards[51] = new STCCGCard("Mission Debriefing (Voy)","Ev","U",2);
   voy.Cards[52] = new STCCGCard("The Big Picture (Voy)","Ev","U",2);
   voy.Cards[53] = new STCCGCard("The Next Emanation","Ev","C",2);
   vsuc.Cards[27] =
   voy.Cards[54] = new STCCGCard("Villagers With Torches","Ev","C",2);
   voy.Cards[55] = new STCCGCard("Kazon Outpost","Fa/Op-Kz","C",2);
   NekritDepot = 
   voy.Cards[56] = new STCCGCard("Nekrit Supply Depot","Fa/Op-N","S",4);
   voy.Cards[57] = new STCCGCard("Vidiian Outpost","Fa/Op-V","C",2);
   vsuc.Cards[0] =
   voy.Cards[58] = new STCCGCard("Blue Alert ","Ic","C",2);
   voy.Cards[59] = new STCCGCard("Caretaker's Array","Ic","R",2);
   vsuc.Cards[29] =
   voy.Cards[60] = new STCCGCard("Containment Field","Ic","C",2);
   vsuc.Cards[1] =
   voy.Cards[61] = new STCCGCard("Delta Quadrant Spatial Scission","Ic","C",2);
   voy.Cards[62] = new STCCGCard("Handshake","Ic","U",2);
   vsuc.Cards[2] =
   voy.Cards[63] = new STCCGCard("Home Away From Home","Ic","C",2);
   vsuc.Cards[28] =
   voy.Cards[64] = new STCCGCard("The Kazon Collective","Ic","C",2);
   vsuc.Cards[3] =
   voy.Cards[65] = new STCCGCard("The Vidiian Sodality","Ic","C",2);
   voy.Cards[66] = new STCCGCard("Vidiian Boarding Claw","Ic","R",2);
   voy.Cards[67] = new STCCGCard("War Council","Ic","R",2);
   voy.Cards[68] = new STCCGCard("Auto-Destruct Sequence","In","U",2);
   voy.Cards[69] = new STCCGCard("Beyond The Subatomic","In","C",2);
   voy.Cards[70] = new STCCGCard("Distortion Of Space/Time Continuum (Voy)","In","U",2);
   voy.Cards[71] = new STCCGCard("Escape Pod (Voy)","In","C",2);
   voy.Cards[72] = new STCCGCard("Mutation","In","U",2);
   vsuc.Cards[4] =
   voy.Cards[73] = new STCCGCard("Nanoprobe Resuscitation","In","C",2);
   voy.Cards[74] = new STCCGCard("Quinn","In","R",2);
   voy.Cards[75] = new STCCGCard("The Gift","In","U",2);
   vsuc.Cards[5] =
   voy.Cards[76] = new STCCGCard("The Phage","In","C",2);
   vsuc.Cards[6] =
   voy.Cards[77] = new STCCGCard("The Power","In","C",2);
   vsmp.Cards[0] = vsmi.Cards[0] =
   voy.Cards[78] = new STCCGCard("Acquire Technology","Mi","U",2);
   vsmp.Cards[1] = vsmi.Cards[1] =
   voy.Cards[79] = new STCCGCard("Aftermath","Mi","U",2);
   voy.Cards[80] = new STCCGCard("Ambush Ship","Mi","U",2);
   vsms.Cards[1] = vsmi.Cards[9] =
   voy.Cards[81] = new STCCGCard("Answer Distress Signal","Mi","U",2);
   voy.Cards[82] = new STCCGCard("Assist Cooperative","Mi","U",2);
   vsms.Cards[7] = vsmi.Cards[15] =
   voy.Cards[83] = new STCCGCard("Catalog Phenomena","Mi","C",2);
   vsmp.Cards[2] = vsmi.Cards[2] =
   voy.Cards[84] = new STCCGCard("Combat Training","Mi","U",2);
   vsmp.Cards[3] = vsmi.Cards[3] =
   voy.Cards[85] = new STCCGCard("Contact Resistance","Mi","C",2);
   voy.Cards[86] = new STCCGCard("Cure Deadly Virus","Mi","R",2);
   voy.Cards[87] = new STCCGCard("Expose Plot","Mi","U",2);
   vsms.Cards[3] = vsmi.Cards[11] =
   voy.Cards[88] = new STCCGCard("Heal Life-Form","Mi","U",2);
   vsms.Cards[4] = vsmi.Cards[12] =
   voy.Cards[89] = new STCCGCard("Inversion Mystery","Mi","U",2);
   voy.Cards[90] = new STCCGCard("Investigate Quantum Singularity","Mi","R",2);
   voy.Cards[91] = new STCCGCard("Kazon Conference","Mi","U",2);
   voy.Cards[92] = new STCCGCard("Liberation","Mi","U",2);
   voy.Cards[93] = new STCCGCard("Prevent Annihilation","Mi","U",2);
   vsms.Cards[5] = vsmi.Cards[13] =
   voy.Cards[94] = new STCCGCard("Prison Break","Mi","U",2);
   vsms.Cards[6] = vsmi.Cards[14] =
   voy.Cards[95] = new STCCGCard("Reinitialize Warp Reaction","Mi","U",2);
   voy.Cards[96] = new STCCGCard("Research Phage","Mi","U",2);
   vsmp.Cards[5] = vsmi.Cards[5] =
   voy.Cards[97] = new STCCGCard("Restock Supplies","Mi","U",2);
   voy.Cards[98] = new STCCGCard("Restore Victims","Mi","R",2);
   voy.Cards[99] = new STCCGCard("Return Life-form","Mi","U",2);
   vsmp.Cards[4] = vsmi.Cards[4] =
   voy.Cards[100] = new STCCGCard("Revive Settlers","Mi","U",2);
   vsms.Cards[0] = vsmi.Cards[8] =
   voy.Cards[101] = new STCCGCard("Salvage Operation","Mi","U",2);
   vsmp.Cards[6] = vsmi.Cards[6] =
   voy.Cards[102] = new STCCGCard("Stop Bombardment","Mi","U",2);
   vsmp.Cards[7] = vsmi.Cards[7] =
   voy.Cards[103] = new STCCGCard("Study Interment Site","Mi","C",2);
   vsms.Cards[2] = vsmi.Cards[10] =
   voy.Cards[104] = new STCCGCard("Study Interstellar Colony ","Mi","U",2);
   vsmp.Cards[8] = vsmi.Cards[16] =
   voy.Cards[105] = new STCCGCard("Tak Tak Negotiation","Mi","C",2);
   voy.Cards[106] = new STCCGCard("Unseat Dictator","Mi","U",2);
   vsuc.Cards[7] =
   voy.Cards[107] = new STCCGCard("Assign Mission Specialists (Voy)","Ob","C",2);
   voy.Cards[108] = new STCCGCard("Boarding Party","Ob","U",2);
   voy.Cards[109] = new STCCGCard("Commandeer Ship (Voy)","Ob","U",2);
   voy.Cards[110] = new STCCGCard("Divert Power","Ob","U",2);
   voy.Cards[111] = new STCCGCard("Organ Theft","Ob","U",2);
   voy.Cards[112] = new STCCGCard("Tabor","Pe-Bj/F","R",1);
   voy.Cards[113] = new STCCGCard("Seska","Pe-C/Kz","R",1);
   vsco.Cards[0] =
   voy.Cards[114] = new STCCGCard("Ayala","Pe-F/N","C",1);
   voy.Cards[115] = new STCCGCard("B'Elanna Torres","Pe-F/N","R",1);
   vsco.Cards[3] =
   voy.Cards[116] = new STCCGCard("Cavit","Pe-F","C",2);
   voy.Cards[117] = new STCCGCard("Chakotay","Pe-F/N","R",1);
   vsuc.Cards[10] =
   voy.Cards[118] = new STCCGCard("Chell","Pe-F/N","U",1);
   vsco.Cards[2] =
   voy.Cards[119] = new STCCGCard("Dr. Fitzgerald ","Pe-F","C",2);
   voy.Cards[120] = new STCCGCard("Harry Kim","Pe-F","R",2);
   vsco.Cards[4] =
   voy.Cards[121] = new STCCGCard("Joseph Carey","Pe-F","C",2);
   voy.Cards[122] = new STCCGCard("Kathryn Janeway","Pe-F","R",2);
   voy.Cards[123] = new STCCGCard("Lon Suder","Pe-F/N","R",1);
   vsco.Cards[5] =
   voy.Cards[124] = new STCCGCard("Mariah Henley","Pe-F/N","C",1);
   vsuc.Cards[11] =
   voy.Cards[125] = new STCCGCard("Marla Gilmore","Pe-F/N","U",1);
   voy.Cards[126] = new STCCGCard("Maxwell Burke","Pe-F/N","R",1);
   voy.Cards[127] = new STCCGCard("Mitchell","Pe-F","U",2);
   voy.Cards[128] = new STCCGCard("Mortimer Harren","Pe-F","U",2);
   vsuc.Cards[12] =
   voy.Cards[129] = new STCCGCard("Noah Lessing","Pe-F/N","U",1);
   vsuc.Cards[9] =
   voy.Cards[130] = new STCCGCard("Rollins","Pe-F","U",2);
   voy.Cards[131] = new STCCGCard("Rudolph Ransom","Pe-F/N","R",1);
   voy.Cards[132] = new STCCGCard("Samantha Wildman","Pe-F","R",2);
   vsco.Cards[6] =
   voy.Cards[133] = new STCCGCard("Stadi","Pe-F","C",2);
   voy.Cards[134] = new STCCGCard("The Doctor","Pe-F","R",2);
   vsco.Cards[7] =
   voy.Cards[135] = new STCCGCard("Thompson","Pe-F/N","C",1);
   voy.Cards[136] = new STCCGCard("Tom Paris","Pe-F","R",2);
   voy.Cards[137] = new STCCGCard("Tuvok ","Pe-F","R",2);
   voy.Cards[138] = new STCCGCard("Vorik","Pe-F","R",2);
   vsco.Cards[8] =
   voy.Cards[139] = new STCCGCard("William Telfer","Pe-F","C",2);
   voy.Cards[140] = new STCCGCard("Dr. Arridor","Pe-Fg","R",2);
   voy.Cards[141] = new STCCGCard("Kol","Pe-Fg","R",2);
   vsco.Cards[1] =
   voy.Cards[142] = new STCCGCard("Corez ","Pe-Kz","C",2);
   voy.Cards[143] = new STCCGCard("Culluh","Pe-Kz","R",2);
   voy.Cards[144] = new STCCGCard("Haliz","Pe-Kz","U",2);
   vsco.Cards[9] =
   voy.Cards[145] = new STCCGCard("Halok","Pe-Kz","C",2);
   voy.Cards[146] = new STCCGCard("Haron","Pe-Kz","R",2);
   vsuc.Cards[8] =
   voy.Cards[147] = new STCCGCard("Jabin","Pe-Kz","U",2);
   voy.Cards[148] = new STCCGCard("Karden","Pe-Kz","R",2);
   voy.Cards[149] = new STCCGCard("Loran","Pe-Kz","U",2);
   vsco.Cards[10] =
   voy.Cards[150] = new STCCGCard("Maniz","Pe-Kz","C",2);
   voy.Cards[151] = new STCCGCard("Minnis","Pe-Kz","R",2);
   vsco.Cards[11] =
   voy.Cards[152] = new STCCGCard("Narret","Pe-Kz","C",2);
   vsco.Cards[12] =
   voy.Cards[153] = new STCCGCard("Rabek","Pe-Kz","C",2);
   voy.Cards[154] = new STCCGCard("Razik","Pe-Kz","R",2);
   voy.Cards[155] = new STCCGCard("Rettick","Pe-Kz","U",2);
   vsco.Cards[13] =
   voy.Cards[156] = new STCCGCard("Ril","Pe-Kz","C",2);
   vsco.Cards[14] =
   voy.Cards[157] = new STCCGCard("Saldin","Pe-Kz","C",2);
   voy.Cards[158] = new STCCGCard("Tersa","Pe-Kz","U",2);
   voy.Cards[159] = new STCCGCard("Tierna","Pe-Kz","R",2);
   voy.Cards[160] = new STCCGCard("Valek","Pe-Kz","U",2);
   voy.Cards[161] = new STCCGCard("Arturis","Pe-N","R",2);
   voy.Cards[162] = new STCCGCard("Dr. Ma'Bor Jetrel","Pe-N","R",2);
   voy.Cards[163] = new STCCGCard("Dr. Neria","Pe-N","U",2);
   voy.Cards[164] = new STCCGCard("Kes","Pe-N/F","R",1);
   voy.Cards[165] = new STCCGCard("Kurros","Pe-N","R",2);
   vspe.Cards[1] =
   voy.Cards[166] = new STCCGCard("Magistrate Drang","Pe-N","S",2);
   voy.Cards[167] = new STCCGCard("Neelix","Pe-N/F","R",1);
   vspe.Cards[0] =
   voy.Cards[168] = new STCCGCard("Nimira","Pe-N","S",2);
   vsco.Cards[15] =
   voy.Cards[169] = new STCCGCard("Paxim","Pe-N","C",2);
   voy.Cards[170] = new STCCGCard("Penk","Pe-N","R",2);
   voy.Cards[171] = new STCCGCard("Seven of Nine","Pe-N/F","R",1);
   voy.Cards[172] = new STCCGCard("Tanis","Pe-N","R",2);
   voy.Cards[173] = new STCCGCard("The Pendari Champion","Pe-N","R",1);
   voy.Cards[174] = new STCCGCard("Dr. Telek R'Mor","Pe-R","R",2);
   voy.Cards[175] = new STCCGCard("Nevala","Pe-R","R",2);
   voy.Cards[176] = new STCCGCard("Rekar","Pe-R","R",2);
   voy.Cards[177] = new STCCGCard("Danara Pel","Pe-V","R",2);
   voy.Cards[178] = new STCCGCard("Dereth","Pe-V","R",2);
   vsco.Cards[16] =
   voy.Cards[179] = new STCCGCard("Drenol","Pe-V","C",2);
   vsco.Cards[17] =
   voy.Cards[180] = new STCCGCard("Hophalin","Pe-V","C",2);
   vsco.Cards[18] =
   voy.Cards[181] = new STCCGCard("Losarus","Pe-V","C",2);
   voy.Cards[182] = new STCCGCard("Motura","Pe-V","R",2);
   vsco.Cards[19] =
   voy.Cards[183] = new STCCGCard("Nadirum","Pe-V","C",2);
   vsco.Cards[20] =
   voy.Cards[184] = new STCCGCard("Nirata","Pe-V","C",2);
   vsco.Cards[21] =
   voy.Cards[185] = new STCCGCard("Sethis","Pe-V","C",2);
   vsco.Cards[22] =
   voy.Cards[186] = new STCCGCard("Sorum","Pe-V","C",2);
   voy.Cards[187] = new STCCGCard("Sulan","Pe-V","R",2);
   vsco.Cards[23] =
   voy.Cards[188] = new STCCGCard("Telari","Pe-V","C",2);
   vsco.Cards[24] =
   voy.Cards[189] = new STCCGCard("Thaden","Pe-V","C",2);
   voy.Cards[190] = new STCCGCard("Delta Flyer","Sh-F","R",2);
   vsco.Cards[25] =
   voy.Cards[191] = new STCCGCard("Type 9 Shuttlecraft","Sh-F","C",2);
   voy.Cards[192] = new STCCGCard("U.S.S. Equinox","Sh-F/N","R",1);
   vsco.Cards[26] =
   voy.Cards[193] = new STCCGCard("U.S.S. Intrepid","Sh-F","C",2);
   voy.Cards[194] = new STCCGCard("U.S.S. Voyager","Sh-F","R",2);
   vsco.Cards[27] =
   voy.Cards[195] = new STCCGCard("Kazon Raider","Sh-Kz","C",2);
   vsco.Cards[28] =
   voy.Cards[196] = new STCCGCard("Kazon Shuttle","Sh-Kz","C",2);
   voy.Cards[197] = new STCCGCard("Kazon Warship","Sh-Kz","R",2);
   voy.Cards[198] = new STCCGCard("Bothan Vessel","Sh-N","U",2);
   voy.Cards[199] = new STCCGCard("Vidiian Cruiser","Sh-V","R",2);
   vsco.Cards[29] =
   voy.Cards[200] = new STCCGCard("Vidiian Interceptor ","Sh-V","C",2);
   vsco.Cards[30] =
   voy.Cards[201] = new STCCGCard("Vidiian Scout Vessel","Sh-V","C",2);
   voy.Cards[202] = new STCCGCard("Kes","Pe-F/N","R",1);
   voy.Cards[203] = new STCCGCard("Neelix","Pe-F/N","R",1);
   voy.Cards[204] = new STCCGCard("Seven of Nine","Pe-F/N","R",1);
   voy.Cards[205] = new STCCGCard("Tabor","Pe-F/Bj","R",1);
   voy.Cards[206] = new STCCGCard("Seska","Pe-Kz/C","R",1);
   vsco.Cards[31] =
   voy.Cards[207] = new STCCGCard("Ayala","Pe-N/F","C",1);
   voy.Cards[208] = new STCCGCard("B'Elanna Torres","Pe-N/F","R",1);
   voy.Cards[209] = new STCCGCard("Chakotay","Pe-N/F","R",1);
   vsuc.Cards[13] =
   voy.Cards[210] = new STCCGCard("Chell","Pe-N/F","U",1);
   voy.Cards[211] = new STCCGCard("Lon Suder","Pe-N/F","R",1);
   vsco.Cards[32] =
   voy.Cards[212] = new STCCGCard("Mariah Henley","Pe-N/F","C",1);
   vsuc.Cards[14] =
   voy.Cards[213] = new STCCGCard("Marla Gilmore","Pe-N/F","U",1);
   voy.Cards[214] = new STCCGCard("Maxwell Burke","Pe-N/F","R",1);
   vsuc.Cards[15] =
   voy.Cards[215] = new STCCGCard("Noah Lessing","Pe-N/F","U",1);
   voy.Cards[216] = new STCCGCard("Rudolph Ransom","Pe-N/F","R",1);
   vsco.Cards[33] =
   voy.Cards[217] = new STCCGCard("Thompson","Pe-N/F","C",1);

   vs.Cards[0] = new STCCGCard("Rollins","Pe-F","C",1);
   vs.Cards[1] = new STCCGCard("Chell","Pe-F/N","C",1);
   vs.Cards[2] = new STCCGCard("Noah Lessing","Pe-F/N","C",1);
   vs.Cards[3] = new STCCGCard("Marla Gilmore","Pe-F/N","C",1);
   vs.Cards[4] = new STCCGCard("Marla Gilmore","Pe-N/F","C",1);
   vs.Cards[5] = new STCCGCard("Jabin","Pe-Kz","C",1);
   vs.Cards[6] = new STCCGCard("Lower Decks","Ev","C",1);
   vs.Cards[7] = new STCCGCard("Mission Debriefing","Ev","C",1);
   vs.Cards[8] = new STCCGCard("Vidiian Harvester","Eq","C",1);
   vsm.Cards[9] = new STCCGCard("Stop Bombardment","Mi","C",1);
   vsm.Cards[10] = new STCCGCard("Combat Training","Mi","C",1);
   vsm.Cards[11] = new STCCGCard("Aftermath","Mi","C",1);
   vsm.Cards[12] = new STCCGCard("Restock Supplies","Mi","C",1);
   vsm.Cards[13] = new STCCGCard("Acquire Technology","Mi","C",1);
   vsm.Cards[14] = new STCCGCard("Revive Settlers","Mi","C",1);
   vsm.Cards[15] = new STCCGCard("Assist Cooperative","Mi","C",1);
   vsm.Cards[2] = new STCCGCard("Prison Break","Mi","C",1);
   vsm.Cards[3] = new STCCGCard("Study Interstellar Colony","Mi","C",1);
   vsm.Cards[4] = new STCCGCard("Reinitialize Warp Reaction","Mi","C",1);
   vsm.Cards[5] = new STCCGCard("Inversion Mystery","Mi","C",1);
   vsm.Cards[6] = new STCCGCard("Salvage Operation","Mi","C",1);
   vsm.Cards[7] = new STCCGCard("Heal Life-Form","Mi","C",1);
   vsm.Cards[8] = new STCCGCard("Answer Distress Signal","Mi","C",1);
   vs.Cards[23] = new STCCGCard("Cavit","Pe-F","C",1);
   vs.Cards[24] = new STCCGCard("William Telfer","Pe-F","C",1);
   vs.Cards[25] = new STCCGCard("Joseph Carey","Pe-F","C",1);
   vs.Cards[26] = new STCCGCard("Dr. Fitzgerald","Pe-F","C",1);
   vs.Cards[27] = new STCCGCard("Stadi","Pe-F","C",1);
   vs.Cards[28] = new STCCGCard("U.S.S. Intrepid","Sh-F","C",1);
   vs.Cards[29] = new STCCGCard("Type 9 Shuttlecraft","Sh-F","C",1);
   vs.Cards[30] = new STCCGCard("Thompson","Pe-F/N","C",1);
   vs.Cards[31] = new STCCGCard("Ayala","Pe-F/N","C",1);
   vs.Cards[32] = new STCCGCard("Mariah Henley","Pe-N/F","C",2);
   vs.Cards[33] = new STCCGCard("Paxim","Pe-N","C",2);
   vs.Cards[34] = new STCCGCard("Halok","Pe-Kz","C",2);
   vs.Cards[35] = new STCCGCard("Saldin","Pe-Kz","C",2);
   vs.Cards[36] = new STCCGCard("Rabek","Pe-Kz","C",1);
   vs.Cards[37] = new STCCGCard("Maniz","Pe-Kz","C",2);
   vs.Cards[38] = new STCCGCard("Narret","Pe-Kz","C",1);
   vs.Cards[39] = new STCCGCard("Corez","Pe-Kz","C",1);
   vs.Cards[40] = new STCCGCard("Ril","Pe-Kz","C",2);
   vs.Cards[41] = new STCCGCard("Kazon Raider","Sh-Kz","C",2);
   vs.Cards[42] = new STCCGCard("Kazon Shuttle","Sh-Kz","C",2);
   vs.Cards[43] = new STCCGCard("Sorum","Pe-V","C",1);
   vs.Cards[44] = new STCCGCard("Nirata","Pe-V","C",1);
   vs.Cards[45] = new STCCGCard("Nadirum","Pe-V","C",2);
   vs.Cards[46] = new STCCGCard("Hophalin","Pe-V","C",2);
   vs.Cards[47] = new STCCGCard("Thaden","Pe-V","C",1);
   vs.Cards[48] = new STCCGCard("Drenol","Pe-V","C",2);
   vs.Cards[49] = new STCCGCard("Losarus","Pe-V","C",2);
   vs.Cards[50] = new STCCGCard("Sethis","Pe-V","C",2);
   vs.Cards[9] = new STCCGCard("Telari","Pe-V","C",2);
   vs.Cards[10] = new STCCGCard("Vidiian Interceptor","Sh-V","C",2);
   vs.Cards[11] = new STCCGCard("Vidiian Scout Vessel","Sh-V","C",2);
   vs.Cards[12] = new STCCGCard("Villagers With Torches","Ev","C",1);
   vs.Cards[13] = new STCCGCard("Blue Alert","Ic","C",1);
   vs.Cards[14] = new STCCGCard("The Vidiian Sodality","Ic","C",2);
   vs.Cards[15] = new STCCGCard("The Kazon Collective","Ic","C",2);
   vs.Cards[16] = new STCCGCard("Transporter Control Module","Eq","C",2);
   vs.Cards[17] = new STCCGCard("Bio-Neural Gel Pack","Eq","C",1);
   vs.Cards[18] = new STCCGCard("Kazon Bomb","Di","C",1);
   vs.Cards[19] = new STCCGCard("Implication","Di","C",1);
   vs.Cards[20] = new STCCGCard("Spatial Rift","Di","C",1);
   vs.Cards[21] = new STCCGCard("Trabe Grenade","Di","C",2);
   vs.Cards[22] = new STCCGCard("Civil Unrest","Di","C",1);
   vsm.Cards[1] = new STCCGCard("Contact Resistance","Mi","C",2);
   vsm.Cards[0] = new STCCGCard("Catalog Phenomena","Mi","C",1);

   CountCards(voy);
   CountCards(vs);
   CountCards(vsm);

   vsec["S"]=25;
   vspe["S"]=4;
   CountCards(vsco);
   CountCards(vsuc);
   CountCards(vsms);
   CountCards(vsmp);
   CountCards(vsmi);

   BevWil = new STCCGCard("Beverly & Will", "Pe-N", "C", 1);
   DatPic = new STCCGCard("Data & Picard", "Pe-R/F", "C", 1);
   DatGeo = new STCCGCard("Data & Geordi", "Pe-F", "C", 1);
   JeaBev = new STCCGCard("Jean-Luc & Beverly", "Pe-F", "C", 1);
   SonsOfMogh = new STCCGCard("Sons Of Mogh", "Pe-K", "C", 1);
   TheTrois = new STCCGCard("The Trois", "Pe-Fg/F", "C", 1);
   MisBevWil = new STCCGCard("Explore Black Cluster II", "Mi", "C", 1);
   MisDatPic = new STCCGCard("Explore Typhon Expanse II", "Mi", "C", 1);
   MisDatGeo = new STCCGCard("Test Mission II", "Mi", "C", 1);
   MisJeaBev = new STCCGCard("Investigate Anomaly II", "Mi", "C", 1);
   MisSonsOfMogh = new STCCGCard("Secret Salvage II", "Mi", "C", 1);
   MisTheTrois = new STCCGCard("Investigate Sighting II", "Mi", "C", 1);
   epwhm.Cards[1] = new STCCGCard("Relief Mission II", "Mi", "C", 1);
   epwhm.Cards[2] = new STCCGCard("Covert Installation II", "Mi", "C", 1);
   epwhm.Cards[0] = new STCCGCard("Excavation II", "Mi", "C", 1);
   epcdi.Cards[1] = new STCCGCard("Alien Parasites & Rem Fatigue", "CDi", "C", 1);
   epcdi.Cards[2] = new STCCGCard("Anaphasic Organism & Nagilum", "CDi", "C", 1);
   epcdi.Cards[3] = new STCCGCard("Ancient Computer & Microvirus", "CDi", "C", 1);
   epcdi.Cards[4] = new STCCGCard("Computer Weapon & Hyper-Aging", "CDi", "C", 1);
   epcdi.Cards[5] = new STCCGCard("Female's Love Interest & Garbage Scow", "CDi", "C", 1);
   epcdi.Cards[0] = new STCCGCard("Male's Love Interest & Plague Ship", "CDi", "C", 1);
   
   CountCards(epwhm);
   CountCards(epcdi);

   Foils.Cards[0] = new STCCGCard("Alas, Poor Queen (Foil)","In","R",3);
   Foils.Cards[1] = new STCCGCard("Armus - Skin of Evil (Foil)","Di","R",3);
   Foils.Cards[2] = new STCCGCard("Assimilate Homeworld (Foil)","Ob","R",3);
   Foils.Cards[3] = new STCCGCard("Bareil Antos (Foil)","Pe-Bj","R",3);
   Foils.Cards[4] = new STCCGCard("Betazoid Gift Box (Foil)","Ar","R",3);
   Foils.Cards[5] = new STCCGCard("Cha'Joh (Foil)","Sh/R/K","R",3);
   Foils.Cards[6] = new STCCGCard("Cryosatellite (Foil)","Ar","R",3);
   Foils.Cards[7] = new STCCGCard("Crystalline Entity (Foil)","Di","R",3);
   Foils.Cards[8] = new STCCGCard("Damar (Foil)","Pe-C","R",3);
   Foils.Cards[9] = new STCCGCard("Decius (Foil)","Sh-R","R",3);
   Foils.Cards[10] = new STCCGCard("DNA Clues (Foil)","Di","R",3);
   Foils.Cards[11] = new STCCGCard("Garak (Foil)","Pe-C/N","R",3);
   Foils.Cards[12] = new STCCGCard("Gomtuu (Foil)","Sh-N","R",3);
   Foils.Cards[13] = new STCCGCard("I.K.C. Bortas (Foil)","Sh-K","R",3);
   Foils.Cards[14] = new STCCGCard("I.K.C. Fek'lhr (Foil)","Sh-K","R",3);
   Foils.Cards[15] = new STCCGCard("I.K.C. Hegh'ta (Foil)","Sh-K","R",3);
   Foils.Cards[16] = new STCCGCard("I.K.C. Rotarran (Foil)","Sh-K","R",3);
   Foils.Cards[17] = new STCCGCard("Interrogation (Foil)","Ev","R",3);
   Foils.Cards[18] = new STCCGCard("Investigate ''Shattered Space'' (Foil)","Mi","R",3);
   Foils.Cards[19] = new STCCGCard("Investigate Rumors (Foil)","Mi","R",3);
   Foils.Cards[20] = new STCCGCard("Kahless (Foil)","Pe-K","R",3);
   Foils.Cards[21] = new STCCGCard("Khazara (Foil)","Sh-R","R",3);
   Foils.Cards[22] = new STCCGCard("Kira Founder (Foil)","Pe-D","R",3);
   Foils.Cards[23] = new STCCGCard("Klingon Death Yell (Foil)","In","R",3);
   Foils.Cards[24] = new STCCGCard("Kurn (Foil)","Pe-K","R",3);
   Foils.Cards[25] = new STCCGCard("Magic Carpet Ride OCD (Foil)","Ar","R",3);
   Foils.Cards[26] = new STCCGCard("Montana Missile Complex  (Foil)","Ti","R",3);
   Foils.Cards[27] = new STCCGCard("O'Brien Founder (Foil)","Pe-D","R",3);
   Foils.Cards[28] = new STCCGCard("Ocular Implants (Foil)","Ev","R",3);
   Foils.Cards[29] = new STCCGCard("Pegasus Search (Foil)","Mi","R",3);
   Foils.Cards[30] = new STCCGCard("Plans of the Tal Shiar (Foil)","Ob","R",3);
   Foils.Cards[31] = new STCCGCard("Prakesh (Foil)","Sh-C","R",3);
   Foils.Cards[32] = new STCCGCard("Ressikan Flute (Foil)","Ar","R",3);
   Foils.Cards[33] = new STCCGCard("Retask (Foil)","Ev","R",3);
   Foils.Cards[34] = new STCCGCard("Revolving Door (Foil)","Ev","R",3);
   Foils.Cards[35] = new STCCGCard("Scout Encounter (Foil)","Di","R",3);
   Foils.Cards[36] = new STCCGCard("Study Nebula (Foil)","Mi","R",3);
   Foils.Cards[37] = new STCCGCard("Supernova (Foil)","Ev","R",3);
   Foils.Cards[38] = new STCCGCard("System 5 Disruptors (Foil)","Ev","R",3);
   Foils.Cards[39] = new STCCGCard("Taris (Foil)","Pe-R","R",3);
   Foils.Cards[40] = new STCCGCard("The Sheliak (Foil)","Di","R",3);
   Foils.Cards[41] = new STCCGCard("Toreth (Foil)","Pe-R","R",3);
   Foils.Cards[42] = new STCCGCard("U.S.S. Enterprise-C (Foil)","Sh-F","R",3);
   Foils.Cards[43] = new STCCGCard("Wall of Ships (Foil)","Ev","R",3);
   Foils.Cards[44] = new STCCGCard("Wormhole Negotiations (Foil)","Mi","R",3);
   Foils.Cards[45] = new STCCGCard("Yuta (Foil)","Di","R",3);
   Foils.Cards[46] = new STCCGCard("Borg Queen (Foil)","Pe-B","R",1);
   Foils.Cards[47] = new STCCGCard("Future Enterprise (Foil)","Sh-F","R",1);
   Foils.Cards[48] = new STCCGCard("Jean-Luc Picard (Foil)","Pe-F","R",1);
   Foils.Cards[49] = new STCCGCard("U.S.S. Defiant (Foil)","Sh-F","R",1);
   Foils.Cards[50] = new STCCGCard("10 and 01 (Foil)","Pe-N","R",2);
   Foils.Cards[51] = new STCCGCard("B'Etor (Foil)","Pe-K","R",2);
   Foils.Cards[52] = new STCCGCard("Barclay's Protomorphosis Disease (Foil)","Di","R",2);
   Foils.Cards[53] = new STCCGCard("Benjamin Sisko (Foil)","Pe-F","R",2);
   Foils.Cards[54] = new STCCGCard("Beverly Crusher (Foil)","Pe-F","R",2);
   Foils.Cards[55] = new STCCGCard("Beverly Picard (Foil)","Pe-F","R",2);
   Foils.Cards[56] = new STCCGCard("Borg Ship (Foil)","Di","R",2);
   Foils.Cards[57] = new STCCGCard("Bynars Weapon Enhancement (Foil)","Ev","R",2);
   Foils.Cards[58] = new STCCGCard("Central Command (Foil)","Fa/HQ-C","R",2);
   Foils.Cards[59] = new STCCGCard("Chamber of Ministers (Foil)","Fa/HQ-Bj","R",2);
   Foils.Cards[60] = new STCCGCard("Cytherians (Foil)","Di","R",2);
   Foils.Cards[61] = new STCCGCard("D'deridex Advanced  (Foil)","Sh-R","R",2);
   Foils.Cards[62] = new STCCGCard("Data (Foil)","Pe-F","R",2);
   Foils.Cards[63] = new STCCGCard("Data's Head (Foil)","Ar","R",2);
   Foils.Cards[64] = new STCCGCard("Dathon (Foil)","Pe-N","R",2);
   Foils.Cards[65] = new STCCGCard("Deanna Troi (Foil)","Pe-F","R",2);
   Foils.Cards[66] = new STCCGCard("Devidian Door (Foil)","Do","R",2);
   Foils.Cards[67] = new STCCGCard("Dukat (Foil)","Pe-C","R",2);
   Foils.Cards[68] = new STCCGCard("Elim Garak (Foil)","Pe-C","R",2);
   Foils.Cards[69] = new STCCGCard("Espionage Mission (Foil)","Mi","R",2);
   Foils.Cards[70] = new STCCGCard("Founder Leader (Foil)","Pe-D","R",2);
   Foils.Cards[71] = new STCCGCard("Galen (Foil)","Pe-N","R",2);
   Foils.Cards[72] = new STCCGCard("Geordi La Forge (Foil)","Pe-F","R",2);
   Foils.Cards[73] = new STCCGCard("Governor Worf (Foil)","Pe-K","R",2);
   Foils.Cards[74] = new STCCGCard("Gowron (Foil)","Pe-K","R",2);
   Foils.Cards[75] = new STCCGCard("Horga'hn (Foil)","Ar","R",2);
   Foils.Cards[76] = new STCCGCard("Jadzia Dax (Foil)","Pe-F","R",2);
   Foils.Cards[77] = new STCCGCard("Julian Bashir (Foil)","Pe-F","R",2);
   Foils.Cards[78] = new STCCGCard("Keldon Advanced  (Foil)","Sh-C","R",2);
   Foils.Cards[79] = new STCCGCard("Kira Nerys (Foil)","Pe-Bj","R",2);
   Foils.Cards[80] = new STCCGCard("Kurlan Naiskos (Foil)","Ar","R",2);
   Foils.Cards[81] = new STCCGCard("Lursa (Foil)","Pe-K","R",2);
   Foils.Cards[82] = new STCCGCard("Madam Guinan (Foil)","Pe-N","R",2);
   Foils.Cards[83] = new STCCGCard("Major Rakal (Foil)","Pe-R/F","R",2);
   Foils.Cards[84] = new STCCGCard("Martok (Foil)","Pe-K","R",2);
   Foils.Cards[85] = new STCCGCard("Odo (Foil)","Pe-Bj","R",2);
   Foils.Cards[86] = new STCCGCard("Office of the President (Foil)","Fa/HQ-F","R",2);
   Foils.Cards[87] = new STCCGCard("Office of the Proconsul (Foil)","Fa/HQ-R","R",2);
   Foils.Cards[88] = new STCCGCard("Q (Foil)","Di","R",2);
   Foils.Cards[89] = new STCCGCard("Queen's Borg Cube (Foil)","Sh-B","R",2);
   Foils.Cards[90] = new STCCGCard("Regenerate (Foil)","Ev","R",2);
   Foils.Cards[91] = new STCCGCard("Roga Danar (Foil)","Pe-N","R",2);
   Foils.Cards[92] = new STCCGCard("Sela (Foil)","Pe-R","R",2);
   Foils.Cards[93] = new STCCGCard("Tasha Yar-Alternate (Foil)","Pe-F","R",2);
   Foils.Cards[94] = new STCCGCard("The Great Hall (Foil)","Fa/HQ/K","R",2);
   Foils.Cards[95] = new STCCGCard("The Great Link (Foil)","Fa/HQ-D","R",2);
   Foils.Cards[96] = new STCCGCard("U.S.S. Enterprise (Foil)","Sh-F","R",2);
   Foils.Cards[97] = new STCCGCard("Weyoun (Foil)","Pe-D","R",2);
   Foils.Cards[98] = new STCCGCard("William T. Riker (Foil)","Pe-F","R",2);
   Foils.Cards[99] = new STCCGCard("Worf (Foil)","Pe-F","R",2);

   CountCards(Foils);
}

function ArrayIndexOf(array, element)
{
   var result = -1;
   for (var i = 0; i < array.length; i++)
      if (array[i] == element)
      {
         result = i;
         break;
      }
   return result;
}

function CopyArray(array1, array2)
{
   for (var i = 0; i < array1.length; i++)
      array2[i] = array1[i];
}

function GetCard(set, sheet)
{
   var r = Math.floor(Math.random() * set[sheet]) + 1;
   var result = null;

   for (var i = 0; i < set.Count; i++)
      if (set.Cards[i].Sheet == sheet)
      {
         r -= set.Cards[i].Slots;
         if (r <= 0)
         {
            result = set.Cards[i];
            break;
         }
      }

   return result;
}

function GetCardP2PG()
{
   var card = null;
   var r = Math.floor(Math.random() * 121);
   if (r < 13)
   {
      card = GetCard (p2pg,"C");
   }
   else
   {
      card = GetCard (basic,"C");
      while (card.Type == "Pe-R" || card.Type == "Sh-R" || card.Type == "Mi" || card.Type == "Fa/Op-R")
         card = GetCard (basic,"C");
   }
   return card;
}   

function GetCards(set, sheet, count)
{
   var card = null;
   var result = new Array(count);

   for (var i = 0; i < count; i++)
   {
      card = GetCard(set, sheet);
      while (ArrayIndexOf(result, card) >= 0)
      {
         card = GetCard(set, sheet);
      }
      result[i] = card;
   }
   return result;
}

function GetCardsP2PG(count)
{
   var card = null;
   var result = new Array(count);

   for (var i = 0; i < count; i++)
   {
      card = GetCardP2PG();
      while (ArrayIndexOf(result, card) >= 0)
      {
         card = GetCardP2PG();
      }
      result[i] = card;
   }
   return result;
}

function GetCardNS(set)
{
   var r = Math.floor(Math.random() * (set["C"] + set["U"] + set ["R"])) + 1;
   var result = null;

   for (var i = 0; i < set.Count; i++)
   {
         r -= set.Cards[i].Slots;
         if (r <= 0)
         {
            result = set.Cards[i];
            break;
         }
   }

   return result;
}

function GetCardsNS(set, count)
{
   var card = null;
   var result = new Array(count);

   for (var i = 0; i < count; i++)
   {
      card = GetCardNS(set);
      while (ArrayIndexOf(result, card) >= 0)
      {
         card = GetCardNS(set);
      }
      result[i] = card;
   }
   return result;
}

function GetCardAny(set, packsize)
{
   var r = Math.floor(Math.random() * packsize) + 1;
   var result = null;

   if (r == 4) result = GetCard (set, "R")
   else if (r < 3) result = GetCard (set, "U")
   else result = GetCard (set, "C");

   return result;
}

function GetCardsAny(set, packsize, count)
{
   var card = null;
   var result = new Array(count);

   for (var i = 0; i < count; i++)
   {
      card = GetCardAny(set, packsize);
      while (ArrayIndexOf(result, card) >= 0)
      {
         card = GetCardAny(set, packsize);
      }
      result[i] = card;
   }
   return result;
}

function GetEFCCardAny()
{
   var r = Math.floor(Math.random() * 7);
   var result = null;
   
   if (r == 4) result = GetCard (efc, "R")
   else result = GetCardAny (fc, 9);

   return result;
}



function Mix(array, from, to)
{
   var count = to - from;
   for (var i = 0; i < (count * 10); i++)
   {
      a = Math.floor(Math.random() * count) + from;
      b = Math.floor(Math.random() * count) + from;
      temp = array[a];
      array[a] = array[b];
      array[b] = temp;
   }
}

function CreateStandardPack(set, commons, uncommons, rares)
{
   var pack = GetCards(set, "C", commons);
   if (uncommons > 0) pack = pack.concat(GetCards(set, "U", uncommons));
   if (rares > 0) pack = pack.concat(GetCards(set, "R", rares));
   return pack;
}

function CreateStarterDeck()
{
   return CreateStandardPack(basic, 45, 13, 2);
}

function CreateBasicBooster()
{
   return CreateStandardPack(basic, 11, 3, 1);
}

function CreateAUBooster()
{
   return CreateStandardPack(au, 11, 3, 1);
}

function CreateQCBooster()
{
   return CreateStandardPack(qc, 11, 3, 1);
}

function CreateFCBooster()
{
   return CreateStandardPack(fc, 5, 3, 1);
}

function CreateFCBoosterEx()
{
   return CreateStandardPack(fc, 11, 3, 1);
}

function GetDS9StarterCommons()
{
   var P1 = new Array(ds9Car.Cards.length);
   var P2 = new Array(ds9NA.Cards.length);
   var P3 = new Array(ds9Baj.Cards.length);
   var P4 = new Array(ds9Fed.Cards.length);
   var Dil = new Array(ds9Dil.Cards.length);
   var Oth = new Array(ds9Oth.Cards.length);
   var Mis = new Array(ds9Mis.Cards.length);

   var Main = new Array;
   var result = new Array;

   CopyArray(ds9Car.Cards, P1);
   CopyArray(ds9NA.Cards, P2);
   CopyArray(ds9Baj.Cards, P3);
   CopyArray(ds9Fed.Cards, P4);
   CopyArray(ds9Dil.Cards, Dil);
   CopyArray(ds9Oth.Cards, Oth);
   CopyArray(ds9Mis.Cards, Mis)

   Mix(Dil, 0, 15);
   Mix(Oth, 0, 8);
   Mix(Mis, 0, 3);
   Mix(Mis, 4, 7);
   Mix(Mis, 8, 11);
   Mix(Mis, 12, 15);

   P1 = (P1.concat(Dil.slice(0,4))).concat(Oth.slice(0, 1));
   P2 = (P2.concat(Dil.slice(4,8))).concat(Oth.slice(1, 4));
   P3 = P3.concat(Dil.slice(8,12));
   P4 = (P4.concat(Dil.slice(12,16))).concat(Oth.slice(4, 9));

   Mix(P1, 0, 17);
   Mix(P2, 0, 17);
   Mix(P3, 0, 17);
   Mix(P4, 0, 17);

   CopyArray(P1, Main);
   Main = Main.concat([Nor, Ops]);
   Main = Main.concat(P2);
   Main = Main.concat([DockingPorts, BajOp]);
   Main = Main.concat(P3);
   Main = Main.concat([TrFedBaj, KlaeOp]);
   Main = Main.concat(P4);
   Main = Main.concat([TrFedCar, CarOp]);

   var start = Math.floor(Math.random() * 44);
   if (start >  4) start += 9;
   if (start > 24) start += 9;
   if (start > 44) start += 9;
   if (start > 64) start += 9;

   if (start + 38 > 80)
   {
      result = Main.slice(start)
      result = result.concat(Main.slice(0, start - 42));
   }
   else
      result = Main.slice(start, start + 38);

   var misstart;

   if ((start >= 0 && start < 5) || (start > 73 && start < 80)) misstart = 2;
   if (start > 13 && start < 25) misstart = 6;
   if (start > 33 && start < 45) misstart = 10;
   if (start > 53 && start < 65) misstart = 14;

   if (misstart + 7 > 16)
   {
      result = result.concat(Mis.slice(misstart));
      result = result.concat(Mis.slice(0, misstart - 9));
   }
   else
      result = result.concat(Mis.slice(misstart, misstart + 7));

   return result;
}

function CreateDS9Starter()
{
   var pack = GetDS9StarterCommons();
   pack = pack.concat(GetCards(ds9, "U", 13));
   pack = pack.concat(GetCards(ds9, "R", 2));
   return pack;
}

function CreateDS9BoosterUncommonsRare()
{
   var pack = GetCards(ds9, "U", 3);
   if (Math.floor(Math.random() * 201) == 100)
      pack = pack.concat([ussdefiantwb])
   else
      pack = pack.concat(GetCards(ds9, "R", 1));
   return pack;
}

function CreateDS9Booster()
{
   var pack = GetCards(ds9, "C", 5);
   pack = pack.concat(CreateDS9BoosterUncommonsRare());
   return pack;
}

function CreateExDS9Booster()
{
   var pack = GetCards(ds9, "C", 11);
   pack = pack.concat(CreateDS9BoosterUncommonsRare());
   return pack;
}

function CreateDomBoosterUncommonsRare()
{
   var pack = GetCards(dominion, "U", 3);
   if (Math.floor(Math.random() * 30) == 15)
   {
      preview = Math.floor(Math.random() * 16) % 4;
     if (preview == 0) { pack = pack.concat([sevenofninewb]) };
     if (preview == 1) { pack = pack.concat([captainkirkwb]) };
     if (preview == 2) { pack = pack.concat([worfsonofmoghwb]) };
     if (preview == 3) { pack = pack.concat([admiralrikerwb]) };
   }
   else
      pack = pack.concat(GetCards(dominion, "R", 1));
   return pack;
}

function CreateDominionBooster()
{
   var pack = GetCards(dominion, "C", 5);
   pack = pack.concat(CreateDomBoosterUncommonsRare());
   return pack;
}

function CreateExDominionBooster()
{
   var pack = GetCards(dominion, "C", 11);
   pack = pack.concat(CreateDomBoosterUncommonsRare());
   return pack;
}

function CreateBoGRare()
{
   var Foil = Math.floor(Math.random() * 23850);

   if (Foil <= 52) return ElimFoil;
   if (Foil <= 105) return JadziaDaxFoil;
   if (Foil <= 158) return LocutusBorgCubeFoil;
   if (Foil <= 211) return RikerWilFoil;

   if (Foil <= 317) return KorFoil;
   if (Foil <= 423) return LaForgeImpersonatorFoil;
   if (Foil <= 529) return MaximumFirepowerFoil;
   if (Foil <= 635) return OdoFounderFoil;
   if (Foil <= 741) return SwordOfKahlessFoil;
   if (Foil <= 847) return USSThunderchildFoil;

   if (Foil <= 1072) return BorgCuttingBeamFoil;
   if (Foil <= 1297) return FajosGalleryFoil;
   if (Foil <= 1522) return GoraxusFoil;
   if (Foil <= 1747) return IKCNeghVarFoil;
   if (Foil <= 1972) return InsideOperationFoil;
   if (Foil <= 2197) return KangFoil;
   if (Foil <= 2422) return KolothFoil;
   if (Foil <= 2647) return KraxonFoil;

   return GetCards(bog, "R", 1);
}

function CreateBoGBooster()
{
   var pack = GetCards(bog, "C", 5);
   pack = pack.concat(GetCards(bog, "U", 3));
   pack = pack.concat(CreateBoGRare());
   return pack;
}

function CreateBoGBoosterEx()
{
   var pack = GetCards(bog, "C", 11);
   pack = pack.concat(GetCards(bog, "U", 3));
   pack = pack.concat(CreateBoGRare());
   return pack;
}

function CreateRoABooster()
{
   return CreateStandardPack(roa, 5, 3, 1);
}

function CreateRoABoosterEx()
{
   return CreateStandardPack(roa, 11, 3, 1);
}

function CreateTwTBooster()
{
   return CreateStandardPack(twt, 7, 3, 1);
}

function CreateTwTBoosterEx()
{
   return CreateStandardPack(twt, 11, 3, 1);
}

function CreateMMBooster()
{
   return CreateStandardPack(mm, 10, 0, 1);
}

function CreateMMBoosterEx()
{
   return CreateStandardPack(mm, 14, 0, 1);
}

function CreateVoyStarter()
{
   var deck = GetCards(voy,"R",2);
   deck = deck.concat(NekritDepot);
   deck = deck.concat(GetCards(vspe,"S",1));
   deck = deck.concat(GetCards(vsec,"S",6));
   deck = deck.concat(GetCards(vsm,"C",6));
   deck = deck.concat(GetCards(vs,"C",21));
   deck = deck.concat(GetCards(voy,"C",6));
   return deck;
}
function CreateVoyBooster()
{
   return CreateStandardPack(voy, 7, 3, 1);
}

function CreateVoyBoosterEx()
{
   return CreateStandardPack(voy, 11, 3, 1);
}

function CreateReflectionsBooster()
{
   var pack = GetCardsAny (basic,15,3);
   pack = pack.concat (GetCardsAny(au,15,3));
   pack = pack.concat (GetCard(Foils,"R"));
   pack = pack.concat (GetCardsAny(dominion,9,3));
   pack = pack.concat (GetCardsAny(qc,15,3));
   pack = pack.concat (GetCardAny(ds9,9));
   pack = pack.concat (GetEFCCardAny());
   pack = pack.concat (GetCardsP2PG(3));
  
   return pack; 
}

function SortByCardNames(a, b)
{
   if (a.Name < b.Name)
      return -1;
   if (a.Name > b.Name)
      return 1;
   return 0;
}

function SortByCardTypes(a, b)
{
   if (a.Type < b.Type)
      return -1;
   if (a.Type > b.Type)
      return 1;
   return SortByCardNames(a, b);
}

function DrawDecklist(doc, deck)
{
   doc.open();
   doc.writeln("<HEAD>");
   doc.writeln("<TITLE>Your Sealed Deck</TITLE>");
   doc.writeln("</HEAD>");

   doc.writeln("<BODY>");
   doc.writeln("<FORM><TABLE WIDTH=100%><TR>");
   doc.writeln("<TD>Sort by: ");
   doc.writeln("<INPUT TYPE='button' NAME='PackBtn' VALUE='Pack' ONCLICK='opener.SortSealedDeck(0);opener.DrawDecklist(document,opener.sortedsealeddeck);'>");
   doc.writeln("<INPUT TYPE='button' NAME='TypeBtn' VALUE='Type' ONCLICK='opener.SortSealedDeck(1);opener.DrawDecklist(document,opener.sortedsealeddeck);'>");
   doc.writeln("<INPUT TYPE='button' NAME='NameBtn' VALUE='Name' ONCLICK='opener.SortSealedDeck(2);opener.DrawDecklist(document,opener.sortedsealeddeck);'>");
   doc.writeln("</TD>");
   doc.writeln("<TD ALIGN=RIGHT><INPUT TYPE='button' NAME='CloseBtn' VALUE='Close' ONCLICK='window.close();'></TD>");
   doc.writeln("</TR></TABLE><HR>");
   doc.writeln("</FORM>");

   doc.writeln("<PRE>");

   for (var i = 0; i < deck.length; i++)
   {
      doc.write(deck[i].Type);
      for (var j = 15; j > deck[i].Type.length; j--)
      {
         doc.write(" ");
      }
      doc.writeln(deck[i].Name);
   }

   doc.writeln("</PRE>");

   doc.writeln("</BODY>");
   doc.close();
}

function SortSealedDeck(sortby)
{
   for (var i = 0; i < sealeddeck.length; i++)
   {
      sortedsealeddeck[i] = sealeddeck[i]
   }

   if (sortby == 1)
   {
      sortedsealeddeck.sort(SortByCardTypes);
   }
   else
   {
      if (sortby == 2)
      {
         sortedsealeddeck.sort(SortByCardNames);
      }
   }
}

function CountDilemmas()
{
   var dilemmas = 0, qdilemmas = 0, BoQ = false;

   for (var i = 0; i < sealeddeck.length; i++)
   {
      if (sealeddeck[i].Type == 'Di' || sealeddeck[i].Type == 'CDi' || sealeddeck[i].Name == 'Hide and Seek')
         dilemmas++;
      else if (sealeddeck[i].Type == 'Q-Di')
         qdilemmas++;
      else if (sealeddeck[i].Name == 'Beware of Q')
         BoQ = true;
   }

   if (BoQ)
      return dilemmas + qdilemmas;
   else
      return dilemmas;
}

function GenerateSealedDeck(theform)
{
   var retry;

   var starters = parseInt(theform.StartersTxt.value),
      basicboosters = parseInt(theform.BasicBoostersTxt.value),
      auboosters = parseInt(theform.AUBoostersTxt.value),
      qcboosters = parseInt(theform.QCBoostersTxt.value),
      fcboosters = parseInt(theform.FCBoostersTxt.value),
      fcexboosters = parseInt(theform.FCBoostersExTxt.value),
      ds9starters = parseInt(theform.DS9StartersTxt.value),
      ds9boosters = parseInt(theform.DS9BoostersTxt.value),
      exds9boosters = parseInt(theform.ExDS9BoostersTxt.value),
      anthology1cards = parseInt(theform.Anthology1Txt.value),
      fajocards = parseInt(theform.FajoTxt.value),
      dominionboosters = parseInt(theform.DominionBoostersTxt.value),
      dominionexboosters = parseInt(theform.ExDominionBoostersTxt.value),
      bogboosters = parseInt(theform.BoGBoostersTxt.value),
      bogexboosters = parseInt(theform.ExBoGBoostersTxt.value),
      roaboosters = parseInt(theform.RoABoostersTxt.value),
      roaexboosters = parseInt(theform.ExRoABoostersTxt.value),
      twtboosters = parseInt(theform.TwTBoostersTxt.value),
      twtexboosters = parseInt(theform.ExTwTBoostersTxt.value),
      mmboosters = parseInt(theform.MMBoostersTxt.value),
      mmexboosters = parseInt(theform.ExMMBoostersTxt.value),
      voystarters = parseInt(theform.VoyStartersTxt.value),
      voyboosters = parseInt(theform.VoyBoostersTxt.value),
      voyexboosters = parseInt(theform.ExVoyBoostersTxt.value),
      refboosters = parseInt(theform.RefBoostersTxt.value),
      anthology2cards = parseInt(theform.Anthology2Txt.value);

    var mindilemmas = parseInt(theform.MinDilemmasTxt.value);
    if (isNaN(mindilemmas)) mindilemmas = 0;

   if (anthology1cards > 6)
      alert("There are only six preview cards in the First Anthology, so you can not have more the six cards from one set.");
   else if (anthology2cards > 6)
      alert("There are only six preview cards in the Second Anthology, so you can not have more the six cards from one set.");
   else if (fajocards > 18)
      alert("There are only 18 cards in The Fajo Collection, so you can not have more the 18 cards from one set.");
   else
   {
      do {
         retry = false;
         sealeddeck = new Array();
         sortedsealeddeck = new Array();

         if (!isNaN(starters))
            for (var i = 0; i < starters; i++)
               sealeddeck = sealeddeck.concat(CreateStarterDeck());

         if (!isNaN(basicboosters))
            for (var i = 0; i < basicboosters; i++)
               sealeddeck = sealeddeck.concat(CreateBasicBooster());

         if (!isNaN(auboosters))
            for (var i = 0; i < auboosters; i++)
               sealeddeck = sealeddeck.concat(CreateAUBooster());

         if (!isNaN(qcboosters))
           for (var i = 0; i < qcboosters; i++)
              sealeddeck = sealeddeck.concat(CreateQCBooster());

         if (!isNaN(fcboosters))
            for (var i = 0; i < fcboosters; i++)
               sealeddeck = sealeddeck.concat(CreateFCBooster());

         if (!isNaN(fcexboosters))
            for (var i = 0; i < fcexboosters; i++)
               sealeddeck = sealeddeck.concat(CreateFCBoosterEx());

         if (!isNaN(ds9starters))
            for (var i = 0; i < ds9starters; i++)
               sealeddeck = sealeddeck.concat(CreateDS9Starter());

         if (!isNaN(ds9boosters))
            for (var i = 0; i < ds9boosters; i++)
               sealeddeck = sealeddeck.concat(CreateDS9Booster());

         if (!isNaN(exds9boosters))
            for (var i = 0; i < exds9boosters; i++)
               sealeddeck = sealeddeck.concat(CreateExDS9Booster());

         if (!isNaN(dominionboosters))
            for (var i = 0; i < dominionboosters; i++)
               sealeddeck = sealeddeck.concat(CreateDominionBooster());

         if (!isNaN(dominionexboosters))
            for (var i = 0; i < dominionexboosters; i++)
               sealeddeck = sealeddeck.concat(CreateExDominionBooster());

         if (!isNaN(bogboosters))
            for (var i = 0; i < bogboosters; i++)
               sealeddeck = sealeddeck.concat(CreateBoGBooster());

         if (!isNaN(bogexboosters))
            for (var i = 0; i < bogexboosters; i++)
               sealeddeck = sealeddeck.concat(CreateBoGBoosterEx());

         if (!isNaN(roaboosters))
            for (var i = 0; i < roaboosters; i++)
               sealeddeck = sealeddeck.concat(CreateRoABooster());

         if (!isNaN(roaexboosters))
            for (var i = 0; i < roaexboosters; i++)
               sealeddeck = sealeddeck.concat(CreateRoABoosterEx());

         if (!isNaN(twtboosters))
            for (var i = 0; i < twtboosters; i++)
               sealeddeck = sealeddeck.concat(CreateTwTBooster());

         if (!isNaN(twtexboosters))
            for (var i = 0; i < twtexboosters; i++)
               sealeddeck = sealeddeck.concat(CreateTwTBoosterEx());

         if (!isNaN(mmboosters))
            for (var i = 0; i < mmboosters; i++)
               sealeddeck = sealeddeck.concat(CreateMMBooster());

         if (!isNaN(mmexboosters))
            for (var i = 0; i < mmexboosters; i++)
               sealeddeck = sealeddeck.concat(CreateMMBoosterEx());

         if (!isNaN(voystarters))
            for (var i = 0; i < voystarters; i++)
               sealeddeck = sealeddeck.concat(CreateVoyStarter());

         if (!isNaN(voyboosters))
            for (var i = 0; i < voyboosters; i++)
               sealeddeck = sealeddeck.concat(CreateVoyBooster());

         if (!isNaN(voyexboosters))
            for (var i = 0; i < voyexboosters; i++)
               sealeddeck = sealeddeck.concat(CreateVoyBoosterEx());

         if (!isNaN(refboosters))
            for (var i = 0; i < refboosters; i++)
               sealeddeck = sealeddeck.concat(CreateReflectionsBooster());

         if (!isNaN(anthology1cards) && anthology1cards > 0 && anthology1cards <=6)
            sealeddeck = sealeddeck.concat(GetCards(anthology1, "R", anthology1cards));

         if (!isNaN(anthology2cards) && anthology2cards > 0 && anthology2cards <=6)
            sealeddeck = sealeddeck.concat(GetCards(anthology2, "R", anthology2cards));

         if (!isNaN(fajocards) && fajocards > 0 && fajocards <= 18)
            sealeddeck = sealeddeck.concat(GetCards(fajo, "R", fajocards));

         if (theform.WarpChk.checked)
            sealeddeck = sealeddeck.concat(warp.Cards);

         if (theform.Anthology1Chk.checked)
            sealeddeck = sealeddeck.concat(anthology1.Cards);

         if (theform.Anthology2Chk.checked)
            sealeddeck = sealeddeck.concat(anthology2.Cards);

         if (theform.FajoChk.checked)
            sealeddeck = sealeddeck.concat(fajo.Cards);

         if (theform.OTSDChk.checked)
            sealeddeck = sealeddeck.concat(otsd.Cards);

         if (theform.AwayteamChk.checked)
            sealeddeck = sealeddeck.concat(awayteam.Cards);

         if (theform.StarterDeckChk.checked)
            sealeddeck = sealeddeck.concat(sd2.Cards);

         if (theform.EFCGowChk.checked)
            sealeddeck = sealeddeck.concat(efcgow.Cards);

         if (theform.EFCTomChk.checked)
            sealeddeck = sealeddeck.concat(efctom.Cards);

         if (theform.EFCBarChk.checked)
            sealeddeck = sealeddeck.concat(efcbar.Cards);

         if (theform.EFCDukChk.checked)
            sealeddeck = sealeddeck.concat(efcduk.Cards);

         if (theform.EFCRanChk.checked)
         {
            rand = Math.floor(Math.random() * 4);
            if (rand == 0)
               sealeddeck = sealeddeck.concat(efcgow.Cards)
            else if (rand == 1)
               sealeddeck = sealeddeck.concat(efctom.Cards)
            else if (rand == 2)
               sealeddeck = sealeddeck.concat(efcbar.Cards)
            else if(rand == 3)
               sealeddeck = sealeddeck.concat(efcduk.Cards);
         }

         if (theform.EPPBWChk.checked)
         {
            sealeddeck = sealeddeck.concat(BevWil);
            sealeddeck = sealeddeck.concat(MisBevWil);
            sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
            sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
         }

         if (theform.EPPDGChk.checked)
         {
            sealeddeck = sealeddeck.concat(DatGeo);
            sealeddeck = sealeddeck.concat(MisDatGeo);
            sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
            sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
         }

         if (theform.EPPDPChk.checked)
         {
            sealeddeck = sealeddeck.concat(DatPic);
            sealeddeck = sealeddeck.concat(MisDatPic);
            sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
            sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
         }

         if (theform.EPPJBChk.checked)
         {
            sealeddeck = sealeddeck.concat(JeaBev);
            sealeddeck = sealeddeck.concat(MisJeaBev);
            sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
            sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
         }

         if (theform.EPPSMChk.checked)
         {
            sealeddeck = sealeddeck.concat(SonsOfMogh);
            sealeddeck = sealeddeck.concat(MisSonsOfMogh);
            sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
            sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
         }
         if (theform.EPPTTChk.checked)
         {
            sealeddeck = sealeddeck.concat(TheTrois);
            sealeddeck = sealeddeck.concat(MisTheTrois);
            sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
            sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
         }

         if (theform.EPPRanChk.checked)
         {
            rand = Math.floor(Math.random() * 6);
            if (rand == 0)
            {
               sealeddeck = sealeddeck.concat(BevWil);
               sealeddeck = sealeddeck.concat(MisBevWil);
               sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
               sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
            }

            else if (rand == 1)
            {
               sealeddeck = sealeddeck.concat(DatGeo);
               sealeddeck = sealeddeck.concat(MisDatGeo);
               sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
               sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
            }

            else if (rand == 2)
            {
               sealeddeck = sealeddeck.concat(DatPic);
               sealeddeck = sealeddeck.concat(MisDatPic);
               sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
               sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
            }

            else if (rand == 3)
            {
               sealeddeck = sealeddeck.concat(JeaBev);
               sealeddeck = sealeddeck.concat(MisJeaBev);
               sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
               sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
            }
   
            else if (rand == 4)
            {
               sealeddeck = sealeddeck.concat(SonsOfMogh);
               sealeddeck = sealeddeck.concat(MisSonsOfMogh);
               sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
               sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
            }
            else
            {
               sealeddeck = sealeddeck.concat(TheTrois);
               sealeddeck = sealeddeck.concat(MisTheTrois);
               sealeddeck = sealeddeck.concat(GetCards(epwhm,"C",1));
               sealeddeck = sealeddeck.concat(GetCards(epcdi,"C",2));
            }
         }

         if (( d = CountDilemmas()) < mindilemmas)
            retry = confirm("The created deck doesn't contain the minimum number of dilemmas required. Retry?");
         else
         {
            SortSealedDeck(theform.OrderList.selectedIndex);

            var win = window.open("", "Decklist", "toolbar=0,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,copyhistory=0,width=400,height=500");
            DrawDecklist(win.document, sortedsealeddeck);
            win.focus();
         }
      }  while (retry);
   }
}

function ClearForm(theform)
{
   theform.StartersTxt.value = "0";
   theform.BasicBoostersTxt.value = "0";
   theform.AUBoostersTxt.value = "0";
   theform.QCBoostersTxt.value = "0";
   theform.FCBoostersTxt.value = "0";
   theform.FCBoostersExTxt.value = "0";
   theform.DS9StartersTxt.value = "0";
   theform.DS9BoostersTxt.value = "0";
   theform.ExDS9BoostersTxt.value = "0";
   theform.DominionBoostersTxt.value = "0";
   theform.ExDominionBoostersTxt.value = "0";
   theform.Anthology1Txt.value = "0";
   theform.FajoTxt.value = "0";
   theform.BoGBoostersTxt.value = "0";
   theform.ExBoGBoostersTxt.value = "0";
   theform.RoABoostersTxt.value = "0";
   theform.ExRoABoostersTxt.value = "0";
   theform.TwTBoostersTxt.value = "0";
   theform.ExTwTBoostersTxt.value = "0";
   theform.MMBoostersTxt.value = "0";
   theform.ExMMBoostersTxt.value = "0";
   theform.VoyStartersTxt.value = "0";
   theform.VoyBoostersTxt.value = "0";
   theform.ExVoyBoostersTxt.value = "0";
   theform.RefBoostersTxt.value = "0";
   theform.Anthology2Txt.value = "0";
   theform.WarpChk.checked = false;
   theform.Anthology1Chk.checked = false;
   theform.FajoChk.checked = false;
   theform.OTSDChk.checked = false;
   theform.AwayteamChk.checked = false;
   theform.StarterDeckChk.checked = false;
   theform.EFCGowChk.checked = false;
   theform.EFCTomChk.checked = false;
   theform.EFCBarChk.checked = false;
   theform.EFCDukChk.checked = false;
   theform.EFCRanChk.checked = false;
   theform.EPPBWChk.checked = false;
   theform.EPPDGChk.checked = false;
   theform.EPPDPChk.checked = false;
   theform.EPPJBChk.checked = false;
   theform.EPPSMChk.checked = false;
   theform.EPPTTChk.checked = false;
   theform.EPPRanChk.checked = false;
   theform.MinDilemmasTxt.value = "0";
}

function UseSet(theform)
{
   if (theform.PredefSetsList.selectedIndex == 0)
      StdSDSet(theform);

   if (theform.PredefSetsList.selectedIndex == 1)
      OTSDSet(theform);

   if (theform.PredefSetsList.selectedIndex == 2)
      OTSDAwayteamSet(theform);

   if (theform.PredefSetsList.selectedIndex == 3)
      Anthology1Set(theform);

   if (theform.PredefSetsList.selectedIndex == 4)
      HalfAnthology1Set(theform);

   if (theform.PredefSetsList.selectedIndex == 5)
      DS9StdSDSet(theform);

   if (theform.PredefSetsList.selectedIndex == 6)
      StarterDeck2Set(theform);

   if (theform.PredefSetsList.selectedIndex == 7)
      RandomEFCSet(theform);

   if (theform.PredefSetsList.selectedIndex == 8)
      HalfAnthology2Set(theform);

   if (theform.PredefSetsList.selectedIndex == 9)
      VoyagerWarpSpeedSet(theform);

   if (theform.PredefSetsList.selectedIndex == 10)
      RandomEPPSet(theform);

}

function StdSDSet(theform)
{
   ClearForm(theform);
   theform.StartersTxt.value = "1";
   theform.BasicBoostersTxt.value = "3";
   theform.WarpChk.checked = true;
}

function OTSDSet(theform)
{
   ClearForm(theform)
   theform.BasicBoostersTxt.value = "4";
   theform.AUBoostersTxt.value = "1";
   theform.OTSDChk.checked = true;
}

function OTSDAwayteamSet(theform)
{
   OTSDSet(theform)
   theform.AwayteamChk.checked = true;
}

function Anthology1Set(theform)
{
   ClearForm(theform);
   theform.StartersTxt.value = "2";
   theform.BasicBoostersTxt.value = "2";
   theform.AUBoostersTxt.value = "2";
   theform.QCBoostersTxt.value = "2";
   theform.WarpChk.checked = true;
   theform.Anthology1Chk.checked = true;
}

function HalfAnthology1Set(theform)
{
   ClearForm(theform);
   theform.StartersTxt.value = "1";
   theform.BasicBoostersTxt.value = "1";
   theform.AUBoostersTxt.value = "1";
   theform.QCBoostersTxt.value = "1";
   theform.Anthology1Txt.value = "3";
   theform.WarpChk.checked = true;
}

function DS9StdSDSet(theform)
{
   ClearForm(theform);
   theform.DS9StartersTxt.value = "1";
   theform.DS9BoostersTxt.value = "3";
}

function StarterDeck2Set(theform)
{
   ClearForm(theform);
   theform.StartersTxt.value = "1";
   theform.StarterDeckChk.checked = true;
}

function RandomEFCSet(theform)
{
   ClearForm(theform);
   theform.FCBoostersTxt.value = "4";
   theform.EFCRanChk.checked = true;
}

function Anthology2Set(theform)
{
   ClearForm(theform);
   // Kann keine 2 SDII Premium Sets benutzen
}

function HalfAnthology2Set(theform)
{
   ClearForm(theform);
   theform.StartersTxt.value = "1";
   theform.StarterDeckChk.checked = true;
   theform.DS9BoostersTxt.value = "1";
   theform.DominionBoostersTxt.value = "1";
   theform.FCBoostersTxt.value = "1";
   theform.Anthology2Txt.value = "3";
}

function VoyagerWarpSpeedSet(theform)
{
   ClearForm(theform);
   theform.VoyStartersTxt.value = "1";
   theform.VoyBoostersTxt.value = "2";
}

function RandomEPPSet(theform)
{
   ClearForm(theform);
   theform.BasicBoostersTxt.value = "4";
   theform.EPPRanChk.checked = true;
}


