If you are thinking about "trying your luck" with a work colleague, think twice – that moment of indiscretion may cost you your job.