function trigger(){
	if (!document.all){
		window.document.captureEvents(Event.KEYDOWN);
	}
	window.document.onkeydown = writer;
}
