function show_img(img,width,height,adm)
{
   var a
   var b
   var url
   vidWindowWidth=width;
   vidWindowHeight=height;
   a=(screen.height-vidWindowHeight)/5;
   b=(screen.width-vidWindowWidth)/2;
   features="top="+a+",left="+b+",width="+vidWindowWidth+",height="+vidWindowHeight/1.035+",toolbar=no,menubar=no,location=no,directories=no,scrollbars=no,resizable=no";
   url="show.php?img="+img;
   if (adm=='true') url = "../"+url;
   window.open(url,'',features,true);
}
