// var str3 = sprintf("<a href='http://legacysurvey.org/viewer/?ra=%g&dec=%g&zoom=16&layer=ls-dr8&mark=%g,%g' target='_blank' title='View optical imaging for this object on the legacysurvey.org site'>ls-dr8</a>", ra, dec, ra, dec);
varstr3=sprintf("<a href='http://legacysurvey.org/viewer/?ra=%g&dec=%g&zoom=16&layer=ls-dr9&mark=%g,%g' target='_blank' title='View optical imaging for this object on the legacysurvey.org site'>ls-dr9</a>",ra,dec,ra,dec);
varstr4=sprintf("<a href='http://legacysurvey.org/viewer/?ra=%g&dec=%g&zoom=16&layer=unwise-neo6&mark=%g,%g' target='_blank' title='View unWISE imaging for this object on the legacysurvey.org site'>unWISE</a>",ra,dec,ra,dec);
str=str1.concat("",str2,"",str3,"",str4);
varstr5=sprintf("<a href='http://vizier.u-strasbg.fr/viz-bin/VizieR-5?-ref=VIZ60fed5911f70ac&-out.add=.&-source=I/350/gaiaedr3&-c=%g%20%g,eq=ICRS,rs=2&-out.orig=o' target='_blank' title='Search for nearest Gaia EDR3 catalogue entry to this location'>GaiaEDR3</a>",ra,dec);