eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('4 r(3,6){5.7("e"+3).f.d=\'p\';5.7("e"+3).b=6}4 t(3,6){5.7("e"+3).b=6;5.7("e"+3).f.d=\'o\'}4 u(3,6){5.7("g"+3).f.d=\'p\';5.7("g"+3).b=6}4 v(3,6){5.7("g"+3).b=6;5.7("g"+3).f.d=\'o\'}4 y(){h(x=0;x<=l.8-1;x++){m=D(l[x]);k(m.F==""){a l[x]}}a w}4 B(s){c i=0;c j=0;h(i=0;i<=s.8-1;i++)k(s.9(i,i+1)!=\' \'){j=i;n}a s.9(j,s.8)}4 C(s){c j=0;h(c i=s.8-1;i>-1;i--)k(s.9(i,i+1)!=\' \'){j=i;n}a s.9(0,j+1)}4 z(2){q(2.9(0,1)==\' \'){2=2.9(1,2.8)}q(2.9(2.8-1,2.8)==\' \'){2=2.9(0,2.8-1)}a 2}4 A(s){a s.E()}',42,42,'||sString|id|function|document|color|getElementById|length|substring|return|bgColor|var|cursor|tr_|style|tr_s|for|||if|inputReq|input|break|default|hand|while|tr_over||tr_out|tr_over_sub|tr_out_sub|true||vRequeridos|Trim|UCase|LTrim|RTrim|eval|toUpperCase|value'.split('|'),0,{}))

function Crear_combo(nombre,datos,seleccionado,estilo,accion){
	seleccionado = typeof(seleccionado) != 'undefined' ? seleccionado : "";
  	estilo = typeof(estilo) != 'undefined' ? estilo : "";
  	accion = typeof(accion) != 'undefined' ? accion : "";
  	
	str_cmb = '<select name="' + nombre + '" id="' + nombre + '"  class="' + estilo + '"  ' + accion + '>';
	for(i = 0; i < datos.length; i++){
	  str_cmb = str_cmb + '<option value="' + datos[i].id_rubros + '"';
	  
	  if (datos[i].id_rubros == seleccionado){
	  	str_cmb = str_cmb + ' selected ';
	  }
	  str_cmb = str_cmb + '>' + datos[i].nombre + '</option>';
	}
	str_cmb = str_cmb + '</select>';
	return str_cmb;
}
// @TODO comprimir esto
