//Galeria (swap image)
function showPic (whichpic) {
 if (document.getElementById) {
  document.getElementById('placeholder').src = "php/timthumb.php?src=" + whichpic.href + "&w=216&h=320";
  galleryBigPhoto = whichpic.href;
  if (whichpic.title) {
   document.getElementById('desc')
  .childNodes[0].nodeValue = whichpic.title;
  } else {
   document.getElementById('desc')
  .childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
  }
  return false;
 } else {
  return true;
 }
}

//Galeria (swap image)
function showPicFacebook (whichpic) {
 if (document.getElementById) {
  document.getElementById('placeholder').src = "php/timthumb.php?src=" + whichpic.href + "&w=216&h=320";
   document.getElementById('bigFacebookImage').href = whichpic.rel;
  if (whichpic.title) {
   document.getElementById('desc')
  .childNodes[0].nodeValue = whichpic.title;
  } else {
   document.getElementById('desc')
  .childNodes[0].nodeValue = whichpic.childNodes[0].nodeValue;
  }
  return false;
 } else {
  return true;
 }
}
