function openBig(pic, width, height) {
   if (!width) {
      width = 580;
   }
   
   if (!height) {
      height = 463;
   }

	window.open('viewpic.php?pic='+pic,'preview_pic','resizable=yes,scrollbars=yes,width='+width+',height='+height);
}	

