As @slipstick says 13 is never going to equal LOW. Maybe you meant to write;
if(digitalRead(13)==LOW)
You should post your code within the </> tags.
Also smatter print statements through your code so that you can see where the program flow is going and why. That way you would probably have spotted your the error yourself. Quite often even if you think your program is working correctly having a few print statments in there will show you strange things going on.
Please read the first post in any forum entitled how to use this forum. http://forum.arduino.cc/index.php/topic,148850.0.html .
Then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?