/*





 Milonic DHTML Menu





 Written by Andy Woolley





 Copyright 2002 (c) Milonic Solutions. All Rights Reserved.





 Plase vist http://www.milonic.co.uk/menu or e-mail menu3@milonic.com





 You may use this menu on your web site free of charge as long as you place prominent links to http://www.milonic.co.uk/menu and





 your inform us of your intentions with your URL AND ALL copyright notices remain in place in all files including your home page





 Comercial support contracts are available on request if you cannot comply with the above rules.











 Please note that major changes to this file have been made and is not compatible with versions 3.0 or earlier.











 You no longer need to number your menus as in previous versions. 





 The new menu structure allows you to name the menu instead, this means that you can remove menus and not break the system.





 The structure should also be much easier to modify, add & remove menus and menu items.





 





 If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.











 Please note that the above text CAN be erased if you wish as long as copyright notices remain in place.





*/











//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files





menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}





//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.























////////////////////////////////////





// Editable properties START here //





////////////////////////////////////

















// 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=88);Shadow(color='#777777', Direction=135, Strength=5)"





}





else{





	effect = "Shadow(color='#777777', Direction=135, Strength=5)"





}

















timegap=500					// The time delay for menus to remain visible





followspeed=5				// Follow Scrolling speed





followrate=40				// Follow Scrolling Rate





suboffset_top=10;			// Sub menu offset Top position 





suboffset_left=10;			// Sub menu offset Left position





Frames_Top_Offset=100 		// Frames Page Adjustment for Top





Frames_Left_Offset=100		// Frames Page Adjustment for Left

















plain_style=[				// Menu Properties Array





"6C5349",					// Off Font Color





"EEE1DB",					// Off Back Color





"FFFFFF",					// On Font Color





"F047FC",					// On Back Color





"9B8F8D",					// Border Color





9,							// Font Size





"normal",					// Font Style





"normal",					// Font Weight





"Verdana, Arial, Helvetica",// Font





0,							// Padding





"arrow.gif"					// Sub Menu Image





,							// 3D Border & Separator





,							// 3D High Color





,							// 3D Low Color





]











//fixar till problem med ns4





function lib_bwcheck(){





	this.ver=navigator.appVersion





	this.agent=navigator.userAgent





	this.dom=document.getElementById?1:0





	this.ns4=(document.layers && !this.dom)?1:0;





	this.bw=this.ns4





	return this





}











var bw=new lib_bwcheck()











if(bw.ns4) {





 var fromTop = 51





}





else {





 var fromTop = 54





}











//alert(fromTop) 





addmenu(menu=[		// This is the array that contains your menu properties and details





"simplemenu1",		// Menu items Name





fromTop,			// Top 54





,					// left





100,				// Width





1,					// Border Width





"center",			// Screen Position - here you can use "center;left;right;middle;top;bottom"





plain_style,		// 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





,					// Follow Scrolling - Tells the menu item to follow the user down the screen





1, 					// 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





,					// Reserved for future use





,					// Reserved for future use





,,,





,"<img border=0 src=http://www.kkh.se/english/images/menySkolan.gif>","show-menu=skolan target=main;sourceframe=main","# swapimage=http://www.kkh.se/english/images/menySkolanOn.gif;",,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"





,"<img border=0 src=http://www.kkh.se/english/images/m_studieomr.gif>","show-menu=verkstader target=main;sourceframe=main","# swapimage=http://www.kkh.se/english/images/m_studieomrON.gif;",,1





,"<img border=0 src=http://www.kkh.se/english/images/menyUtbildning.gif>","show-menu=utbildning target=main;sourceframe=main","# swapimage=http://www.kkh.se/english/images/menyUtbildningOn.gif;",,1





,"<img border=0 src=http://www.kkh.se/english/images/menyKU.gif>","show-menu=ku target=main;sourceframe=main","# swapimage=http://www.kkh.se/english/images/menyKUOn.gif;",,1





,"<img border=0 src=http://www.kkh.se/english/images/menyElevPers.gif>","show-menu=elevpersonal target=main;sourceframe=main","# swapimage=http://www.kkh.se/english/images/menyElevPersOn.gif;",,1





,"<img border=0 src=http://www.kkh.se/english/images/menyUtst.gif>","show-menu=utstallning target=main;sourceframe=main","# swapimage=http://www.kkh.se/english/images/menyUtstOn.gif;",,1





])











dumpmenus()