var nummenuitems_dyn_dyn = 23;						//Number of items in the menu
var numelements_dyn = 14;						//Number of elements in each menu item 
var menuitems_dyn = new Array(nummenuitems_dyn_dyn);	//Menu items array
var j; 										// loop counter


var is_NS;
var is_NS4;
var is_GNS4;
var is_Ver;

function setBrowser()
{
	is_NS = navigator.appName=="Netscape";
	is_Ver = parseFloat(navigator.appVersion);
	is_NS4 = is_NS&&is_Ver>=4.0&&is_Ver<5.0;
	is_GNS4 = is_NS&&is_Ver>=5.0;
}

//Initialise the menuitems_dyn array
for(j=0; j<nummenuitems_dyn_dyn;j++)
{
	menuitems_dyn[j] = new Array(numelements_dyn)
}
function InitArray(pos,name, linkname, image, image2, target,
	div_width, div_height, div_left, div_top, div_z, 
	div_bg_colour, div_border, div_name,div_text)
{
	menuitems_dyn[pos][0] = name;
	menuitems_dyn[pos][1] = linkname;
	menuitems_dyn[pos][2] = image;
	menuitems_dyn[pos][3] = image2; 
	menuitems_dyn[pos][4] = target; 
	menuitems_dyn[pos][5] = div_width;
	menuitems_dyn[pos][6] = div_height;
	menuitems_dyn[pos][7] = div_left;
	menuitems_dyn[pos][8] = div_top;
	menuitems_dyn[pos][9] = div_z;
	menuitems_dyn[pos][10] = div_bg_colour;
	menuitems_dyn[pos][11] = div_border;
	menuitems_dyn[pos][12] = div_name;
	menuitems_dyn[pos][13] = div_text;
}
//These are the settings for the menu - add and change the links as required
//default target is _top
InitArray(0,"Tasha's Links","","../images/menu/menu1.gif","","",
	"150","20","173","60","0","#000000","1","DummyLayer",
	"");
InitArray(1,"Home","../index_dyn.html",
	"../images/menu/menu2b.gif","../images/menu/menu2.gif","",
	"150","20","173","60","1","#000000","1","HomeLayer",
	"The page where you \n started your dynamic journey.");
InitArray(2,"About Me","../tasha_personal/index_dyn.html",
	"../images/menu/menu3b.gif","../images/menu/menu3.gif","",
	"150","20","173","60","1","#000000","2","AboutMeLayer",
	"A little bit about the web mistress");
InitArray(3,"Fiction","../tasha_personal/fiction_dyn.html",
	"../images/menu/menu4b.gif","../images/menu/menu4.gif","",
	"150","20","173","60","1","#000000","3","FictionLayer",
	"Original and fan fiction for many genres");
InitArray(4,"CV","../tasha_personal/tasha_cv_dyn.html",
	"../images/menu/menu5b.gif","../images/menu/menu5.gif","",
	"150","20","173","60","1","#000000","4","CVLayer",
	"My CV");
InitArray(5,"Buffy","../tasha_personal/buffy/index_dyn.html",
	"../images/menu/menu6b.gif","../images/menu/menu6.gif","",
	"130","20","173","60","1","#000000","5","BuffyLayer",
	"Some Buffy fanfic and links.");
InitArray(6,"Highlander","../tasha_personal/Highlander/highlander_dyn.html",
	"../images/menu/menu7b.gif","../images/menu/menu7.gif","",
	"150","20","173","60","1","#000000","6","Highlanderayer",
	"Pages devoted to Highlander : lots of images.");
InitArray(7,"Hl: the Raven","../ravweb/index.html",
	"../images/menu/menu7ib.gif","../images/menu/menu7i.gif","",
	"150","20","173","60","1","#000000","7","HLRLayer",
	"A set of pages about Highlander the Raven; the spin off from Highlander focusing on Amanda");
InitArray(8,"CI5 Ops","http://CI5Ops.co.uk",
	"../images/menu/menu8b.gif","../images/menu/menu8.gif","",
	"150","20","173","60","1","#000000","8","CI5Layer",
	"A web site co-created by me about the New Professionals");
