function blockError(){return true;} 
window.onerror = blockError; 

function ImagePopup(photoName, photoWidth, photoHeight) 
{ 
 if (window.photo && !(window.photo.closed)) 
  window.photo.close(); 
  var URL="";  // Change this when needed
  photo=window.open(URL + photoName, "PhotoWindow", "width=" + photoWidth + ",height=" + photoHeight + ",top=150" + ",left=150" + ",location=no,directories=no,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=yes,dependent=no"); 
} 
