//from http://javascript.about.com/library/bladdslash.htm
function stripslashes(str) {
str=str.replace(/\\'/g,'\'');
str=str.replace(/\\"/g,'"');
str=str.replace(/\\\\/g,'\\');
str=str.replace(/\\0/g,'\0');
return str;
}

function showLine(l)
{
	if(note[l])
		$('noteline').innerHTML = stripslashes(note[l]);
	else
		$('noteline').innerHTML = '...';
		
	l++;
	if(l >= note.length)
		$('noteline').innerHTML = $('noteline').innerHTML + '<br /><br /><a href=\"javascript:showLine(0); void(0);\">start over</a>';				
	else
		$('noteline').innerHTML = $('noteline').innerHTML + '<br /><br /><a href=\"javascript:showLine(' + l + '); void(0);\">continue &raquo;</a>';			
		
	return true;
}