<!--
//========================================================================
//
//                   Start of Data Configuration Area
//
//     Authorization: Alice Cestari
//
//     Configuration: tsprurls.js
//
//     All flags: 1 is yes, and 0 is no, if something not needed,
//      then comment it out with the "//" characters...
//
//     Copied from the owls urls.js page
//
//     Last Modified: 11-14-05, 11-18-05, 02-19-07, 03-05-07, 03-12-07
//
//========================================================================


//----- The "standard" (stored) image size, gets re-adjusted
var myWidth  = 275;
var myHeight = 275;

//----- Create a "go" or "open" button to open a window to a URL
var setWindowFlag = 0;

//----- Turn on the play/learn panel to put into "learning" mode
var setModeFlag = 1;

//----- Display learn or demo list in numerical order: 1,2,3, etc...
//----- Good for sequential instruction, i.e., assembling something
//----- Otherwise in a "random" order.
var listInOrder = 1;

//----- Make the first image, if multiple images, the "learn" image
var setPriorityFlag = 1;

//----- If in play mode, don't show this image or avi. Reserve it for
//----- learn mode only; i.e., a video clip that should only be presented
//----- in learn mode and not seen otherwise...
var firstLearnOnly = 0;

//----- Option for putting game into demo mode, continuous slide show
//----- Must also be in play/learn mode above, set to 1 
var setDemoFlag = 0;

//----- In demo mode don't show item numbers, but if you do, 
//----- default to learn sequence correlation as flagged above
var hideItemNumbers = 0;

//----- Set the delay time between "slides", assumes demo flag above
//----- is set also... value is in seconds.
var demoDelay = 5;

//----- Set the text display flag... Display in learn or demo mode,
//----- but not in play mode.
var showTextInfo = 0;

//----- If true, erases previous check box selection when next selecting
var leaveNoTrail = 1;

//----- If true, when "Done!" check the ones that were missed...
var errorsReview = 1;

//----- Set the screen wipe background, erase.jpg or ltgrey.jpg, etc
var screenWipe = "ltgrey.jpg";

//----- Some image directories, possible hot links
// var myPath   = "file://C:/devweb/";
// var myPath = "http://cestari-birding.home.comcast.net/";
var mdanPath ="http://www.avesphoto.com/website/pictures/";
var myPath ="http://www.birdsofoklahoma.net/images/";
// var booExtPath = "http://www.birdsofoklahoma.net/images/ ... ";

//----- Button vars: Use to do compound nested quotes...
var myClick    = "";
var myButton   = "";
var myButton01 = "";		// Another button, add more if needed

var bname    = "Go";	// Displayed name of the button
var bname01  = "Img";	// Another button name for "next" button...

//----- To add more, clone a line and edit with new data...
//----- NOTE: Each line ends in a comma, the record separator.
var myData = "";

// myData  = myData + myPath + "Oystercatcher01.jpg;" + mdanPath + "OYSAMC-2.jpg,";

myData = myData + mdanPath + "SPAATR-1.jpg,";
myData = myData + mdanPath + "SPACHI-2.jpg,";
myData = myData + mdanPath + "SPASAV-3.jpg,";
myData = myData + mdanPath + "SPAWTH-3.jpg,";
myData = myData + mdanPath + "SPAFOX-2.jpg,";
myData = myData + mdanPath + "SPAHOU-1.jpg,";
myData = myData + mdanPath + "SPAWCR-2.jpg,";
myData = myData + mdanPath + "SPAFLD-1.jpg,";

//----- Remove the trailing record separator... housekeeping
myData = myData.substr(0, (myData.length - 1) );

//----- Optional text field for each item... up to about 60 chars or
//-----  a textbox on html page if needed.
//----- This could be a hint, a title, a step, etc
//----- Field terminator is the pipe |, permitting normal punctuation
var myInfo = "";

myInfo = myInfo + 'One|';
myInfo = myInfo + 'Two|';
myInfo = myInfo + 'Three|';
myInfo = myInfo + 'Four|';
myInfo = myInfo + 'Five|';
myInfo = myInfo + 'Six|';
myInfo = myInfo + 'Seven|';
myInfo = myInfo + 'Eight|';

