/*  setup.js		by Scott Honey

	This is the file for most of the easily configurable information in the SS program.  This file is the first read by the browser -- it sets up the environment for the SS program.  At the bottom of this file there are some obscure variables that are useful for configuring the guts of HOW the program looks (colors of tables and other stuff.)  I'd recommend spending some time getting to know layer.js before braving it.


VARIABLES:

	Soundpath
		the location of the sounds.  this can be a full http://www/sounds or just sounds/ or ./  The main reason for doing this is so that files can be stored in a variety of different places and still accessed easily (like putting the HTML on the web and putting the sounds on a CD-ROM.
s
	Soundextension
		the . (dot) extension for the files to be played.  For this program we use .mov , the quicktime format, and thus we require quicktime to run this.  It can easily be changed to .wav or .au or anything else.

	Soundlength
		how long to wait between playing multiple sounds.  The units are milliseconds.  Longer sounds or slower network connections may require larger numbers, otherwise the sounds cut each other off.  I'd recommend about 1000-1500 milliseconds for a fast web connection with a fast server.  Slow connections may need 2-5000 milliseconds, experinmentation until you find a tolerable speed. 

	Moviepath, Notespath, Imagepath
		see Soundpath

	Movieextension, Notesextension, Imageextension
		see Soundextension
*/

/*
Soundpath="http://wmf62.berkeley.edu/~scott/sounds/";
*/
Soundpath="sounds/";
Soundextension=".mov";
Soundlength=1400; 

/*
Imagepath="http://itp.berkeley.edu/~s_honey/ss/images/";
*/
Imagepath="images/";
Imageextension=".gif";

Moviepath="movies/";
Movieextension=".mov";

Notespath = "notes/";
Notesextension=".html";


/**
	These variables are for changing the way the dynamic html ouput works on the bottom tables (favoriteslist and gameslist).  Please look in the layer.js file for the code that uses them, or feel free to randomly change things and see what happens.  These values should be modified if want to change the colors of the tables or otherwise change the tables.
*/
//table specific variables
//the Empty graphic should be a transparent the size of the graphic of the name without the empty.	

	//universal variables
layerTableStartTag		='<TABLE WIDTH=100% Height=1% BORDER=1 cellspacing=0 cellpadding=0>';
layerTableEndTag		='</table>';
layerBaseFont			='<BASEFONT SIZE =1>';
layerFontTag			='<FONT FACE="Palatino" Size="-1">';
layerBodyTag			='<BODY  BGCOLOR="ffcc99" TEXT="000000" LINK="0000ff" ALINK="ff0000" VLINK="c000c0">';
layerCellEndTag			='</font></td>';
layerRowStartTag		='<tr>';
layerRowEndTag			='</tr>';

	//oddball variables
		//Changing this will change the minimum number of rows to display in the dynamic tables (like when they are empty).
layerDefaultRowstoShow		=10;
		//Changing this will change the number of non breaking spaces created by the makeSpaces(STRING) function
makeSpacesNumberofSpaces	=8;
space     ='&nbsp;';

	//minusCell information
layerMinusCellStartTag		='<td BGCOLOR="e2e2e2">';
layerMinusCellGraphic		='minus';
layerEmptyMinusCellGraphic	='12x12';

	//PlayAll information
layerPlayAllStartTag		='<td BGCOLOR="white">';

	//ToneTable information
layerToneTableStartTag		='<td BGCOLOR="white">';
layerToneTableToneGraphic	='arrow';
layerToneTableAddGraphic	='plus';
layerEmptyToneTableToneGraphic	='20x12';
layerEmptyToneTableAddGraphic	='12x12';

	//SimpleTable information
layerSimpleTableStartTag	='<td BGCOLOR="white">';
