function popup(file,width,height) { 
	var _loc = file;
	var _name= "detail";
	var _features="width="+width+",height="+height+",scrollbars=yes";
	var _replace=false;

	var ScreenWidth = screen.width;
	var xpos = (ScreenWidth/2)-(730/2);

	detail=window.open("",_name,_features,_replace);

	detail.focus();
        window.detail.resizeTo(width+25,height+50);
	window.detail.moveTo(xpos-4,50);
    var frameString=""+
"<html>"+
"<head>"+
"<title>Glenwood Mason Supply Project</title>"+
"</head>"+

"<body topmargin='0' leftmargin='0'><img src='"+_loc+"'>"
    detail.document.open();
    detail.document.write(frameString)
    detail.document.close()

	}