//----- Remove the trailing record separator... housekeeping
myInfo = myInfo.substr(0, (myInfo.length - 1) );


//----- Save the dimensions of each image, width by height...
//----- These are the actual dims, but they could be "edited" too,
//-----  as long as the aspect ratio is preserved!
//----- The colon (:) is the *field* separator here below
var myDimns = "";

// myDimns  = myDimns + "545:403;377:290,"; 

myDimns = myDimns + "351:280,";
myDimns = myDimns + "420:290,";
myDimns = myDimns + "413:290,";
myDimns = myDimns + "425:290,";
myDimns = myDimns + "379:280,";
myDimns = myDimns + "387:290,";
myDimns = myDimns + "418:280,";
myDimns = myDimns + "403:290,";

//----- Do not change or delete the line below
myDimns = myDimns.substr(0, (myDimns.length - 1) );


//----- The matches... may have "embeded" URLs too, plus more
//----- The "answers" must be in parallel with above data string.
//----- These can include URLs and "buttons" ...
//----- Using pipe | as record separator in this config string
//----- May use ";" as field separator in some strings, ie, ...;all',
var myDesc = "";

//----- Set ups for input buttons
//----- Comment out if not needed...
myButton   = "&nbsp;";
myButton01 = "&nbsp;";
if ( setWindowFlag > 0 )
{
	myClick    = "createMyWindow('Atticant','"+myPath+"atticant.html','550.400','','','')";
	myButton   = '&nbsp; <input type="button" value="'+bname+'" onclick="'+myClick+';">';

//----- Next button in next column
	myClick    = "createMyWindow('VHF Beam','"+myPath+"vhfbeam.jpg;all','275','250','180','<center><b>The VHF Quad Beam Antenna</b></center>')";
	myButton01 = '&nbsp; <input type="button" value="'+bname01+'" onclick="'+myClick+';">'; 

}
// myDesc = myDesc + '<a href="http://www.birdsofoklahoma.net/AmericanOystercatcher.htm">American Oystercatcher</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';
myDesc = myDesc + '<a href="http://www.avesphoto.com/website/NA/species/SPAATR-1.htm">American Tree Sparrow</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';


myButton   = "&nbsp;";
myButton01 = "&nbsp;";
if ( setWindowFlag > 0 )
{
	myClick    = "createMyWindow('Setup','"+myPath+"setup.html','550.400','','','')";
	myButton   = '&nbsp; <input type="button" value="'+bname+'" onclick="'+myClick+';">';

	myClick    = "createMyWindow('The Station','"+myPath+"station.jpg','275','261','186','')";
	myButton01 = '&nbsp; <input type="button" value="'+bname01+'" onclick="'+myClick+';">';

}
// myDesc = myDesc + '<a href="http://www.birdsofoklahoma.net/LBCurlew.htm">Long-billed Curlew</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';
myDesc = myDesc + '<a href="http://www.avesphoto.com/website/NA/species/SPACHI-2.htm">Chipping Sparrow</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';


myButton   = "&nbsp;";
myButton01 = "&nbsp;"
if ( setWindowFlag > 0 )
{
	myClick    = "createMyWindow('Thrumdm','"+myPath+"thrumdm.html','550.400','','','')";
	myButton   = '&nbsp; <input type="button" value="'+bname+'" onclick="'+myClick+';">';

	myClick    = "createMyWindow('Thru Modem','"+myPath+"1305mdm.jpg;all','280','201','201','')";
	myButton01 = '&nbsp; <input type="button" value="'+bname01+'" onclick="'+myClick+';">';

}
// myDesc = myDesc + '<a href="http://www.birdsofoklahoma.net/MarbledGodwit.htm">Marbled Godwit</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';
myDesc = myDesc + '<a href="http://www.avesphoto.com/website/NA/species/SPASAV-3.htm">Savannah Sparrow</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';
// myDesc = myDesc + '<a href="http://www.birdsofoklahoma.net/Estscreech.htm">Eastern Screech Owl</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';


