/***********************************************
* Omni Slide Menu script - © John Davenport Scheuer
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
* as first mentioned in http://www.dynamicdrive.com/forums
* username:jscheuer1
***********************************************/

//One global variable to set, use true if you want the menus to reinit when the user changes text size (recommended):
resizereinit=true;
/*
menu[1] = {
id:'menu1', //use unique quoted id (quoted) REQUIRED!!
fontsize:'110%', // express as percentage with the % sign


fontsize:'110%',          // express as percentage with the % sign

menutop:100,     // initial top offset - except for top menu, where it is meaningless
linkheight:22 ,  // linked horizontal cells height
hdingwidth:210 , 
menuspeed:1,
bartext:'PAGE MENU',       // bar text (the vertical cell) use text or img tag
barbgcolor:'#33ccff',   // bar (the vertical cell) background color
kviewtype:'fixed', // heading - non linked horizontal cells width
// Finished configuration. Use default values for all other settings for this particular menu (menu[1]) ///

menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Menu"], //create header
["Top", "talks.htm", ""],
["Updates", "talks.htm#new",""],
["Digha Nikaya", "talks.htm#dn",""],
["Majjhima Nikaya", "talks.htm#mn", ""],
["Mahavagga", "talks.htm#mahavagga", ""],
["Samyutta Nikaya", "talks.htm#sn", ""],
["Introductory", "talks.htm#intro", ""],

["Metta Meditation", "talks.htm#metta", "", ], 
["Breath Meditation", "talks.htm#brmed", "",],

["Eight Fold Path", "talks.htm#eight", ""],
["Enlightenment Fac", "talks.htm#factors", ""],
["Five Faculties", "talks.htm#fivefac", ""],
["Joshua Retreat I", "talks.htm#jt1", ""],
["Joshua Retreat II", "talks.htm#jt2", ""],
["DSMC OCT 06 Retreat", "talks.htm#dsmcoct06", ""],
["DSMC AUG 07 Retreat", "talks.htm#dsmcaug07", ""], 
["Morning", "talks.htm#morning", ""],
["General", "talks.htm#gm", ""]  //no comma after last entry


]}; // REQUIRED!! do not edit or remove

menu[3] = {  // REQUIRED!!  This menu explicitly declares all available options even if they are the same as the defaults
id:'menu2', //use unique quoted id (quoted) REQUIRED!!
/////////////////////////////////////
///////////// no quotes for these properties (numbers represent pixels unless otherwise noted): ////////////
/////////////////////////////////////
user_defined_stylesheet:false, //if true, prevents script from generating stylesheet for this menu
user_defined_markup:false, //if true, prevents script from generating markup for this menu
design_mode:false,  //if true, generates a report of the script generated/intended styles and markup (as a design aid)
menutop:160,     // initial top offset - except for top menu, where it is meaningless
menuleft:'90%',    // initial left offset - only for top menu, as pixels (can be a quoted percentage - ex: '50%')
keepinview:80,   // Use false (for not static) - OR - true or numeric top offset when page scrolls
menuspeed:1,    // Speed of menu sliding smaller is faster (interval of milliseconds)
menupause:500,   // How long menu stays out when mouse leaves it (in milliseconds)
d_colspan:3,     // Available columns in menu body as integer
allowtransparent:false, // true to allow page to show through menu if other bg's are transparent or border has gaps
barwidth:20,     // bar (the vertical cell) width
wrapbar:true,    // extend and wrap bar below menu for a more solid look (default false) - will revert to false for top menu
hdingwidth:210,  // heading - non linked horizontal cells width
hdingheight:25,  // heading - non linked horizontal cells height
hdingindent:1,   // heading - non linked horizontal cells text-indent represents ex units (@8 pixels decimals allowed)
linkheight:20,   // linked horizontal cells height
linktopad:3,     // linked horizontal cells top padding
borderwidth:2,   // inner border-width used for this menu
/////////////////////////// quote these properties: /////////////////////
bordercolor:'#000080', // inner border color
borderstyle:'solid',    // inner border style (solid, dashed, inset, etc.)
outbrdwidth:'0ex 0ex 0ex 0ex', // outer border-width used for this menu (top right bottom left)
outbrdcolor:'lightblue',  // outer border color
outbrdstyle:'solid',     // outer border style (solid, dashed, inset, etc.)
barcolor:'white',        // bar (the vertical cell) text color
barbgcolor:'#33ccff',   // bar (the vertical cell) background color
barfontweight:'bold',    // bar (the vertical cell) font weight
baralign:'center',       // bar (the vertical cell) right left or center text alignment
menufont:'verdana',      // menu font
fontsize:'90%',          // express as percentage with the % sign
hdingcolor:'white',      // heading - non linked horizontal cells text color
hdingbgcolor:'#4d6814',  // heading - non linked horizontal cells background color
hdingfontweight:'bold',  // heading - non linked horizontal cells font weight
hdingvalign:'middle',    // heading - non linked horizontal cells vertical align (top, middle or center)
hdingtxtalign:'left',    // heading - non linked horizontal cells right left or center text alignment
linktxtalign:'left',     // linked horizontal cells right left or center text alignment
linktarget:'',           // default link target, leave blank for same window (other choices: _new, _top, or a window or frame name)
kviewtype:'absolute',       // Type of keepinview - 'fixed' utilizes fixed positioning where available, 'absolute' fluidly follows page scroll
menupos:'top',         // set side that menu slides in from (right or left or top)
bartext:'VIDEO MENU',       // bar text (the vertical cell) use text or img tag
///////////////////////////
menuItems:[
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
["Top", "talks.htm", ""],
["MN 9 Jul-07", "talks.htm#mn9jul07", ""],
["MN 10 Feb-06", "talks.htm#mn10feb06v", ""],
["MN 20 Mar-07", "talks.htm#mn20mar07", ""],
["MN 20 Nov-07", "talks.htm#mn20nov07", ""],
["MN 53 Jul-07", "talks.htm#mn53jul07", ""],
["MN 59 Mar-07", "talks.htm#mn59mar07", ""],
["MN 63 Dec-08", "talks.htm#mn63dec05", ""],
["MN 111 Nov-07", "talks.htm#mn111nov07", ""],
["MN 117 Nov-07", "talks.htm#mn117nov07", ""],
["MN 135 Mar-07", "talks.htm#mn135mar07", ""],
["MN 148 Nov-07", "talks.htm#mn148nov07", ""],
["Metta Daily Nov-07", "talks.htm#mettadailynov07", ""],
["Meditation as Taught by ...", "talks.htm#indofeb08", ""],
["Open Chicago(Katina) Nov-07", "talks.htm#openchicagonov07", ""]
  //no comma after last entry -->

]}; // REQUIRED!! do not edit or remove
*/
menu[3] = {  // REQUIRED!!  This menu explicitly declares all available options even if they are the same as the defaults
id:'menu3', //use unique quoted id (quoted) REQUIRED!!
/////////////////////////////////////
///////////// no quotes for these properties (numbers represent pixels unless otherwise noted): ////////////
/////////////////////////////////////
user_defined_stylesheet:false, //if true, prevents script from generating stylesheet for this menu
user_defined_markup:false, //if true, prevents script from generating markup for this menu
design_mode:false,  //if true, generates a report of the script generated/intended styles and markup (as a design aid)
menutop:160,     // initial top offset - except for top menu, where it is meaningless
menuleft:'80%',    // initial left offset - only for top menu, as pixels (can be a quoted percentage - ex: '50%')
keepinview:80,   // Use false (for not static) - OR - true or numeric top offset when page scrolls
menuspeed:1,    // Speed of menu sliding smaller is faster (interval of milliseconds)
menupause:800,   // How long menu stays out when mouse leaves it (in milliseconds)
d_colspan:10,     // Available columns in menu body as integer
allowtransparent:false, // true to allow page to show through menu if other bg's are transparent or border has gaps
barwidth:20,     // bar (the vertical cell) width
wrapbar:true,    // extend and wrap bar below menu for a more solid look (default false) - will revert to false for top menu
hdingwidth:480,  // heading - non linked horizontal cells width
hdingheight:25,  // heading - non linked horizontal cells height
hdingindent:1,   // heading - non linked horizontal cells text-indent represents ex units (@8 pixels decimals allowed)
linkheight:20,   // linked horizontal cells height
linktopad:3,     // linked horizontal cells top padding
borderwidth:2,   // inner border-width used for this menu
/////////////////////////// quote these properties: /////////////////////
bordercolor:'#000080', // inner border color
borderstyle:'solid',    // inner border style (solid, dashed, inset, etc.)
outbrdwidth:'0ex 0ex 0ex 0ex', // outer border-width used for this menu (top right bottom left)
outbrdcolor:'lightblue',  // outer border color
outbrdstyle:'solid',     // outer border style (solid, dashed, inset, etc.)
barcolor:'white',        // bar (the vertical cell) text color
barbgcolor:'#33ccff',   // bar (the vertical cell) background color
barfontweight:'bold',    // bar (the vertical cell) font weight
baralign:'center',       // bar (the vertical cell) right left or center text alignment
menufont:'verdana',      // menu font
fontsize:'90%',          // express as percentage with the % sign
hdingcolor:'white',      // heading - non linked horizontal cells text color
hdingbgcolor:'lightblue',  // heading - non linked horizontal cells background color
hdingfontweight:'bold',  // heading - non linked horizontal cells font weight
hdingvalign:'middle',    // heading - non linked horizontal cells vertical align (top, middle or center)
hdingtxtalign:'left',    // heading - non linked horizontal cells right left or center text alignment
linktxtalign:'left',     // linked horizontal cells right left or center text alignment
linktarget:'',           // default link target, leave blank for same window (other choices: _new, _top, or a window or frame name)
kviewtype:'fixed',       // Type of keepinview - 'fixed' utilizes fixed positioning where available, 'absolute' fluidly follows page scroll
menupos:'top',         // set side that menu slides in from (right or left or top)
bartext:'MM MENU',       // bar text (the vertical cell) use text or img tag
///////////////////////////
menuItems:[
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
/*
["Hot Sites"], //create header
["Lois Images", "http://www.loisimages.com", "_new"],
["State Street Blues", "http://www.statestreetbluesstroll.com/","_new"],
["Media Jazz by Night", "http://www.mediajazzbynight.com/", "_new"],
["DD Help Forum", "http://www.dynamicdrive.com/forums", "_new"],


["Search", "", "", 2, "no"], //create two column header w/ 2 and 1 column members, requires d_colspan:3
["Search", "", "", 1],
["Google", "http://www.google.com/", "_new", 1, "no"], //create three column row, requires d_colspan:3
["Yahoo", "http://www.yahoo.com/", "_new", 1, "no"],
["AltaVista", "http://www.altavista.com/", "_new", 2],
*/
["", "","_new", 1, "no"],
["1", "","_new", 1, "no"],
["2", "mn-002.htm", "_new", 1, "no"],
["3", "", "_new", 1, "no"],
["4", "mn-004.htm", "_new", 1, "no"],
["5", "mn-005.htm","_new", 1, "no"],
["6", "", "_new", 1, "no"],
["7", "", "_new", 1, "no"],
["8", "", "_new", 1, "no"],
["9", "mn-009.htm", "_new", 1],
["10", "mn-010.htm","_new", 1, "no"],
["11", "","_new", 1, "no"],
["12", "mn-012.htm", "_new", 1, "no"],
["13", "mn-013.htm", "_new", 1, "no"],
["14", "", "_new", 1, "no"],
["15", "","_new", 1, "no"],
["16", "", "_new", 1, "no"],
["17", "", "_new", 1, "no"],
["18", "mn-018.htm", "_new", 1, "no"],
["19", "mn-019.htm", "_new", 1],
["20", "mn-020.htm","_new", 1, "no"],
["21", "","_new", 1, "no"],
["22", "", "_new", 1, "no"],
["23", "", "_new", 1, "no"],
["24", "", "_new", 1, "no"],
["25", "","_new", 1, "no"],
["26", "mn-026.htm", "_new", 1, "no"],
["27", "mn-027.htm", "_new", 1, "no"],
["28", "mn-028.htm", "_new", 1, "no"],
["29", "mn-029.htm", "_new", 1],
["30", "mn-030.htm","_new", 1, "no"],
["31", "","_new", 1, "no"],
["32", "", "_new", 1, "no"],
["33", "", "_new", 1, "no"],
["34", "", "_new", 1, "no"],
["35", "","_new", 1, "no"],
["36", "mn-036.htm", "_new", 1, "no"],
["37", "mn-037.htm", "_new", 1, "no"],
["38", "mn-038.htm", "_new", 1, "no"],
["39", "mn-039.htm", "_new", 1],
["40", "","_new", 1, "no"],
["41", "","_new", 1, "no"],
["42", "", "_new", 1, "no"],
["43", "mn-043.htm", "_new", 1, "no"],
["44", "mn-044.htm", "_new", 1, "no"],
["45", "","_new", 1, "no"],
["46", "mn-046.htm", "_new", 1, "no"],
["47", "mn-047.htm", "_new", 1, "no"],
["48", "mn-048.htm", "_new", 1, "no"],
["49", "", "_new", 1],
["50", "","_new", 1, "no"],
["51", "","_new", 1, "no"],
["52", "mn-052.htm", "_new", 1, "no"],
["53", "mn-053.htm", "_new", 1, "no"],
["54", "", "_new", 1, "no"],
["55", "mn-055.htm","_new", 1, "no"],
["56", "", "_new", 1, "no"],
["57", "", "_new", 1, "no"],
["58", "", "_new", 1, "no"],
["59", "mn-059.htm", "_new", 1],
["60", "","_new", 1, "no"],
["61", "","_new", 1, "no"],
["62", "mn-062.htm", "_new", 1, "no"],
["63", "mn-063.htm", "_new", 1, "no"],
["64", "", "_new", 1, "no"],
["65", "","_new", 1, "no"],
["66", "mn-066.htm", "_new", 1, "no"],
["67", "", "_new", 1, "no"],
["68", "", "_new", 1, "no"],
["69", "", "_new", 1],
["70", "mn-070.htm","_new", 1, "no"],
["71", "mn-071.htm","_new", 1, "no"],
["72", "", "_new", 1, "no"],
["73", "", "_new", 1, "no"],
["74", "", "_new", 1, "no"],
["75", "mn-075.htm","_new", 1, "no"],
["76", "", "_new", 1, "no"],
["77", "mn-077.htm", "_new", 1, "no"],
["78", "", "_new", 1, "no"],
["79", "", "_new", 1],
["80", "","_new", 1, "no"],
["81", "","_new", 1, "no"],
["82", "", "_new", 1, "no"],
["83", "", "_new", 1, "no"],
["84", "", "_new", 1, "no"],
["85", "","_new", 1, "no"],
["86", "", "_new", 1, "no"],
["87", "", "_new", 1, "no"],
["88", "", "_new", 1, "no"],
["89", "mn-089.htm", "_new", 1],
["90", "","_new", 1, "no"],
["91", "mn-091.htm","_new", 1, "no"],
["92", "", "_new", 1, "no"],
["93", "", "_new", 1, "no"],
["94", "", "_new", 1, "no"],
["95", "mn-095.htm","_new", 1, "no"],
["96", "", "_new", 1, "no"],
["97", "", "_new", 1, "no"],
["98", "mn-098.htm", "_new", 1, "no"],
["99", "mn-099.htm", "_new", 1],
["100", "","_new", 1, "no"],
["101", "","_new", 1, "no"],
["102", "", "_new", 1, "no"],
["103", "", "_new", 1, "no"],
["104", "", "_new", 1, "no"],
["105", "mn-105.htm","_new", 1, "no"],
["106", "mn-106.htm", "_new", 1, "no"],
["107", "mn-107.htm", "_new", 1, "no"],
["108", "", "_new", 1, "no"],
["109", "mn-109.htm", "_new", 1],
["110", "","_new", 1, "no"],
["111", "mn-111.htm","_new", 1, "no"],
["112", "mn-112.htm", "_new", 1, "no"],
["113", "mn-113.htm", "_new", 1, "no"],
["114", "", "_new", 1, "no"],
["115", "mn-115.htm","_new", 1, "no"],
["116", "", "_new", 1, "no"],
["117", "mn-117.htm", "_new", 1, "no"],
["118", "mn-118.htm", "_new", 1, "no"],
["119", "", "_new", 1],
["120", "","_new", 1, "no"],
["121", "mn-121.htm","_new", 1, "no"],
["122", "mn-122.htm", "_new", 1, "no"],
["123", "", "_new", 1, "no"],
["124", "", "_new", 1, "no"],
["125", "","_new", 1, "no"],
["126", "", "_new", 1, "no"],
["127", "", "_new", 1, "no"],
["128", "mn-128.htm", "_new", 1, "no"],
["129", "", "_new", 1],
["130", "","_new", 1, "no"],
["131", "","_new", 1, "no"],
["132", "", "_new", 1, "no"],
["133", "mn-133.htm","_new", 1, "no"],
["134", "", "_new", 1, "no"],
["135", "mn-135.htm","_new", 1, "no"],
["136", "", "_new", 1, "no"],
["137", "", "_new", 1, "no"],
["138", "mn-138.htm", "_new", 1, "no"],
["139", "", "_new", 1],
["140", "mn-140.htm","_new", 1, "no"],
["141", "mn-141.htm","_new", 1, "no"],
["142", "", "_new", 1, "no"],
["143", "mn-143.htm", "_new", 1, "no"],
["144", "", "_new", 1, "no"],
["145", "mn-145.htm","_new", 1, "no"],
["146", "mn-146.htm", "_new", 1, "no"],
["147", "", "_new", 1, "no"],
["148", "mn-148.htm", "_new", 1, "no"],
["149", "mn-149.htm", "_new", 1],
["150", "","_new", 1, "no"],
["151", "","_new", 1, "no"],
["152", "mn-152.htm", "_new", 1,"no" ],
["", "", "_new", 1, "no"],
["", "", "_new", 1, "no"],
["", "","_new", 1, "no"],
["", "", "_new", 1, "no"],
["", "", "_new", 1, "no"],
["", "", "_new", 1, "no"],
["", "", "_new", 1]

]}; // REQUIRED!! do not edit or remove



