code: function(relativePath,refAbsPath){
  
          if (!relativePath||relativePath.length===0) {
              return null;
          };
  
          var flags1 = refAbsPath.substr(0,refAbsPath.lastIndexOf('\\')).split('\\'),
              flags2 = relativePath.split('/');
  
          flags1 = flags1[0]===""?[]:flags1;
  
          // having the same parent path!
          if (flags2.length===1||flags2[0]!=='..') {
              return flags1.concat(flags2).join('\\');
          };
  
          while(flags2[0]==='..'){
              flags2.shift();
              flags1.pop();
          };
          return flags1.concat(flags2).join('\\');
      }
docs: regexImgTpl1 = /background:url\(([^)]*)\)?/gi, regexImgTpl2 = /background-image:url\(([^)]*)\)?/gi; 
  Convert a relative path to the absolute one referring to another absolute file path
  @param {String} relativePath e.g ../../xx.css
  @param {String} refAbsPath e.g e:\foo\bar\yy.css