sS screenshotLin2(S imgID, S progID) { ret screenshotLink(progID, imgID); } sS screenshotLink(S progID, S imgID) { ret ahref(snippetLink(imgID), himgw(snippetImgLink(imgID), 200)) + " " + ahref(snippetLink(progID), "(src)"); } static S bigScreenshot(S imgID, S progID) { ret bigScreenshot(imgID, progID, ""); } static S bigScreenshot(S imgID, S progID, S title) { if (empty(title)) title = getSnippetTitle(imgID); ret h2(htmlencode("= " + title + " =")) + bigScreenshot_noTitle(imgID, progID); } static S bigScreenshot_noTitle(S imgID, S progID) { ret p(ahref(snippetLink(progID), himg(snippetImgLink(imgID))) + "
" + ahref(snippetLink(progID), "(src)")); }