function onTest()
{
var library = shell.getLibrary("../theme/toolkit.box");
if (library)
{
var bitmap = library.getResourceById("myBmp");
if (bitmap)
{
// Change the source.
bitmap.src = "../content/images/img1.png";
}
}
}