function image_open(image_loc)
{
 var var_image = new Image();
 var_image.src = image_loc;
 /* width = var_image.width + 20;
 height = var_image.height +60;
 */
 width = 470;
 height = 580;
 str_style= "\" width="+width+",height="+height+"\"";
 str_imagesrc = "pic_viewer.asp?pic="+var_image.src
 window.open(str_imagesrc,"myImage",str_style);
 }