function show_photo(img, w, h) {
    str = 'scrollbars=0,status=0,location=0,menubar=0,width=' + w.toString() + ',height=' + h.toString();
	window.open(img, 'foto', str);
}

