/*************************************************************

Voting Machine Demonstration Configuration File
July 4, 2002

This file needs to be in the configure/ directory. Its name is "conf.js"

*************************************************************/


// General Demo Conifguration
/*************************************************************/

// title will appear in titlebar of browser
var title = "Georgia's New Election System";

// name will appear at top of some initial screens
var name = "Georgia Counts Demonstration";

// unit, version copy and count data appearing on front screen of demo
var unit = "0";
var version = "18";
var copy = "2";
var count = "10";

// image used for an inactive checkbox
var imgCheckboxOff = "images/checkbox.gif";

// image used for an active checkbox (checked)
var imgCheckboxOn = "images/checkbox-on.gif";

// Alternate text for blank checkbox
var checkboxAltText = "";

// Alternate text for checked checkbox
var checkboxAltTextOn = "selected";

// text appearing near top of second screen
var modenotice = "**TEST COUNTING MODE**";

// subtitle
var subtitle = " Demonstration Precinct";

// heading in ballot screen
var voteheader = "<b>State of Georgia</b><br>Georgia Counts<br>Demonstration Ballot";



/* Variable Initialization 
(DO NOT EDIT UNLESS YOU ABSOLUTELY KNOW WHAT YOU ARE DOING!)
*************************************************************/
var instructions = new Array();
var candidate = new Array();
candidate[1] = new Array();
candidate[2] = new Array();
candidate[3] = new Array();


/* 

SUB-BALLOTS (Edit These)

The current demo only supports one ballot page. Each ballot page is made up of
several "sub-ballots", a table containing a title, instructions a maximum number of permitted votes
and a list of candidates.

The following describes sub-ballot configuration:

set1header contains the name of the sub-ballot, the instructions array contains the instructions for that
sub-ballot "(vote for one)" etc... number in square brackets should be equal to the number of the 
sub-ballot on the list of candidates.

The first candidate record (candidate[1][0]) should be set to the maximum number of votes
permitted on that sub-ballot.

Each candidate is comprised of one or two names, each name MUST be surrounded by double
quotes and separated by a comma if there are more than one. 

A special candidate name is "Write-In". If you place this name in the list it MUST BE WRITTEN 
EXACTLY LIKE THAT: "Write-In" with a capital W and I and a hyphen (minus sign) between them.
Supplying the name "Write-In" will cause the checkbox for the Write-In item to link to the pop-up write in window.

The order the names appear in the lists is the order they will appear on the sub-ballot.*/


//Sub-Ballot One
/*************************************************************/

// name appearing at top of sub-ballot 1
var set1header = "FAMOUS LEADERS";

// instructions appearing below the header on sub-ballot 1
instructions[1] = "(Vote for one)";

// maximum number of votes permitted on this sub-ballot
candidate[1][0] = [1];

//candidates
candidate[1][1] = ["John","Adams"];
candidate[1][2] = ["Jimmy","Carter"];
candidate[1][3] = ["Martin Luther","King, Jr."];
candidate[1][4] = ["Betsy","Ross"];
candidate[1][5] = ["George","Washington"];
candidate[1][6] = ["Write-In"];

//Sub-Ballot Two
/*************************************************************/

// name appearing at top of sub-ballot 2
var set2header = "FAMOUS GEORGIANS";

// instructions appearing below the header on sub-ballot 2
instructions[2] = "(Vote for one)";

// maximum number of votes permitted on this sub-ballot
candidate[2][0] = [1];

//candidates
candidate[2][1] = ["Harry","James"];
candidate[2][2] = ["Gladys","Knight"];
candidate[2][3] = ["Otis","Redding"];
candidate[2][4] = ["Burt","Reynolds"];
candidate[2][5] = ["Dean","Rusk"];
candidate[2][6] = ["Write-In"];


// Sub-Ballot Three
/*************************************************************/

// name appearing at top of sub-ballot 3
var set3header = "FAMOUS GEORGIA ATHLETES";

// instructions appearing below the header on sub-ballot 3
instructions[3] = "(Vote for one)";

// maximum number of votes permitted on this sub-ballot
candidate[3][0] = [1];

//candidates
candidate[3][1] = ["Hank","Aaron"];
candidate[3][2] = ["Ty","Cobb"];
candidate[3][3] = ["Bobby","Jones"];
candidate[3][4] = ["Chipper","Jones"];
candidate[3][5] = ["Jackie","Robinson"];
candidate[3][6] = ["Herschel","Walker"];
candidate[3][7] = ["Write-In"];



















//DO NOT EDIT (Editing The below will break the demo!)
/*************************************************************/
cast = new Array();cast[1] = new Array();cast[2] = new Array();cast[3] = new Array();
var screen = new Array();screen[1] = "screen2.html";screen[2] = "screen3.html";
screen[3] = "screen4.html";var writein = "writein.html";var candidateStyle = "font-size:.8em";
var voteCounter = new Array();for (i=0;i<candidate.length;i++){voteCounter[i] = 0;}var querystring = "?v=";
