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("costos.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>");
tr(false);
writeButton(loc+"","costos.html","costos_b1",225,20,"Costos Directos","",0);
writeButton(loc+"","ap.html","costos_b2",225,20,"Actividades preliminares","",0);
writeButton(loc+"","ci.html","costos_b3",225,20,"Cimientos","",0);
writeButton(loc+"","dis.html","costos_b4",225,20,"Desagües e instalaciones subterraneas","",0);
writeButton(loc+"","m.html","costos_b5",225,20,"Mampostería","",0);
writeButton(loc+"","p.html","costos_b6",225,20,"Pañetes","",0);
writeButton(loc+"","ec.html","costos_b7",225,20,"Estructuras de concreto","",0);
writeButton(loc+"","cu.html","costos_b8",225,20,"Cubiertas","",0);
writeButton(loc+"","cr.html","costos_b9",225,20,"Cielo rasos","",0);
writeButton(loc+"","pb.html","costos_b10",225,20,"Pisos (bases)","",0);
writeButton(loc+"","pa.html","costos_b11",225,20,"Pisos (acabados)","",0);
writeButton(loc+"","ep.html","costos_b12",225,20,"Enchapes y pisos","",0);
writeButton(loc+"","ea.html","costos_b13",225,20,"Enchapes y accesorios","",0);
writeButton(loc+"","isl.html","costos_b14",225,20,"Instaciones sanitarias y latonería","",0);
writeButton(loc+"","ie.html","costos_b15",225,20,"Instalaciones eléctricas","",0);
writeButton(loc+"","cm.html","costos_b16",225,20,"Carpintería de madera","",0);
writeButton(loc+"","cme.html","costos_b17",225,20,"Carpintería métalica","",0);
writeButton(loc+"","pi.html","costos_b18",225,20,"Pintura","",0);
writeButton(loc+"","sac.html","costos_b19",225,20,"Subcontratos acabados","",0);
writeButton(loc+"","oe.html","costos_b20",225,20,"Obras exteriores","",0);
writeButton(loc+"","sa.html","costos_b21",225,20,"Salidas alumbrado","",0);
writeButton(loc+"","ll.html","costos_b22",225,20,"Luminarias y lamparas","",0);
writeButton(loc+"","si.html","costos_b23",225,20,"Salidas interruptores","",0);
writeButton(loc+"","ia.html","costos_b24",225,20,"Interruptores alumbrado","",0);
writeButton(loc+"","ste.html","costos_b25",225,20,"Salidas tomas eléctricas","",0);
writeButton(loc+"","te.html","costos_b26",225,20,"Tomas eléctricas","",0);
writeButton(loc+"","se.html","costos_b27",225,20,"Salidas especiales","",0);
writeButton(loc+"","tc.html","costos_b28",225,20,"Tableros de circuitos","",0);
writeButton(loc+"","iau.html","costos_b29",225,20,"Interruptores automaticos","",0);
writeButton(loc+"","ae.html","costos_b30",225,20,"Acometidas eléctricas","",0);
writeButton(loc+"","sat.html","costos_b31",225,20,"Subestaciones, armarios y tierras","",0);
writeButton(loc+"","cce.html","costos_b32",225,20,"Canalización y cámaras eléctricas","",0);
writeButton(loc+"","rmt.html","costos_b33",225,20,"Red de media tensión","",0);
writeButton(loc+"","rbt.html","costos_b34",225,20,"Red de baja tensión","",0);
writeButton(loc+"","stv.html","costos_b35",225,20,"Sistama televisión","",0);
writeButton(loc+"","st.html","costos_b36",225,20,"Sistema teléfonos","",0);
writeButton(loc+"","sc.html","costos_b37",225,20,"Sistama citófonos","",0);
writeButton(loc+"","cct.html","costos_b38",225,20,"Canalización y cámaras teléfonos","",0);
writeButton(loc+"","t.html","costos_b39",225,20,"Transformadores","",0);
writeButton(loc+"","pl.html","costos_b40",225,20,"Postes y luminarias","",0);
writeButton(loc+"","rmte.html","costos_b41",225,20,"Redes media tensión / estructuras","",0);
writeButton(loc+"","rate.html","costos_b42",225,20,"Redes alta tensión / estructuras","",0);
writeButton(loc+"","mc.html","costos_b43",225,20,"Morteros y concretos","",0);
writeButton(loc+"","mp.html","costos_b44",225,20,"Muros y pañetes","",0);
writeButton(loc+"","b.html","costos_b45",225,20,"Baños","",0);
writeButton(loc+"","al.html","costos_b46",225,20,"Alcantarillado","",0);
writeButton(loc+"","as.html","costos_b47",225,20,"Aparatos sanitarios","",0);
writeButton(loc+"","ee.html","costos_b48",225,20,"Excavaciones especiales","",0);
writeButton(loc+"","op.html","costos_b49",225,20,"Obras de protección","",0);
writeButton(loc+"","pu.html","costos_b50",225,20,"Puentes","",0);
writeButton(loc+"","v.html","costos_b51",225,20,"Vías","",0);
writeButton(loc+"","vi.html","costos_b52",225,20,"Vidrios","",0);
writeButton(loc+"","ce.html","costos_b53",225,20,"Cerramiento","",0);
writeButton(loc+"","c.html","costos_b54",225,20,"Cerrajería","",0);
writeButton(loc+"","a.html","costos_b55",225,20,"Acueducto","",0);
tr(true);
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);
}
