
var min=8;
var max=18;
function increaseFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=max) {
         s += 1;
      }
      p[i].style.fontSize = s+"px"
   }
}
function decreaseFontSize() {
   var p = document.getElementsByTagName('p');
   for(i=0;i<p.length;i++) {
      if(p[i].style.fontSize) {
         var s = parseInt(p[i].style.fontSize.replace("px",""));
      } else {
         var s = 12;
      }
      if(s!=min) {
         s -= 1;
      }
      p[i].style.fontSize = s+"px"
   }   
}


timegap=0
followspeed=1
followrate=40
suboffset_top=5;
suboffset_left=10;

effect = "fade(duration=0.3);Shadow(color='#777777', Direction=135, Strength=5)"

function openwin(url)
{
	nwin=window.open(url, "nwin",config="scrollbars=yes,resizable=yes,toolbar=yes,location=yes,status=yes,menubar=yes,");
	nwin.focus();
}

prop1=[						// prop1 is an array of properties you can have as many property arrays as you need
"003366",					// Off Font Color
"CCCC99",					// Off Back Color
"FF0000",					// On Font Color
"CCCC99",					// On Back Color
"FF0000",					// Border Color
12,						// Font Size
"normal",					// Font Style 
"bold",						// Font Weight
"Arial,Verdana,Tahoma,Helvetica",		// Font
3,						// Padding
"arrow.jpg",					// Sub Menu Image
1,						// 3D Border & Separator
"3366FF",					// 3D High Color
"3300FF",					// 3D Low Color
"000099",					// Referer item Font Color (leave this blank to disable)
"CCCC99",					// Referer item Back Color (leave this blank to disable)
]

menu1=[					// This is the array that contains your menu properties and details
15,					// Top
10,					// left
50,					// Width
3,					// Border Width
"right",	 			// Screen Position - here you can use "center;middle;right"
prop1,					// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time
"center",				// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation
0,					// 1 / 0 Follow Scrolling - Tells the menu item to follow the user down the screen
0, 					// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks 						elsewhere on the page
,					// Position of sub image left:center:right:middle:top:bottom
,					// Show an image on top menu bars indicating a sub menu exists below
,					// Reserved for future use
"INDEX","show-menu2",,"#",1,		// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
"HELP","help.html",,"#",1,              
"ADVS","books.html",,"#",1,
"INTR","INTRO.HTML",,"#",1,
"QUIZ","waquiz.html",,"#",1,
"READ","reading.html",,"#",1,
"SHOW","slides.html",,"#",1,
"SMAP","sitemap.html",,"#",1,
"TIME","timeline.html",,"#",1,
"TOWN","bigmap.html",,"#",1,
"VIDS","video.html",,"#",1,
"[-]","javascript:decreaseFontSize();",,"#",1,
"[+]","javascript:increaseFontSize();",,"#",1

]

menu2=[
,,50,1,"",prop1,,"center",effect,0,,,,,,
"A", "A.HTML",,,1,
"B", "B.HTML",,,1,
"C", "C.HTML",,,1,
"D", "D.HTML",,,1,
"E", "E.HTML",,,1,
"F", "F.HTML",,,1,
"G", "G.HTML",,,1,
"H", "H.HTML",,,1,
"I", "I.HTML",,,1,
"J", "J.HTML",,,1,
"K", "K.HTML",,,1,
"L", "L.HTML",,,1,
"M", "M.HTML",,,1,
"N", "N.HTML",,,1,
"O", "O.HTML",,,1,
"P", "P.HTML",,,1,
"Q", "Q.HTML",,,1,
"R", "R.HTML",,,1,
"S", "S.HTML",,,1,
"T", "T.HTML",,,1,
"U", "U.HTML",,,1,
"V", "V.HTML",,,1,
"W", "W.HTML",,,1,
"X", "X.HTML",,,1,
"Y", "Y.HTML",,,1,
"Z", "Z.HTML",,,1
]