myButton   = "&nbsp;";
myButton01 = "&nbsp;";
if ( setWindowFlag > 0 )
{
	myClick    = "createMyWindow('Thrumdm','"+myPath+"thrumdm.html','550.400','','','')";
	myButton   = '&nbsp; <input type="button" value="'+bname+'" onclick="'+myClick+';">';

	myClick    = "createMyWindow('Thru Modem','"+myPath+"1305mdm.jpg;all','280','201','201','')";
	myButton01 = '&nbsp; <input type="button" value="'+bname01+'" onclick="'+myClick+';">';

}
// myDesc = myDesc + '<a href="http://www.birdsofoklahoma.net/Pectoralsandpiper.htm">Pectoral Sandpiper</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';
myDesc = myDesc + '<a href="http://www.avesphoto.com/website/NA/species/SPAWTH-3.htm">White-throated Sparrow</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';


myButton   = "&nbsp;";
myButton01 = "&nbsp;";
if ( setWindowFlag > 0 )
{
	myClick    = "createMyWindow('Packant','"+myPath+"packant.html','550.400','','','')";
	myButton   = '&nbsp; <input type="button" value="'+bname+'" onclick="'+myClick+';">';

	myClick    = "createMyWindow('GP Antenna','"+myPath+"ar270.jpg','275','255','223','')";
	myButton01 = '&nbsp; <input type="button" value="'+bname01+'" onclick="'+myClick+';">';

}
// myDesc = myDesc + '<a href="http://www.birdsofoklahoma.net/RuddyTurnstone.htm">Ruddy Turnstone</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';
myDesc = myDesc + '<a href="http://www.avesphoto.com/website/NA/species/SPAFOX-2.htm">Fox Sparrow</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';


myButton   = "&nbsp;"
myButton01 = "&nbsp";
if ( setWindowFlag > 0)
{
	myClick    = "createMyWindow('Homebrew','"+myPath+"homebrew.html','550.400','','','')";
	myButton   = '&nbsp; <input type="button" value="'+bname+'" onclick="'+myClick+';">';

	myClick    = "createMyWindow('Oscilloscope','"+myPath+"oscope.jpg','250','221','121','')";
	myButton01 = '&nbsp; <input type="button" value="'+bname01+'" onclick="'+myClick+';">';

}
// myDesc = myDesc + '<a href="http://www.birdsofoklahoma.net/Semipalmatedplover.htm">Semipalmated Plover</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';
myDesc = myDesc + '<a href="http://www.avesphoto.com/website/NA/species/SPAHOU-1.htm">House Sparrow</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';

myButton   = "&nbsp;"
myButton01 = "&nbsp";
if ( setWindowFlag > 0)
{
	myClick    = "createMyWindow('Homebrew','"+myPath+"homebrew.html','550.400','','','')";
	myButton   = '&nbsp; <input type="button" value="'+bname+'" onclick="'+myClick+';">';

	myClick    = "createMyWindow('Oscilloscope','"+myPath+"oscope.jpg','250','221','121','')";
	myButton01 = '&nbsp; <input type="button" value="'+bname01+'" onclick="'+myClick+';">';

}
// myDesc = myDesc + '<a href="http://www.birdsofoklahoma.net/Whimbrel.htm">Whimbrel</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';
myDesc = myDesc + '<a href="http://www.avesphoto.com/website/NA/species/SPAWCR-2.htm">White-crowned Sparrow</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';

myButton   = "&nbsp;"
myButton01 = "&nbsp";
if ( setWindowFlag > 0)
{
	myClick    = "createMyWindow('Homebrew','"+myPath+"homebrew.html','550.400','','','')";
	myButton   = '&nbsp; <input type="button" value="'+bname+'" onclick="'+myClick+';">';

	myClick    = "createMyWindow('Oscilloscope','"+myPath+"oscope.jpg','250','221','121','')";
	myButton01 = '&nbsp; <input type="button" value="'+bname01+'" onclick="'+myClick+';">';

}
// myDesc = myDesc + '<a href="http://www.birdsofoklahoma.net/Willet.htm">Willet</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';
myDesc = myDesc + '<a href="http://www.avesphoto.com/website/NA/species/SPAFLD-1.htm">Field Sparrow</a></td> <td>'+myButton+'</td><td>'+myButton01+'</td> </tr>|';


//----- Do not change or delete the line below
myDesc = myDesc.substr(0, (myDesc.length - 1) );

//----- End of data area...
//-->