menu[2] = {
id:'menu2', //use unique quoted id (quoted) REQUIRED!!
d_colspan:3,     // Available columns in menu body as integer
bartext:'PAGE MENU',
barbgcolor:'#33ccff',   // bar (the vertical cell) background color
barwidth:30,     // bar (the vertical cell) width
menutop:40,     // initial top offset - except for top menu, where it is meaningless
hdingwidth:210,  // heading - non linked horizontal cells width
hdingbgcolor:'blue',  // heading - non linked horizontal cells background color
linkheight:22,   // linked horizontal cells height
fontsize:'110%',          // express as percentage with the % sign
menupos:'right',
kviewtype:'fixed', 
menuspeed:1,
menuItems:[ // REQUIRED!!
//[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header

["Sutta Talks", "", "", ],
["Digha Nikaya", "dn.htm", ],
["MN 1 - MN 50", "mn-1.htm", ],
["MN 51 - MN 100", "mn-2.htm", ],
["MN 101 - MN 152", "mn-3.htm", ],
["Samyutta Nikaya", "sn-1.htm", ],
["Vinaya", "v-mv.htm", ],
["Retreat Talks", "", "", ],
["Joshua Tree 1", "jt-1.htm", "_new" ],
["JT-2", "jt-2.htm", "_new", 1, "no"], //create three column row, requires d_colspan:3
["JT-3", "jt-3.htm", "_new", 1, "no"],
["JT-4", "jt-4.htm", "_new", 1],

["Anaheim", "anaheim-1.htm", "_new", 1, "no"],
["Berlin-1", "berlin-1.htm", 1],
["CYM 1", "cym-1.htm","_new", 1, "no"],
["Seattle 1", "seattle-1.htm", ],
["Pauenhof-1", "pauenhof-1.htm", "_new", 1, "no"],
["P-2", "pauenhof-2.htm", ],
["DS-Aug-07", "aug.htm", "_new", 1, "no"],
["DS-Oct-06", "oct.htm", ],
["Waldhaus-1", "waldhaus-1.htm", ],
["", "", "", ],
["Basic", "basic.htm", "_new", 1, "no"],
["Recent", "recent.htm", 1],
["8-Fold Path", "8-fold-path.htm", ],
["7 Factors", "factors.htm", ],
["5 Faculties", "faculties.htm", ],
["General", "general.htm", ],
["Metta Meditation", "metta.htm", ],
["Breath Meditation", "breath.htm", ],
["Walking Meditation", "walking.htm", ],
["Sister Khema", "sk-index.htm", ],
["Video Index", "video-index.htm", ],


["", "", "", ]  //no comma after last entry

]}; // REQUIRED!! do not edit or remove

////////////////////Stop Editing/////////////////

make_menus();