/***********************************************************************************
*	Menu javascript for www.alanperlman.com                           *
*	Last edited 8/14/03 by Leanne Powers saxdiva@earthlink.net        *	
***********************************************************************************/

	var NoOffFirstLineMenus=5;			// Number of first level items
	var LowBgColor='#336666';			// Background color when mouse is not over
	var LowSubBgColor='#336666';			// Background color when mouse is not over on subs
	var HighBgColor='#000000';			// Background color when mouse is over
	var HighSubBgColor='#000000';			// Background color when mouse is over on subs
	var FontLowColor='#FFFFFF';			// Font color when mouse is not over
	var FontSubLowColor='#FFFFFF';			// Font color subs when mouse is not over
	var FontHighColor='#FFFFFF';			// Font color when mouse is over
	var FontSubHighColor='#FFFFFF';			// Font color subs when mouse is over
	var BorderColor='#000000';			// Border color
	var BorderSubColor='#000000';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="arial,helvetica,verdana"	// Font family menu items
	var FontSize=9;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='center';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=.2;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=.2;			// vertical overlap child/ parent
	var StartTop=110;				// Menu offset x coordinate
	var StartLeft=0;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=3;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='navig';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=1;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}

// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("Home","index.html","",0,20,87);

Menu2=new Array("Services","","",5,20,87);
	Menu2_1=new Array("Freelance Speechwriting","http://www.alanperlman.com/speech.html","",0,20,175);	
	Menu2_2=new Array("Ghostwriting","http://www.alanperlman.com/html/ghost.html","",0,20,175);	
	Menu2_3=new Array("Book and Manuscript Editing","http://www.alanperlman.com/book.html","",0,20,175);
	Menu2_4=new Array("Presentation Training","http://www.alanperlman.com/presentation.html","",0,20,175);
	Menu2_5=new Array("Other Language Services","http://www.alanperlman.com/lang.html","",0,20,175);	

Menu3=new Array("Background and Skills","","",5,20,157);
	Menu3_1=new Array("Biographical Sketch","http://www.alanperlman.com/bio.html","",0,20,280);
	Menu3_2=new Array("Resume/CV","http://www.alanperlman.com/resume.html","",0);
	Menu3_3=new Array("Key Skills","http://www.alanperlman.com/skills.html","",0);
	Menu3_4=new Array("Client List","http://www.alanperlman.com/clients.html","",0);
	Menu3_5=new Array("Alan's Personal Philosophy of Communication","http://www.alanperlman.com/philo.html","",0);

Menu4=new Array("Seminars and Published Works","","",6,20,205);
	Menu4_1=new Array("Bibliography of Ghostwritten works","http://www.alanperlman.com/biblio.html","",0,20,250);
	Menu4_2=new Array("Seminars, Workshops, and Lectures","http://www.alanperlman.com/seminars.html","",0);
	Menu4_3=new Array("Published Articles and Books","http://www.alanperlman.com/articles.html","",0);
	Menu4_4=new Array("'Writing Great Speeches'","http://www.alanperlman.com/gr8_speech.html","",0);
	Menu4_5=new Array("Writing Samples","http://www.alanperlman.com/samples.html","",0);
	Menu4_6=new Array("Writing: Alan's Thoughts and Strategies","http://www.alanperlman.com/articles-2.html","",0);

Menu5=new Array("Contact","http://www.alanperlman.com/contact.html","",0,20,104);