InitArray(9,"SG-1","../tasha_personal/sg-1/index_dyn.html",
	"../images/menu/menu9b.gif","../images/menu/menu9.gif","",
	"150","20","173","60","1","#000000","9","SG1Layer",
	"Links and fanfic for SG-1");
InitArray(10,"Champions/Sentinel","../champions/ch_main_dyn.html",
	"../images/menu/menu10b.gif","../images/menu/menu10.gif","",
	"150","20","173","60","1","#000000","10","ChampLayer",
	"The Champions/Sentinel xover challenge. Open to any writers who wish to take it up.");
InitArray(11,"Polt: TL","../tasha_personal/Poltergeist/poltergeist_dyn.html",
	"../images/menu/menu11b.gif","../images/menu/menu11.gif","",
	"150","20","173","60","1","#000000","11","poltLayer",
	"Poltergeist the Legacy fanfic and first/second season info.");
InitArray(12,"Spider-man","../tasha_personal/spider-man/spider-man_dyn.html",
	"../images/menu/menu11-5b.gif","../images/menu/menu11-5.gif","",
	"150","20","173","60","1","#000000","11","spideyLayer",
	"Spider-man fanfic, links and images.");
InitArray(13,"Sophs Links","","../images/menu/menu12.gif","","",
	"","","","","","","","","");
InitArray(14,"Sophs Home Page","../soph_personal/index_dyn.html",
	"../images/menu/menu13b.gif","../images/menu/menu13.gif","",
	"150","20","173","60","1","#000000","12","sophLayer",
	"All about Soph");
InitArray(15,"Sophs Fiction","../soph_personal/fiction/index_dyn.html",
	"../images/menu/menu14b.gif","../images/menu/menu14.gif","",
	"150","20","173","60","1","#000000","13","SophfLayer",
	"Soph's fiction; mostly for Highlander");
InitArray(16,"Other Links","","../images/menu/menu15.gif","","",
	"","","","","","","","","");
InitArray(17,"HFS","../hfs/index_dyn.html",
	"../images/menu/menu16b.gif","../images/menu/menu16.gif","",
	"150","20","173","60","1","#000000","14","HFSLayer",
	"Highlander the Fanfic Season : fixes Archangel and then continues.");
InitArray(18,"Webrings and Stuff","../webrings.html",
	"../images/menu/menu17b.gif","../images/menu/menu17.gif","",
	"150","20","173","60","1","#000000","15","WebringLayer",
	"All the webrings this site is on and several links to fanfic directories.");
InitArray(19,"Whats New","../whatsnew_dyn.html",
	"../images/menu/menu18b.gif","../images/menu/menu18.gif","",
	"150","20","173","60","1","#000000","16","WhatnewLayer",
	"Shows all the updates.");
InitArray(20,"Email","","../images/menu/menu19.gif","","",
	"","","","","","","","","");
InitArray(21,"Email Tasha","mailto:tasha@dtwins.co.uk",
	"../images/menu/menu20b.gif","../images/menu/menu20.gif","",
	"","","","","","","","","");
InitArray(22,"Email Sophie","mailto:sophie@dtwins.co.uk",
	"../images/menu/menu21b.gif","../images/menu/menu21.gif","",
	"","","","","","","","","");


//various settings for the menu
var menuWidth_dyn = "150"; 			//menu overall width
var menuHeight_dyn = "";			//menu height
var titleCol_dyn = "#000000"; 			//title background colour
var titleAlign_dyn = "left";			//title horizontal alignment
var titleVAlign_dyn = "top";			//title vertical alignment
var titleFontFace_dyn = "Arial";			//title font face
var titleFontSize_dyn = "3";			//title font size
var titleFontCol_dyn = "#FFFFFF";			//title font colour
var cellHeight_dyn = "20"			//height of each cell in the table
var LinkBGCol_dyn = "";
var LinkAlign_dyn = "left";			//link horizontal alignment
var LinkVAlign_dyn = "top";			//link vertical alignment
var LinkFontFace_dyn = "Arial";			//link font face
var LinkFontSize_dyn = "3";			//link font size
var LinkFontCol_dyn = "";			//link font colour
