I'm using this code for the left arrow (and a similiar code for right arrow), to go to the next page when pressed. The code works fine, without problems. Except I have a comment section which uses a text area. When typing in the textarea I'd like to turn this javascript off so the user can navigate left and right through the text area. Is their anyway to do this? I was thinking if focus on textarea make the key event do nothing. Would anything like that be possible?

<script type="text/javascript">
				if (e.keyCode == 39) { 
				   //alert( "left pressed" );
				   return false;
Thanks in advance