

fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;


with(mainStyle=new mm_style()){
oncolor="#a90000";
pagecolor="#a90000";

	bgimage="/designs/menupictures/button_off.jpg";
	overbgimage="/designs/menupictures/button_on.jpg";
	pagebgimage="/designs/menupictures/button_on.jpg";

	separatorimage="/designs/menupictures/separator.jpg";

offcolor="#FFFFFF";
onbgcolor="#ffffff";
pagebgcolor="#ffffff";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#cccccc";
separatorsize="4";
padding=0;
fontsize="11px";
fontstyle="normal";
fontweight="normal";
fontfamily="tahoma";
valign="bottom";
itemheight=68;
rawcss="text-align: center;padding-bottom:10px;width:65px;";
}


with(subStyle=new mm_style()){
itemwidth=140;
itemheight=17;
valign="middle";
onbgcolor="#646464";
oncolor="#ffffff";
pagecolor="#A00000";
offbgcolor="#ffffff";
offcolor="#000000";
bordercolor="#646464";
borderstyle="solid";
borderwidth=1;
separatorcolor="#666666";
separatorsize="0";
padding=2;
fontsize="11px";
fontstyle="normal";
fontfamily="tahoma";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
rawcss="padding-left:2px;";
}


with(milonic=new menuname("Main Menu")){
style=mainStyle;
top=7;
left=-1000;
alwaysvisible=1;
orientation="horizontal";

aI("text=Startsida;url=/page130.html;showmenu=menu130;offbgcolor=#ff0000");


aI("text=Om oss;url=/page131.html;showmenu=menu131;offbgcolor=#ff0000");


aI("text=Hitta oss;url=/page140.html;showmenu=menu140;offbgcolor=#ff0000");


aI("text=Villkor;url=/page132.html;showmenu=menu132;offbgcolor=#ff0000");


aI("text=Kontakt;url=/page133.html;showmenu=menu133;offbgcolor=#ff0000");


aI("text=Bilder;url=/page155.html;showmenu=menu155;offbgcolor=#ff0000");

}


drawMenus();

function setLeftPosOfTopMenu() {
	var ie4_check = (document.all && !document.getElementById) ? 	true : false;
	var ie5_check = (document.all && document.getElementById) ? 	true : false;
	if (ie4_check || ie5_check) {
		width = document.body.clientWidth;
		} 
	else {
		width = window.innerWidth;
	}
	intLeftPos = width/2-450
	intLeftPos = intLeftPos + 32
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

window.onload = setLeftPosOfTopMenu;
window.onresize = setLeftPosOfTopMenu;﻿

