var e;
var r;

function enlarge( img, enlargeTo )
{
    clearTimeout( r );
    
    var sze = document.getElementById( img ).width;
    if( sze < enlargeTo )
    {
        document.getElementById( img ).width += 10;
        e = setTimeout( 'enlarge( \'' + img + '\', ' + enlargeTo + ' )', 30 );
    }
}

function returnSize( img, returnTo )
{
    clearTimeout( e );
    
    var sze = document.getElementById( img ).width;
    if( sze > returnTo )
    {
        document.getElementById( img ).width -= 10;
        r = setTimeout( 'returnSize( \'' + img + '\', ' + returnTo + ' )', 30 );
    }
}
