anchor.diff:  			$(".barcodeParamZone").hide();
   			$("h1, h2, h3, h4, nav, ul, li").hide();
   			// Creates divs
  -	 		for ( var v = value; v <= value2; v++ ) {
  +			if(parseInt(value) >= parseInt(value2)) {
  +				tmp = value2;
  +				value2 = value;
  +				value = tmp;
  +			}
  +	 		for ( var v = parseInt(value); v <= parseInt(value2); v++ ) {
   	 			$("#barcodeTarget").append("<div id='code-"+ v +"' class='gen'>"+ v +"</div>");
   	 			//$("#barcodeTarget").append("<div class='title'>"+ barcodetitle +"</div>");
   	 			$("#code-" + v ).barcode( "" + radical + v, btype, settings);
  
positive.code: 		  <div class="col-md-6">
  		    <form method="get">
  
  <!-- 		      <div class="input-group input-group-ld">
  		        <span class="input-group-addon" id="codefradical">
  		        	<%= _t 'Barcode title' %> : 
  		        </span>
  		        <input type="text" class="form-control" id="barcodeValueTitle" name="barcodeValueTitle" placeholder="<%=_t "Title used on every barcode" %>" aria-describedby="barcodeValueTitle" value="<%= @title %>">
  		      </div>
   -->
  		      <div class="input-group input-group-ld">
  		        <span class="input-group-addon" id="codefradical">
  		        	<%= _t 'Radical' %> : 
  
negative.code: 	$("#canvasTarget").hide();
  	$("#barcodeTarget").html("").show();
      // Verify if values are numbers, verify settings
   	if ( //checkOrder(value, value2) &&
   		 checkTypeValidity(radical, btype)
   	   ) {
  			// $("#errorTitle").html("<%= _t 'Barcodes' %> <%= _t 'From' %> "  + value +  " <%= _t 'To' %> " + value2);
  			$('#printButton').show();
  