function show_portfolio_screen( td_object, screen_index )
{
    var picture = document.getElementById( 'PortfolioPreviewScreenshot' );
    
    switch( screen_index )
    {
        default:
        case 0:
        {
            picture.className = 'screenshot_default';
            td_object.className = 'screenshot_cursor_default';
            break;
        }

        case 1:
        {
            picture.className = 'screenshot_first';
            td_object.className = 'screenshot_cursor_pointer';
            break;
        }

        case 2:
        {
            picture.className = 'screenshot_second';
            td_object.className = 'screenshot_cursor_pointer';
            break;
        }
    }
    
    return true;
}

function show_index_highlight( item_id, status )
{
    var picture = document.getElementById( 'IndexPreview_' + item_id );

    picture.className = status == 'on' ? 'active' : 'unactive';
    
    return true;
}

function show_portfolio_listitem( portfolio_item_id, status )
{
    var picture = document.getElementById( 'PortfolioItem_' + portfolio_item_id );

    picture.className = status == 'on' ? 'active' : 'unactive';
    
    return true;
}

function show_client_listitem( client_id, status )
{
    var picture = document.getElementById( 'ClientLogo_' + client_id );
    
    picture.className = status == 'on' ? 'active' : 'unactive';
    
    return true;
}

function submit_form( form_obj, submit_url )
{
    form_obj.action = submit_url;
    return false;
}