anchor.diff:          }
       };
   
  -    /*if () {
  -     $.ajax({
  -     type: "get",
  -     url: "/catalog/item/" + data['source_p'],
  -     data: {},
  -     success: function (data) {
  -
  -     load_p1(data, data['source_p']);
  -
  -     return false
  -     },
  -     error: function (data) {
  -     return false
  -     }
  -     });
  -     }*/
  -
       var size_x = 0;
       var size_y = 0;
   
       function load_p1(data, pr) {
  +        //Array of customs for that product initialize
           render_custom = [];
           source_p = pr;
           product_id_e = pr;
  +
           if (data['product_id_e']) {
               product_id_e = data['product_id_e'];
           }
  +
           image_id_e = data['image_id'];
           width = data['width_u'];
           height = data['height_u'];
  
positive.code: <body>
  
  <script>
      var selected_size = null;
      var available_sizes = [];
      var render_custom = [];
      var variation_img = false;
  
      var source_p = '';
      var product_id_e = '';
      var image_id_e = '';
  
negative.code:     var user_online = '';
      var position_id = 0;
  
      //Customization variables
      var elementsBorders = [];
      var elements = [];
      var selected = null;
      var layer;
  
      //Mid-end custom variables
      var product_id_u = document.getElementById('product_id');
      var image_id_u = document.getElementById('image_id');
      var x_u = document.getElementById('x_u');
  