Talking to a professional and admitting that you have thoughts of suicide will not result in you being thrown in an institution.
What it will result in, is you receiving the treatment you need to deal with how you are feeling.
I know that the thought of talking to a professional and actually admitting to your suicidal thoughts is a daunting one but it is the first step forward.
Take care Hazel