  var imgName = "/templates/dp-extended/images/apps/loading.gif"
  var imgWidth = 128;
  var imgHeight = 15;
  var fadeInSpeed = 25;
  var safari = (navigator.userAgent.indexOf('Safari') != -1) ? true : false;

  if((document.all || document.getElementById) && !safari) {
    document.write('<style> .clsImage { ' +
                   'position: absolute; top: 50%; left: 50%; ' +
                   'width: ' + imgWidth + 'px; ' +
                   'height: ' + imgHeight + 'px; ' +
                   'margin-top: -' + Math.round(imgHeight / 2) + 'px; ' +
                   'margin-left: -' + Math.round(imgWidth / 2) + 'px; ' +
                   'z-index: 69; ' +
                   '} </style> ' +
                   '<div id="divImage" class="clsImage">' +
                   '<img src="' + imgName + '" width="' + imgWidth + '" height="' + imgHeight + '">' +
                   '</div>' +
                   '<div id="Content" style="width:100%; visibility:hidden">');
  }