var maxShopImgHeight = 200;
function checkImage(img) {
  if (img.height > maxShopImgHeight) {
    img.width = Math.round(img.width*maxShopImgHeight/img.height);
    img.height = maxShopImgHeight;
  }
}

function processDynamicLinksResponse(booksInfo) {
  for (id in booksInfo) {
    if (booksInfo[id] && ((booksInfo[id].preview == 'partial') || (booksInfo[id].preview == 'full'))) {
      document.getElementById('zenoSHPreviewLink').style.display = 'block';
    }
  }
}

function myOnLoad() {
/*
  if(parent != null && parent != self) {
    var host=parent.location.hostname;
    if(host != "www.zeno.org") {
      top.location.href=self.location.href;
    }
  }
*/
}




