var clicked=""
var gtype=".gif"
var selstate="_over"
if (typeof(loc)=="undefined" || loc==""){
	var loc=""
	if (document.body&&document.body.innerHTML){
		var tt = document.body.innerHTML.toLowerCase();
		var last = tt.indexOf("pipe.js\"");
		if (last>0){
			var first = tt.lastIndexOf("\"", last);
			if (first>0 && first<last) loc = document.body.innerHTML.substr(first+1,last-first-1);
		}
	}
}

document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>");
document.write("<td><img src=\""+loc+"pipe_top.gif\" alt=\"\" width=\"164\" height=\"23\"></td>");
tr(false);
writeButton("","http://web.telia.com/~u95102355/snick.html","pipe_b1",164,25,"Start sida","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/grind.htm","pipe_b2",164,25,"Hund o Barngrind","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/hundkoja.htm","pipe_b3",164,25,"Hundkoja","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/fonster.htm","pipe_b4",164,25,"Fönster","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/Fonsterknekt.html","pipe_b5",164,25,"Fönsterknekt","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/varmkompost.html","pipe_b6",164,25,"Varmkompost","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/bordbank.html","pipe_b7",164,25,"Utemöbler","Ram2",0);
writeButton("","http://www.kroksjostranssnickeriprodukter.se/pallen99.html","pipe_b8",164,25,"Pallen Classic","Ram2",0);
writeButton("","http://www.kroksjostranssnickeriprodukter.se/tgrind11.html","pipe_b9",164,25,"Trädgårdsgrind","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/altanstolpe.html","pipe_b10",164,25,"Altanstolpar","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/Altanracken.html","pipe_b11",164,25,"Altanräcken","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/loda.html","pipe_b12",164,25,"Ved o Förvaringslåda","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/produkt.html","pipe_b13",164,25,"Möbler o inredning","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/luckor.htm","pipe_b14",164,25,"Köksluckor","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/garderob.html","pipe_b15",164,25,"Garderob","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/foretaget.htm","pipe_b16",164,25,"Specialsnickerier","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/skydd.html","pipe_b17",164,25,"Luftvärmepumpskydd","Ram2",0);
writeButton("","http://web.telia.com/~u95102355/kopvillkor.html","pipe_b18",164,25,"Köpvillkor","Ram2",0);
writeButton("","http://www.extrasida.se/home/se.php?go=gb&ident=9398363","pipe_b19",164,25,"Göstbok","Ram2",0);
tr(true);
document.write("<td><img src=\""+loc+"pipe_bottom.gif\" alt=\"\" width=\"164\" height=\"17\"></td>");
document.write("</tr></table>")
loc="";

function tr(b){if (b) document.write("<tr>");else document.write("</tr>");}

function turn_over(name) {
	if (document.images != null && clicked != name) {
		document[name].src = document[name+"_over"].src;
	}
}

function turn_off(name) {
	if (document.images != null && clicked != name) {
		document[name].src = document[name+"_off"].src;
	}
}

function reg(gname,name)
{
if (document.images)
	{
	document[name+"_off"] = new Image();
	document[name+"_off"].src = loc+gname+gtype;
	document[name+"_over"] = new Image();
	document[name+"_over"].src = loc+gname+"_over"+gtype;
	}
}

function evs(name){ return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""}

function writeButton(urld, url, name, w, h, alt, target, hsp)
{
	gname = name;
	while(typeof(document[name])!="undefined") name += "x";
	reg(gname, name);
	tr(true);
	document.write("<td>");
	if (alt != "") alt = " alt=\"" + alt + "\"";
	if (target != "") target = " target=\"" + target + "\"";
	if (w > 0) w = " width=\""+w+"\""; else w = "";
	if (h > 0) h = " height=\""+h+"\""; else h = "";	
	if (url != "") url = " href=\"" + urld + url + "\"";
	
	document.write("<a " + url + evs(name) + target + ">");	
	
	if (hsp == -1) hsp =" align=\"right\"";
	else if (hsp > 0) hsp = " hspace=\""+hsp+"\"";
	else hsp = "";
	
	document.write("<img src=\""+loc+gname+gtype+"\" name=\"" + name + "\"" + w + h + alt + hsp + " border=\"0\" /></a></td>");
	tr(false);
}
