

function linkConrnerImage(current)
{
  pnode = current.parentNode;
  otherNodes = pnode.getElementsByTagName("div");
  linkTag = otherNodes[0].getElementsByTagName("a");
  window.location.href = linkTag[0];
}

function linkConrnerImageTwo(current)
{
  pnode = current.parentNode;
  otherNodes = pnode.getElementsByTagName("div");
  linkTag = otherNodes[1].getElementsByTagName("a");
  window.location.href = linkTag[0];
}
