TMI PIC! What is this?!

I am just about 35 weeks and yesterday felt some cramping and lots of pressure. Went to the doctor and she said I was 50% effaced and 1 cm dilated and that I should take it easy. This morning I went to the bathroom and when I wiped I saw this. What is this? It's thick like snot or jelly. Yuck!