    
/**
 * It displays more text on news list page.
 */
function news_show_more(p_id)
{
    // It displays the text
    if(document.getElementById('news_more_text_' + p_id))
        document.getElementById('news_more_text_' + p_id).style.display = "block";
    // and the "Fold  up" button
    //document.getElementById('news_more_button_hide_' + p_id).style.display = "inline";
    // ...and transforms the "Read more" button.
    if(document.getElementById('news_more_button_' + p_id))
        document.getElementById('news_more_button_' + p_id).innerHTML = document.getElementById('news_more_button_hide_' + p_id).innerHTML;
}

/**
 * It hides more text on news list page.
 */
function news_hide_more(p_id)
{
    // It hides the text
    document.getElementById('news_more_text_' + p_id).style.display = "none";
    // ...and transforms the "Read more" button.
    document.getElementById('news_more_button_' + p_id).innerHTML = document.getElementById('news_more_button_show_' + p_id).innerHTML;
}

/**
 * It changes the security image and "keep the without secfone button down".
 */
function security_without(image)
{    
    document.getElementById('art_img').style.backgroundImage='url(' + image + ')';    
    document.getElementById('security_without_button').className='without_down';
    // release the other button
    document.getElementById('security_with_button').className='';   
}

/**
 * It changes the security image and "keep the with secfone button down".
 */
function security_with(image)
{
    document.getElementById('art_img').style.backgroundImage='url(' + image + ')';
    document.getElementById('security_without_button').className='';
    // release the other button
    document.getElementById('security_with_button').className='with_down';   
}

