// The following line is critical for menu operation, and must appear only once.
menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled


////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500					// The time delay for menus to remain visible on mouse off
followspeed=5				// Follow Scrolling speed (higher number makes the scrolling smoother but slower)
followrate=40				// Follow Scrolling Rate (use a minimum of 40 or you may experience problems)
suboffset_top=6;			// Sub menu offset Top position 
suboffset_left=12;			// Sub menu offset Left position

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5);"
}

style2=[					// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"003366",					// Mouse Off Font Color
"6495ED",					// Mouse Off Background Color
"0000ff",					// Mouse On Font Color
"LemonChiffon",				// Mouse On Background Color
"003366",					// Menu Border Color 
12,							// Font Size (default is px but you can specify mm, pt or a percentage)
"normal",					// Font Style (italic or normal)
"bold",						// Font Weight (bold or normal)
"Verdana, Tahoma, Arial, Helvetica, sans-serif",	// Font Name
3,							// Menu Item Padding
"http://www.atcc.org.nz/images/3darrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,							// 3D Border & Separator bar
"66ffff",					// 3D High Color
"000099",					// 3D Low Color
"Purple",					// Current Page Item Font Color (leave this blank to disable)
"pink",						// Current Page Item Background Color (leave this blank to disable)
"http://www.atcc.org.nz/images/3darrow_down.gif",	// Top Bar image (Leave this blank to disable)
"ffffff",					// Menu Header Font Color (Leave blank if headers are not needed)
"000099",					// Menu Header Background Color (Leave blank if headers are not needed)
]


addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
0,				// Menu Top - The Top position of the menu in pixels
13,					// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style2,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
,					// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
1,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
1,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
1,					// ..Now Obsolete..
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"Home","http://www.atcc.org.nz",,,1// "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Club Area&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=clubarea","#",,1
,"For Sale&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=forsale","#",,1
,"Technical&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=technical","#",,1
,"Contact Us&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=contact","#",,1
,"Links&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=links","#",,1
,"Downloads&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=download","#",,1
,"Just For Fun&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=Fun","#",,1
])


if(document.layers)m1div="_d.layers['menu1'].document.layers['mel1'].document.layers['subscribeform']"; else m1div="subscribeform"

addmenu(menu=["clubarea","offset=3",,195,1,"",style2,,"",effect,,,,,,,,m1div,,,,
,"Triumph Forum", "http://www.atcc.org.nz/forum",,,1
,"Committee 2008 / 09", "http://www.atcc.org.nz/Comittee.shtml",,,1
,"Committee Resource Area", "http://www.atcc.org.nz/EventDocs/CommiteeArea.shtml",,,1
,"Join the Club", "http://www.atcc.org.nz/Membership.shtml target=_blank",,,1
,"Events Calendar", "http://www.atcc.org.nz/forum/index.php?action=calendar",,,1
,"Subscribe to Newsletter", "http://www.atcc.org.nz/subscribe.shtml",,,1
,"Club Constitution (PDF)", "http://www.atcc.org.nz/PDFS/scan0160.pdf",,,1
//,"Past Events", "PastEvents.shtml",,,1
//,"Members Cars", "show-menu=MembCar",,,1
,"Past Events", "show-menu=PastEvents",,,1
])

	//addmenu(menu=["MembCar",,,145,1,"",style2,,"left",effect,,,,,,,,,,,,
    //,"Add Your Car to This Area","http://www.atcc.org.nz/cgi-bin/Upload-MemberCar.shtml target=_blank",,,1
	//,"Kim's GT6's","http://www.atcc.org.nz/KimGT6.shtml",,,1
	//,"Robert's GT6","http://www.atcc.org.nz/RobGT6.shtml",,,1
	//,"Trevor's 2500S","http://www.atcc.org.nz/Trev2500s.shtml",,,1
	//,"Graham's Spitfire","http://www.atcc.org.nz/GrahamSpit.shtml",,,1
	//,"Phil's 2000 Saloon","http://www.atcc.org.nz/Phil2000.shtml",,,1
	//,"Allan's Spitfire","http://www.atcc.org.nz/AllanSpitty.shtml",,,1
	//,"Allan's Herald","http://www.atcc.org.nz/AllanHerald.shtml",,,1
	//])

	addmenu(menu=["PastEvents",,,145,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Show and Shine 2006","http://www.atcc.org.nz/sspan/Template.shtml",,,1
	,"Photo Album","http://www.atcc.org.nz/cgibin/photo/index.cgi",,,1
	,"Gt Northern Fun Run","http://www.atcc.org.nz/GTNorthern.shtml",,,1
	//,"Rocker Cover Racing 2003","Rocker.shtml",,,1
	])

