function popUp(object,w, h)
{
    object = $(object);
    
    var children = object.descendants();
    
    
    children.each(function(e)
        {
            if( e.title != "")
            {
                e.src = e.title;
                e.title = "";
            }
            
        });
    /* 
    var img = object.down('img');
    
    if (img.title != "")
    {
        img.src = img.title;
        img.title = "";   
    } */
    
    showPop(object, w, h);
}


Event.observe(window, 'load',
    function() {  $$('.smallbox .imagebox img').each(function (e) { e.style.cursor = 'pointer'; })});

