Historic Scotland has launched an online database cataloguing 400 objects from dozens of historic sites in Scotland.

Artefacts, paintings and items spanning 2,000 years are available to view at the touch of a button.

The searchable online gallery includes the story of each item on display.

Image copyright Historic Scotland Image caption Among the items on display is a comb from the 1400s, thought to have been given as a love token. Historic Scotland's online gallery can be searched by theme, date, type, property where it is housed or by individual item from architecture and armour to sculptured stones and social history at collections.historic-scotland.gov.uk/simpleSearch.jsp

Image copyright Historic Scotland Image caption Part of the Stewart jewels, this ring was the final item bequeathed by Cardinal York. The ruby is engraved with the cross of St George and is surrounded by 26 diamonds. The online catalogue is the first time that many of the objects can be seen outside of their host properties.

Image copyright Historic Scotland Image caption The killing of a unicorn shown in this tapestry was commissioned by Historic Scotland for the Palace Apartments at Stirling Castle and based on originals housed in the Cloisters at the Metropolitan Museum of Art, New York. The online database also shows items that are not on general display.

Image copyright Historic Scotland Image caption Banking crises are not a 20th Century phenomenon. A 20 shilling bank note issued in 1833 by the Leith Banking Company whose headquarters were based in Bernard Street. The bank had debts of more than £100,000 when it folded in 1842. Richard Welander, head of collections, at Historic Scotland said: "This gallery will bring Scotland's history to people in their own homes. From the Stone of Destiny to cannonballs and medieval eel spears, Historic Scotland's online object collection is full of fascinating items, some of which are thousands of years old."

Image copyright Historic Scotland Image caption A Medieval urinal pot found in a drain at Melrose Abbey in the Borders. Historic Scotland is responsible for the care of more than 35,000 objects in its 60 properties across the country.