var menu = new Array();
		
/* ----- MAIN MENU ----- */

menu['main'] = new Array('display','choice','execute');

var lastvisit = "never." // that, or w days, x hours, y minutes, z seconds + ' ago.'
var thedate = new Date();

menu['main']['display'] = new Array( '',

	'Hello! Welcome to my personal website.',
	'Your last visit was: ' + lastvisit,
	'',
	'',
	'MAIN MENU',
	'--------------------------',
	'1. News feed',
	'2. Short bio about Alan',
	'3. Send an electronic message',
	'4. Links to related websites',
	'',
	'TERMINAL OPTIONS',
	'--------------------------',
	'5. Change screen size',
	'6. Change phosphor color',
	'7. Change operating speed',
	'',
	'',
	'Enter your selection (1-7) and press return: <input name="makeselection" class="makeselection" type="text" size="2" maxlength="1" /> '
		+ '<span class="err">&nbsp;error message&nbsp;</span>'
);
menu['main']['choice'] = new Array( '',
									
	'newsfeed',
	'shortbio',
	'sendmsg',
	'links',
	'size',
	'color',
	'speed'
);

/* ---------------------------------------------------------------------------------------------------------------------------------- */


/* ----- News Feed ----- */

menu['newsfeed'] = new Array('display','choice','execute');

menu['newsfeed']['display'] = new Array( '',

	'',
	'NEWS FEED',
	'--------------------------',
	'The news currently is that this website is under development.',
	'',
	'More as this story develops.',
	'',
	'',
	'',
	'OPTIONS',
	'--------------------------',
	'1. Return to Main Menu',
	'',
	'',
	'',
	'',
	'',
	'',
	'Enter your selection (1) and press return: <input name="makeselection" class="makeselection" type="text" size="2" maxlength="1" /> '
		+ '<span class="err">&nbsp;error message&nbsp;</span>'
);
menu['newsfeed']['choice'] = new Array( '',
									
	'main'
);

/* ---------------------------------------------------------------------------------------------------------------------------------- */


/* ----- Short Bio ----- */

menu['shortbio'] = new Array('display','choice','execute');

menu['shortbio']['display'] = new Array( '',

	'',
	'SHORT BIOGRAPHY ABOUT ALAN',
	'--------------------------',
	'I\'ve done a lot of things, and hope to do a lot more!',
	'',
	'More as this story develops.',
	'',
	'',
	'',
	'OPTIONS',
	'--------------------------',
	'1. Return to Main Menu',
	'',
	'',
	'',
	'',
	'',
	'',
	'Enter your selection (1) and press return: <input name="makeselection" class="makeselection" type="text" size="2" maxlength="1" /> '
		+ '<span class="err">&nbsp;error message&nbsp;</span>'
);
menu['shortbio']['choice'] = new Array( '',
									
	'main'
);

/* ---------------------------------------------------------------------------------------------------------------------------------- */


/* ----- Send an Electronic Message ----- */

menu['sendmsg'] = new Array('display','choice','execute');

menu['sendmsg']['display'] = new Array( '',

	'',
	'SEND AN ELECTRONIC MESSAGE',
	'--------------------------',
	'This feature is not yet available via this website.',
	'',
	'I can be reached at alanrudolph@mac.com with a standard email program',
	'',
	'',
	'',
	'OPTIONS',
	'--------------------------',
	'1. Return to Main Menu',
	'',
	'',
	'',
	'',
	'',
	'',
	'Enter your selection (1) and press return: <input name="makeselection" class="makeselection" type="text" size="2" maxlength="1" /> '
		+ '<span class="err">&nbsp;error message&nbsp;</span>'
);
menu['sendmsg']['choice'] = new Array( '',
									
	'main'
);

/* ---------------------------------------------------------------------------------------------------------------------------------- */


/* ----- Links ----- */

menu['links'] = new Array('display','choice','execute');

menu['links']['display'] = new Array( '',

	'',
	'LINKS',
	'--------------------------',
	'There is nothing interesting to link to at this time.',
	'',
	'I recommend against using the internet for any but the most urgent purposes.',
	'',
	'',
	'',
	'OPTIONS',
	'--------------------------',
	'1. Return to Main Menu',
	'',
	'',
	'',
	'',
	'',
	'',
	'Enter your selection (1) and press return: <input name="makeselection" class="makeselection" type="text" size="2" maxlength="1" /> '
		+ '<span class="err">&nbsp;error message&nbsp;</span>'
);
menu['links']['choice'] = new Array( '',
									
	'main'
);


/* ---------------------------------------------------------------------------------------------------------------------------------- */


/* ----- Change Display Size ----- */

menu['size'] = new Array('display','choice','execute');

menu['size']['display'] = new Array( '',

	'',
	'CHANGE SIZE OF DISPLAY TEXT',
	'--------------------------',
	'This feature is not yet available via this website.',
	'',
	'',
	'',
	'',
	'',
	'OPTIONS',
	'--------------------------',
	'1. Return to Main Menu',
	'',
	'',
	'',
	'',
	'',
	'',
	'Enter your selection (1) and press return: <input name="makeselection" class="makeselection" type="text" size="2" maxlength="1" /> '
		+ '<span class="err">&nbsp;error message&nbsp;</span>'
);
menu['size']['choice'] = new Array( '',
									
	'main'
);


/* ---------------------------------------------------------------------------------------------------------------------------------- */


/* ----- Change Phosphor Color ----- */

menu['color'] = new Array('display','choice','execute');

menu['color']['display'] = new Array( '',

	'',
	'CHANGE PHOSPHOR COLOR',
	'--------------------------',
	'The default color of this terminal is <span class="green">green</span>.',
	'',
	'The current color of this terminal is currently being displayed.',
	'',
	'1. That\'s not funny',
	'',
	'SET COLOR',
	'--------------------------',
	'2. <span class="green">Green</span>',
	'3. <span class="amber">Amber</span>',
	'4. <span class="white">White</span>',
	'',
	'5. Return to Main Menu',
	'',
	'',
	'Enter your selection (1) and press return: <input name="makeselection" class="makeselection" type="text" size="2" maxlength="1" /> '
		+ '<span class="err">&nbsp;error message&nbsp;</span>'
);
menu['color']['choice'] = new Array( '',
									
	'execute',
	'execute',
	'execute',
	'execute',
	'main'
);
menu['color']['execute'] = new Array( '',
									
	0,
	"#093",
	"#FFBF00",
	"#FFF"
);


/* ---------------------------------------------------------------------------------------------------------------------------------- */


/* ----- Change Processing Speed ----- */

menu['speed'] = new Array('display','choice','execute');

menu['speed']['display'] = new Array( '',

	'',
	'OPERATING SPEED',
	'--------------------------',
	'The default speed is 100%.',
	'',
	'1. Check current operating speed',
	'',
	'SET OPERATING SPEED',
	'--------------------------',
	'2. 25%',
	'3. 50%',
	'4. 100%',
	'5. 200%',
	'6. 400%',
	'7. Maximum',
	'',
	'8. Return to Main Menu',
	'',
	'Enter your selection (1-8) and press return: <input name="makeselection" class="makeselection" type="text" size="2" maxlength="1" /> '
		+ '<span class="err">&nbsp;error message&nbsp;</span>'
);
menu['speed']['choice'] = new Array( '',
									
	'execute',
	'execute',
	'execute',
	'execute',
	'execute',
	'execute',
	'execute',
	'main'
);
menu['speed']['execute'] = new Array( '',
									
	0,
	160,
	80,
	40,
	20,
	10,
	1
);