﻿var code="code";
var url="url";
var sub="sub";
var ITEM_COLOR = {"border":"#ffffff", "shadow":"#E5E5E5", "bgON":"black","bgOVER":"yellow", "imagebg":"white", "oimagebg":"#B6BDD2"};
var ROOT_COLOR = {"border":"#ffffff", "shadow":"#E5E5E5", "bgON":"black","bgOVER":"yellow", "imagebg":"white", "oimagebg":"#B6BDD2"};
var ITEM_CSS = {"ON":"clsCMTopOn", "OVER":"clsCMTopOver"};
var ROOT_ONE= {"border":1,"borders":[0,1,0,0], "color":ROOT_COLOR, "css":ITEM_CSS};
var ROOT_LEFT= {"border":1,"borders":[0,0,1,0], "color":ROOT_COLOR, "css":ITEM_CSS};
var ROOT_MIDDLE = {"border":1,"borders":[0,0,1,0], "color":ROOT_COLOR, "css":ITEM_CSS};
var ROOT_RIGHT = {"border":1,"borders":[0,0,1,0], "color":ROOT_COLOR, "css":ITEM_CSS};
var ITEM_ONE = {"border":0, "borders":[1,1,1,1], "shadow":0, "color":ITEM_COLOR, "css":ITEM_CSS};
var ITEM_TOP = {"border":0, "borders":[1,1,1,0], "shadow":0, "color":ITEM_COLOR, "css":ITEM_CSS};
var ITEM_MIDDLE = {"border":0, "borders":[1,0,1,0], "shadow":0, "color":ITEM_COLOR, "css":ITEM_CSS};
var ITEM_BOTTOM = {"border":0, "borders":[1,0,1,1], "shadow":0, "color":ITEM_COLOR, "css":ITEM_CSS};
var TOPMENU = [
				{"pos":"relative", "size":[19,119], "itemoff":[0,119], "imgsize":[16,27], "leveloff":[0,0], "delay":600, "image":"/context/image/b.gif", "imgsize":[19,5], "arrsize":[13,13], "style":ROOT_MIDDLE}
				,{code:'&nbsp;Til hovedsiden',url:'hovedsiden.aspx',"format":{"arrow":null, "image":null, "style":ROOT_LEFT}}
				,{code:'&nbsp;Bli deltager i dag',url:'#',"format":{"arrow":null, "image":null, "style":ROOT_MIDDLE}
					,sub:[{"size":[19,119], "itemoff":[19,0], "arrow":"/context/image/arrow.gif", "leveloff":[19,0], "style":ITEM_MIDDLE, "image":"/context/image/b.gif"}
						,{code:'&nbsp;Bestill oppføring',url:'BestillOppforing.aspx',"format":{"arrow":null, "image":null, "style":ITEM_TOP}}
						,{code:'&nbsp;Bestill tilgang',url:'TransporthandbokenInfo.aspx#skjema',"format":{"arrow":null, "image":null, "style":ITEM_BOTTOM}}]}			
				,{code:'&nbsp;Forlaget Bjørgu AS',url:'BjorguAS.aspx',"format":{"arrow":null, "image":null, "style":ROOT_MIDDLE}
					,sub:[{"size":[19,119], "itemoff":[19,0], "arrow":"/context/image/arrow.gif", "leveloff":[19,0], "style":ITEM_MIDDLE, "image":"/context/image/b.gif"}
						,{code:'&nbsp;Moderne Transport',url:'ModerneTransport.aspx',"format":{"arrow":null, "image":null, "style":ITEM_MIDDLE}}
						,{code:'&nbsp;Anlegg&Transport',url:'AnleggOgTransport.aspx',"format":{"arrow":null, "image":null, "style":ITEM_MIDDLE}}
						,{code:'&nbsp;A&T Bruktmagasinet',url:'ATBruktmagasinet.aspx',"format":{"arrow":null, "image":null, "style":ITEM_MIDDLE}}
						,{code:'&nbsp;TransportInside',url:'TransportInside.aspx',"format":{"arrow":null, "image":null, "style":ITEM_MIDDLE}}
						,{code:'&nbsp;Transporthåndboken',url:'TransporthandbokenInfo.aspx',"format":{"arrow":null, "image":null, "style":ITEM_BOTTOM}}]}
				,{code:'&nbsp;Innlogging',url:'#',"format":{"arrow":null, "image":null, "style":ROOT_MIDDLE}
					,sub:[{"size":[19,119], "itemoff":[19,0], "arrow":"/context/image/arrow.gif", "leveloff":[19,0], "style":ITEM_MIDDLE, "image":"/context/image/b.gif"}
						,{code:'&nbsp;Logg på',url:'innlogging.aspx',"format":{"arrow":null, "image":null, "style":ITEM_TOP}}
						,{code:'&nbsp;Logg av',url:'innlogging.aspx?signoff=true',"format":{"arrow":null, "image":null, "style":ITEM_BOTTOM}}]}
				];
