function check_src(o) {
  if (!o) return;
  if (o.src.indexOf("p/previewPicture.jpg") > -1 ) {
  } else {
    if (o.width > 50) {
      o.border = 1;
      o.title = 'Preview by Thumbshots';
      o.style.filter = 'alpha(opacity=100)';
    } else {
      o.border = 0;
      o.src = "p/previewPicture.jpg";
      o.title = 'Preview not available';
      o.style.filter = 'alpha(opacity=50)';
    }
  }
}
function h(o) {
 o.style.filter = 'alpha(opacity=100);';
}
function d(o) {
 o.style.filter = 'alpha(opacity=50) gray;';
}

