A man who sent obscene messages over Facebook to a woman he spotted in a hospital waiting room has been placed on the sex offenders register.
Diego Moreno, 43, saw the woman while he was waiting in the Forth Valley Royal Hospital in Larbert, Stirlingshire, to see a doctor about a knee injury.
After his appointment he tracked the woman down on Facebook through a post she had put up while she was waiting in the hospital.
He told that he liked her T-shirt and her nipples and made a lewd inquiry about her private parts.
On Thursday, Moreno, 43, was sentenced to 120 hours of unpaid work and placed on the sex offenders register for six months.
Sheriff Craig Caldwell said he had misused the internet to send his victim "disgusting and frightening" unsolicited messages.
Mark Keane, prosecuting, told Falkirk Sheriff Court that the incident happened on May 2 last year.
The depute fiscal said: "The woman was at Larbert Hospital for an appointment. At the time she updated her Facebook status to say she was at the clinic. The accused was also there for an appointment on an injured knee.
"About four hours later, the woman engaged in a conversation with a friend about Facebook and checked her public comments and saw a message from an unknown user, Diego Moreno.
"The comment said 'I've just seen you in Larbert Hospital. Nice Yellow T-shirt. But your nippels (sic) are unreal. Next time let's see under your skirt."
Moreno then made a comment about wanting to see her private parts.
Mr Keane told the court: "Approximately 30 minutes later the comment was removed. The complainer was alarmed by the comment as she had never met the accused or recalled seeing him at the hospital that day.
"Police officers attended her address and took a statement from her. The accused was located, and cautioned and interviewed."
In the interview with the police Moreno admitted sending the message, but said that he was just being "silly."
Mr Keane said: "He admitted putting the comment on Facebook. He said he didn't have a reason for doing so, he was just being silly."
Moreno, from Falkirk, pleaded guilty to sending the "obscene, indecent and grossly offensive" message from his former residence in May.
Defence agent Murray Aitkin said that the incident had put a strain on Moreno's relationship with his wife.
He said: "Normally he is a hard working family man. His wife continues to support him and he has been able to patch things up with her. She doesn't condone his behaviour but sees it is not something he would usually do. He is apologetic for the distress he caused to this lady."
Sheriff Caldwell said the offence "wasn't just silly but deeply concerning and deeply frightening".
The sheriff said: "It's disgusting using this sort of media to send this type of message. This is an increasingly common type of offence.
"It's easy to sit with a mobile phone or computer and contact people using social media and make offensive sexual remarks. You should understand that it is a criminal offence to use them to convey messages such as this.
"In your case this is a very offensive communication and very concerning for the young lady who received this message."