// *** Copyright (c)2002 Jim Massey. All rights reserved  ***********
// *** massey@stlouis-shopper.com **************
// *** No Warranty - certified to work with nothing ***

// ** for the slide_show and doc reader.xul doc reader **

// *** Generic defaults ***
var add_menus = "false";
var default_uri = "false"; //false for about:blank uri or a fully qualifide uri

// ***** SlideShow control variables *****
var SlideShow_create = "true"; // true = setup show - false = no show
var SlideShow_create_shortmsg = "true"; // a one line text msg
var SlideShow_short_msg = "Slide Show: Using mozilla mail to give example of a mozilla application";
var SlideShow_create_menu = "true"; // dropdown menu of slides in show
var SlideShow_toggle_wanted = "false"; // start/stop running show button
var SlideShow_cycle_count = "0"; //  60000 is 1 minute - 0 no cycling

var menuLists = new Array();
var menuListsAction = new Array();
var menuListsLabel = new Array();

//menuLists[0] = "TestMenu";
//menuListsAction[0] = "new_Page(null, 'TestMenu')";
//menuListsLabel[0] = "NoWhere!";

//menuLists[1] = "Another one";
//menuListsAction[1] = "new_Page('http://jim/~jtjsoftware', null)";
//menuListsLabel[1] = "JTJ Home Page";

//var menuLists0 = "http://jim";

// **** add items to the main menu dropdown ****
// ** There must be name/value array pairs for each item ***
// **** First element of array is for properties value ****

var menuItems = new Array();
var menuItemsValue = new Array();

menuItems[0] = "Main Menu";
menuItemsValue[0] = "extra value";

menuItems[1] = "Kiosk Installation";
menuItemsValue[1] = "new_Page('http://stlouis-shopper.com/~jtjsoftware/kiosk/kioskzippy.html', null)";

menuItems[2] = "Mozilla Basics";
menuItemsValue[2] = "new_Page('http://stlouis-shopper.com/~jtjsoftware/kiosk/moz-basics.html', null)";

menuItems[3] = "Window Specific";
menuItemsValue[3] = "new_Page('http://stlouis-shopper.com/~jtjsoftware/kiosk/moz-windogs.html', null)";

menuItems[4] = "Feedback";
menuItemsValue[4] = "http://stlouis-shopper.com/~jtjsoftware/kiosk/feedback-mail.html";

menuItems[5] = "Interface Customization";
menuItemsValue[5] = "http://stlouis-shopper.com/~jtjsoftware/kiosk/kiosk-chrome.html";

menuItems[6] = "Skin Customization";
menuItemsValue[6] = "http://stlouis-shopper.com/~jtjsoftware/kiosk/skin-kiosk.html";

menuItems[7] = "Read user prefs settings";
menuItemsValue[7] = "file:///home/massey/jtjsoftware/kiosk/prefs.html";

// **** define toolbar buttons as array ****
// **** buttons get added in order. There is one blank button for copying **
// **** set new_buttons = "false" for no buttons ****
// **** comment out the Array assignments if you set new_buttons = "false" **
var new_buttons = "true";
var toolbarButtonsLabel = new Array();
var toolbarButtonsAction = new Array();
var toolbarButtonsSRC = new Array();
//toolbarButtonsLabel[0] = "";
//toolbarButtonsAction[0] = "new_Page('')";
//toolbarButtonsSRC[0] = "";

toolbarButtonsLabel[0] = "Next Frame";
toolbarButtonsAction[0] = "SlideShow_forward()";

toolbarButtonsLabel[1] = "Previous Frame";
toolbarButtonsAction[1] = "SlideShow_back()";

toolbarButtonsLabel[2] = "Quit this SlideShow";
toolbarButtonsAction[2] = "location='http://stlouis-shopper.com/~jtjsoftware/kiosk/index.xul'";
toolbarButtonsSRC[2] = "xulSkin/images/kiosk-quitb1.png";


// ******** Slideshow definitions *********
// ******** The first element of array is for property data ***
// ******** SlideShow[0] is for a descriptive string *****

var SlideShow = new Array();
var SlideShowLabel = new Array();

//SlideShow[N] = "XUL Documentation";
//SlideShow[N] = "http://www.mozilla.org/mailnews/presentations/mailapp/slide1.html";
//SlideShowLabel[N] = "Introduction"

SlideShow[0] = "XUL Documentation";
SlideShow[1] = "http://www.mozilla.org/mailnews/presentations/mailapp/slide1.html";
SlideShowLabel[1] = "Introduction";
