function openImg(id, width, height, alt) {
	q = window.open("/preview/?id=" + id + "&alt=" + alt, "w", "width=" + (width+4) + ", height=" + (height+4));
	q.focus();
	return void(0);
}		
function openWin(theURL,winName,other) {
  win = window.open(theURL,winName,other);
  win.focus();
}
function openImgPath(imgUrl,alt) {
  win = window.open('preview/?src=' + imgUrl + '&alt=' + alt,'w','width=602,height=602');
  win.focus();
}

