

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="#000000";
pagecolor="#000000";

offcolor="#ce000f";
onbgcolor="";
pagebgcolor="";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#FFFFFF";
separatorsize="1";
padding=0;
fontsize="11px";
fontstyle="normal";
fontweight="normal";
fontfamily="tahoma";
valign="bottom";
itemheight=20;
rawcss="padding-left:5px; padding-right:5px; padding-bottom:5px;";
}


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=175;
left=-1000;
alwaysvisible=1;
orientation="horizontal";


aI("text=Start;url=/page130.html;showmenu=menu130;offbgcolor=");



aI("text=Utst&#228;llningar;url=/page131.html;showmenu=menu131;offbgcolor=");



aI("text=Historik;url=/page150.html;showmenu=menu150;offbgcolor=");



aI("text=Service;url=/page147.html;showmenu=menu147;offbgcolor=");



aI("text=Laserhandb&#246;cker;url=/page144.html;showmenu=menu144;offbgcolor=");



aI("text=Uthyrning av laser;url=/page145.html;showmenu=menu145;offbgcolor=");



aI("text=Villkor;url=/page132.html;showmenu=menu132;offbgcolor=");



aI("text=Kontakt;url=/page165.html;showmenu=menu165;offbgcolor=");



aI("text=NYHETER;url=/page186.html;showmenu=menu186;offbgcolor=");

}


with(milonic=new menuname("menu165")){
style=subStyle;
left="offset=5";
top="offset=5";



aI("text=Kontaktformul&#228;r;url=/page133.html;showmenu=menu133");

}


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 + 210
	spos(gmobj("menu" + getMenuByName("Main Menu")),null,intLeftPos,null,null);
}

window.onload = setLeftPosOfTopMenu;
window.onresize = setLeftPosOfTopMenu;﻿


