	
// Browsercheck

var okBrowserNS = false;
var okBrowserIE = false;

	if ((navigator.appName == "Netscape") && parseFloat(navigator.appVersion) >= 3.0)
	{
		 okBrowserNS = true;
	}
	else if ((navigator.appName == "Microsoft Internet Explorer") && parseInt(navigator.appVersion) >= 4)
	{
		 okBrowserIE = true;
	}
// Rollover-funktioner
var clickedLink = "dsfhsdh";

function rollon (imgName) {
if (okBrowserNS == true || okBrowserIE == true)
document[imgName].src = eval(imgName + "_on.src");
return false;
}

function rolloff (imgName) {
if (okBrowserNS == true || okBrowserIE == true)
    document[imgName].src = eval(imgName + "_off.src");
}

// Preloada bilder -->
if (okBrowserNS == true || okBrowserIE == true) {
pic1_on = new Image(56,51);
pic1_on.src = "../gfx/menu_hem_on.gif";
pic1_off= new Image(56,51);
pic1_off.src = "../gfx/menu_hem.gif";

pic2_on = new Image(55,51);
pic2_on.src = "../gfx/menu_konsthantverk_on.gif";
pic2_off = new Image(55,51);
pic2_off.src = "../gfx/menu_konsthantverk.gif";

pic3_on = new Image(70,51);
pic3_on.src = "../gfx/menu_leksaker_on.gif";
pic3_off = new Image(70,51);
pic3_off.src = "../gfx/menu_leksaker.gif";

pic4_on = new Image(75,51);
pic4_on.src = "../gfx/menu_doppresenter_on.gif";
pic4_off = new Image(75,51);
pic4_off.src = "../gfx/menu_doppresenter.gif";

pic5_on = new Image(80,51);
pic5_on.src = "../gfx/menu_inredning_on.gif";
pic5_off = new Image(80,51);
pic5_off.src = "../gfx/menu_inredning.gif";

pic6_on = new Image(80,51);
pic6_on.src = "../gfx/menu_kontakt_on.gif";
pic6_off = new Image(80,51);
pic6_off.src = "../gfx/menu_kontakt.gif";
}

function fixUglyIE() {
for(a in document.links)
document.links[a].onfocus = document.links[a].blur;
}	