addmenu(menu=["forsale","offset=3",,155,1,"",style2,,"",effect,,,,,,,,,,,,
,"Club for Sale and Wanted Ads", "http://www.atcc.org.nz/cgibin/classifieds/index.cgi",,,1
//,"Compare Parts Suppliers", "ATCCPartPrice.shtml target=_blank",,,1
,"NZ Based Parts Suppliers", "http://www.atcc.org.nz/NZSuppliers.shtml",,,1
,"Overseas Parts Suppliers", "http://www.atcc.org.nz/IntSuppliers.shtml",,,1
,"Browse T&E", "http://www.trade-exchange.co.nz/ target=_blank",,,1
,"Browse Loot", "http://www.buy-sell-exchange.co.nz/ target=_blank",,,1
//,"Legal Information", "show-menu=legalinfo",,,1
])

	addmenu(menu=["legalinfo",,,145,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"License Agreement","license.php",,,1
	,"Privacy Policy","privacy.php",,,1
	])


addmenu(menu=["technical","offset=3",,140,1,,style2,,"left",effect,,,,,,,,,,,,

,"General Technical","show-menu=GenTech",,"",1
,"Paint Related","show-menu=Paint",,"",1
,"Triumph History","show-menu=TrumpHis",,"",1
,"Tuning","show-menu=Tuning",,"",1
,"Vitesse Technical","show-menu=VitTech",,"",1
,"Herald Technical","show-menu=HerTech",,"",1
,"GT6 Technical","show-menu=GT6Tech",,"",1
,"Spitfire Technical","show-menu=SpitTech",,"",1
,"2000 2500 Technical","show-menu=SalTech",,"",1
])


	addmenu(menu=["GenTech",,,210,1,"",style2,,"left",effect,,,,,,,,,,,,
//	,"Triumph Paint Codes","http://www.atcc.org.nz/TrumpyPaint.shtml",,,1
//	,"Painting Guide","http://www.atcc.org.nz/CarPaint.shtml",,,1
	,"Fault Finding","http://www.atcc.org.nz/FaultFind.shtml target=_blank",,,1
	,"Curing Oil Leaks","http://www.atcc.org.nz/OilLeak.shtml",,,1
	,"Headlight Reminder","http://www.atcc.org.nz/headlight.shtml",,,1
	,"Hardware Catalogue (PDF)","http://www.atcc.org.nz/PDFS/standard_triumph_hardware_catalog.pdf",,,1
	,"Nut and Bolt Guide","http://www.atcc.org.nz/NutsNBolts.shtml",,,1
	,"QH Parts Catalogs","http://www.atcc.org.nz/qh.shtml",,,1
	])

	addmenu(menu=["Paint",,,210,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Triumph Paint Codes","http://www.atcc.org.nz/TrumpyPaint.shtml",,,1
	,"Painting Guide","http://www.atcc.org.nz/CarPaint.shtml",,,1
	,"PPG Colour Codes","http://www.atcc.org.nz/PPGCodes.shtml",,,1
	,"Paint a Spit","http://www.atcc.org.nz/Colours.shtml",,,1

	])
	
	addmenu(menu=["TrumpHis",,,210,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Triumph History Pt1","http://www.austin-rover.co.uk/triumphhistf.htm target=_blank",,,1
	,"Triumph History Pt2","http://www.austin-rover.co.uk/triumphf.htm target=_blank",,,1
	,"Autocars of Israel","http://www.austin-rover.co.uk/awisraelf.htm target=_blank",,,1
	,"Standard Motors India","http://www.austin-rover.co.uk/standardindexf.htm target=_blank",,,1
	,"Triumph Fury","http://www.austin-rover.co.uk/triumphfuryf.htm target=_blank",,,1
    ,"Bullet, Lynx and Broadside","http://www.austin-rover.co.uk/sportstriumphf.htm target=_blank",,,1
	//,"Bullet, Lynx and Broadside","http://www.austin-rover.co.uk/sportstriumphf.htm target=_blank",,,1
	])

	addmenu(menu=["Tuning",,,210,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Weber DCOE Manual (PDF)","http://www.atcc.org.nz/PDFS/weber.pdf",,,1
	,"DCOE Jetting Program","http://www.atcc.org.nz/PDFS/dcoe40jetcalc.exe",,,1
	,"Diff and Tyre Calculator","http://www.atcc.org.nz/DiffTyre.shtml",,,1
	,"Tuning Triumphs by Vizard (PDF)","http://www.atcc.org.nz/PDFS/tuning_triumphs.pdf",,,1
	,"DIY EFI","http://www.atcc.org.nz/DiyEFIIntro.shtml",,,1
	,"Headlight Reminder","http://www.atcc.org.nz/headlight.shtml",,,1
	])	
	
	addmenu(menu=["VitTech",,,210,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Vitesse Buyers Guide","http://www.atcc.org.nz/VitBuy.shtml",,,1
	,"Vitesse History","http://www.atcc.org.nz/VitHist.shtml",,,1
	,"Commission Numbers","http://www.atcc.org.nz/VitComm.shtml",,,1
	//,"Images For backgrounds","menusample.php?sampleid=7",,,1
	//,"Images For Background Items","menusample.php?sampleid=8",,,1
	//,"Rounded Edges","menusample.php?sampleid=9",,,1	
	])
	
	
	addmenu(menu=["HerTech",,,210,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Herald Buyers Guide","http://www.atcc.org.nz/HeraldBuy.shtml",,,1
	,"Herald History","http://www.atcc.org.nz/HeraldHist.shtml",,,1
	//,"Bound Menu To a Table Cell","menusample.php?sampleid=21",,,1
	//,"Using Headers as separators","menusample.php?sampleid=15",,,1
	//,"Function Activation Sample","menusample.php?sampleid=20",,,1
	//,"Always Available","menusample.php?sampleid=11",,,1
	//,"Multiple Properties","menusample.php?sampleid=12",,,1
	//,"Opening Windows and Frames","menusample.php?sampleid=16",,,1
	//,"Dragable Menus","menusample.php?sampleid=14",,,1
	])

	addmenu(menu=["GT6Tech",,,190,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Buyers Guide","http://www.atcc.org.nz/GT6Buy.shtml",,,1
	,"GT6 History","http://www.atcc.org.nz/GT6Hist.shtml",,,1
	,"Commission Numbers","http://www.atcc.org.nz/GT6Comm.shtml",,,1
	,"Rust Proofing Guide","http://www.atcc.org.nz/GT6Rust.shtml",,,1
	])

	addmenu(menu=["SpitTech",,,190,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Spitty Buyers Guide","http://www.atcc.org.nz/SpitBuy.shtml",,,1
	//,"Menus Over Form Objects","overforms_sample.php",,,1
	//,"Transitions & Effects","filters_sample.php",,,1
	])

	addmenu(menu=["SalTech",,,210,1,"",style2,,"left",effect,,,,,,,,,,,,
	,"Development Story","http://www.austin-rover.co.uk/barbstoryf.htm target=_blank",,,1
	,"Prototypes and Drawings","http://www.austin-rover.co.uk/barbdevf.htm target=_blank",,,1
	,"Triumphs in Production","http://www.austin-rover.co.uk/trifactf.htm target=_blank",,,1
	,"Publicity Material","http://www.austin-rover.co.uk/barbpubmatf.htm target=_blank",,,1
	])

