/*
var bottom=''+
	'<br />Design by <a href="http://www.sacsoluciones.com.ar/" target="_blank">SAC Solutions</a>';

*/
var bottom=''+
	'<br />Soluciones Informaticas Integradoras';

$(document).ready(function(){
  
  $("#bottom").html(bottom);

  if ($("div#content").height() > $("div#pleft").height() && $("div#content").height() > $("div#pright").height()) {
        $("div#pleft").height($("div#content").height());
	$("div#pright").height($("div#content").height());
  }
 if ($("div#pleft").height() > $("div#content").height() && $("div#pleft").height() > $("div#pright").height()) {
        $("div#content").height($("div#pleft").height());
	$("div#pright").height($("div#pleft").height());
  }
 if ($("div#pright").height() > $("div#content").height() && $("div#pright").height() > $("div#pleft").height()) {
        $("div#pleft").height($("div#pright").height());
	$("div#content").height($("div#pright").height());
  }

  $(".image").hover(
   function() { $(this).fadeTo("normal",0.8); },
   function() { $(this).fadeTo("normal",1); }
   );

});



var filters = {
			nombre: function(el) {return ($(el).val() != '' && $(el).val() != -1);},
			empresa: function(el) {return ($(el).val() != '' && $(el).val() != -1);},
			consulta: function(el) {return ($(el).val() != '' && $(el).val() != -1);},
			email: function(el) {return /^[A-Za-z][A-Za-z0-9_]*@[A-Za-z0-9_]+\.[A-Za-z0-9_.]+[A-za-z]$/.test($(el).val());},
			telefono: function(el){return /^[0-9- ]*$/.test($(el).val());}
};
