function activateSamples()
{
    $$('.sample').each(function(element)
    {
        element.observe('mouseover', showSampleName);
    });
}

function showSampleName(e)
{
    $('samplename').update(Event.findElement(e, 'div').id);
}


document.observe('dom:loaded', activateSamples);