addmenu(menu=["contact","offset=3",,170,1,,style2,0,"left",effect,,,,,,,,,,,,
,"Feedback","http://www.atcc.org.nz/Feedback.shtml",,,1
,"Contact Model Registrar","http://www.atcc.org.nz/Registrar.shtml",,,1
//,"Guest Book","http://www.atcc.org.nz/cgibin/guestbook/guestbook.cgi",,,1
])

addmenu(menu=["links","offset=3",,170,1,,style2,0,"left",effect,,,,,,,,,,,,
,"Other NZ Clubs","http://www.atcc.org.nz/NZTrumpyClubs.shtml",,,1
//,"Contact Model Registrar","http://www.atcc.org.nz/Registrar.shtml",,,1
//,"Guest Book","Guestbook.shtml",,,1
])

addmenu(menu=["download","offset=3",,140,1,"",style2,,"",effect,,,,,,,,,,,,
,"Download a GT6 ScreenSaver (Windows)","http://www.atcc.org.nz/Fun/SCR/atcc_gt6.zip",,,1
,"Download Spitfire MK1 2 3 Font","http://www.atcc.org.nz/Fun/Fonts/hoodfont.zip",,,1
,"Download Spitfire 1500 Font","http://www.atcc.org.nz/Fun/Fonts/1500font.zip",,,1
,"Weber DCOE Manual (PDF)","http://www.atcc.org.nz/PDFS/weber.pdf",,,1
,"Download Spitfire 1500 Font","http://www.atcc.org.nz/Fun/Fonts/1500font.zip",,,1
])

addmenu(menu=["Fun","offset=3",,140,1,"",style2,,"",effect,,,,,,,,,,,,
,"Blast an MG","http://www.atcc.org.nz/MGBlast.shtml",,,1
,"Triumph Word Search","http://www.atcc.org.nz/WordSeek.shtml",,,1
,"Jokes","http://www.atcc.org.nz/Jokes.shtml",,,1
])

//////////////////////////////////
// Editable properties END here //
//////////////////////////////////
dumpmenus() // This must be the last line in this file
