function resaltar(boton) {
 document.getElementById("quienessomos").style.backgroundPosition = "0px -28px";
 document.getElementById("servicios").style.backgroundPosition = "0px -28px";
 document.getElementById("proyectos").style.backgroundPosition = "0px -28px";
 document.getElementById("contactenos").style.backgroundPosition = "0px -28px";
 boton.style.backgroundPosition = "top";
}

function resaltar2(itemMenu) {
 document.getElementById("itemActual").style.background = "url(../imagenes/vineta2.png) 10px 10px no-repeat";
 //document.getElementById("itemActual").style.borderTop = "1px transparent solid";
 //document.getElementById("itemActual").style.borderBottom = "1px transparent solid";
 document.getElementById("itemActual").style.color = "#777777";
 itemMenu.style.background = "url(../imagenes/fondoItemMenu.png) no-repeat";
 //itemMenu.style.borderTop = "1px #999999 dashed";
 //itemMenu.style.borderBottom = "1px #999999 dashed";
 itemMenu.style.color = "#990000";
}

function cambiarFondo(campoActual) {
 document.getElementById("N5o4M3b2R1e").style.background = '#FFFFFF';
 document.getElementById("N5o4M3b2R1e").style.border = '1px solid #BBBBBB';
 document.getElementById("E6m5P4r3E2s1A").style.background = '#FFFFFF';
 document.getElementById("E6m5P4r3E2s1A").style.border = '1px solid #BBBBBB';
 document.getElementById("T7e6L5e4F3o2N1o").style.background = '#FFFFFF';
 document.getElementById("T7e6L5e4F3o2N1o").style.border = '1px solid #BBBBBB';
 document.getElementById("D8i7R6e5C4c3I2o1N").style.background = '#FFFFFF';
 document.getElementById("D8i7R6e5C4c3I2o1N").style.border = '1px solid #BBBBBB';
 document.getElementById("C6o5R4r3E2o1E0l9E8c7T6r5O4n3I2c1O").style.background = '#FFFFFF';
 document.getElementById("C6o5R4r3E2o1E0l9E8c7T6r5O4n3I2c1O").style.border = '1px solid #BBBBBB';
 document.getElementById("C9o8M7e6N5t4A3r2I1o").style.background = '#FFFFFF';
 document.getElementById("C9o8M7e6N5t4A3r2I1o").style.border = '1px solid #BBBBBB';
 campoActual.style.background = '#FCFAF4';
}

function ajustesFormulario() {
 if (navigator.userAgent.match("Firefox")) {
  document.getElementById("N5o4M3b2R1e").style.padding = "4px 0px 0px 3px";
  document.getElementById("E6m5P4r3E2s1A").style.padding = "4px 0px 0px 3px";
  document.getElementById("T7e6L5e4F3o2N1o").style.padding = "4px 0px 0px 3px";
  document.getElementById("C6o5R4r3E2o1E0l9E8c7T6r5O4n3I2c1O").style.padding = "4px 0px 0px 3px";
 }

 if (navigator.userAgent.match("MSIE")) {
  document.getElementById("D8i7R6e5C4c3I2o1N").style.height = "85px";
 }

 if (navigator.userAgent.match("Opera")) {
  document.getElementById("D8i7R6e5C4c3I2o1N").style.height = "82px";
 }
}

function deshabilitarSeleccion(target) {
 if (typeof target.onselectstart != "undefined") {
  target.onselectstart = function(){return false;}
 }
 else {
  if (typeof target.style.MozUserSelect != "undefined") {
   target.style.MozUserSelect = "none";
  }
  else {
   target.onmousedown = function(){return false;}
  }
 }
}

function enlaces() {
 document.getElementById("link1").target = "_blank";
 document.getElementById("link2").target = "_blank";
 document.getElementById("link3").target = "_blank";
 document.getElementById("link4").target = "_blank";
 document.getElementById("link5").target = "_blank";
}

function enlaceAlphaIT() {
 //document.getElementById("linkAlphaIT").target = "_blank";	
}
