rem: var nav_prev1 = document.getElementById('day_nav'); var linkprev = nav_prev1.getElementsByTagName('a')[0].getAttribute("href", 2)+'?&format=hcalendar'; var linknext = nav_prev1.getElementsByTagName('a')[1].getAttribute("href", 2)+'?&format=hcalendar';  var keycode; if (window.event) keycode = window.event.keyCode; else if (e) keycode = e.which; if(keycode == 39){ nav_prev1.getElementsByTagName('a')[1].id = 'ac'; new ajaxEngine(linknext); var td0 = getElementsByClassName(document, "table", "wp-calendar"); var td1 = td0[0].getElementsByTagName('td'); for(i=0;i<td1.length;i++){ if(td1[i].getAttribute("id") == 'onselect'){ td1[i].id = 'none'; td1[i+1].id = 'onselect'; if(document.getElementById('onselect').className.indexOf('next') > 0){ var val_month = document.getElementById('next_month').getAttribute("href", 2)+'?&monthwidget&format=hcalendar'; new ajaxMonthEngine(val_month); 
add: try { var nav_prev1 = document.getElementById('day_nav'); var linkprev = nav_prev1.getElementsByTagName('a')[0].getAttribute("href", 2)+'?&format=hcalendar'; var linknext = nav_prev1.getElementsByTagName('a')[1].getAttribute("href", 2)+'?&format=hcalendar';  var keycode; if (window.event) keycode = window.event.keyCode; else if (e) keycode = e.which; if (keycode == 39) { nav_prev1.getElementsByTagName('a')[1].id = 'ac'; new ajaxEngine(linknext); var td0 = getElementsByClassName(document, "table", "wp-calendar"); var td1 = td0[0].getElementsByTagName('td'); for (i=0;i<td1.length;i++){ if (td1[i].getAttribute("id") == 'onselect') { td1[i].id = 'none'; td1[i+1].id = 'onselect'; if(document.getElementById('onselect').className.indexOf('next') > 0){ var val_month = document.getElementById('next_month').getAttribute("href", 2)+'?&monthwidget&format=hcalendar'; new ajaxMonthEngine(val_month); } break; } 
context: function checkKeyNav(e) {var nav_prev1 = document.getElementById('day_nav');var linkprev = nav_prev1.getElementsByTagName('a')[0].getAttribute("href", 2)+'?&format=hcalendar';var linknext = nav_prev1.getElementsByTagName('a')[1].getAttribute("href", 2)+'?&format=hcalendar';var keycode;if (window.event) keycode = window.event.keyCode;else if (e) keycode = e.which;	if(keycode == 39){	nav_prev1.getElementsByTagName('a')[1].id = 'ac';	new ajaxEngine(linknext);	var td0 = getElementsByClassName(document, "table", "wp-calendar");	var td1 = td0[0].getElementsByTagName('td');	for(i=0;i<td1.length;i++){			if(td1[i].getAttribute("id") == 'onselect'){						td1[i].id = 'none';			td1[i+1].id = 'onselect';			if(document.getElementById('onselect').className.indexOf('next') > 0){				var val_month = document.getElementById('next_month').getAttribute("href", 2)+'?&monthwidget&format=hcalendar';				new ajaxMonthEngine(val_month);			}			break;		}			}	return false;	}		else if(keycode == 37){	nav_prev1.getElementsByTagName('a')[0].id = 'dc';	new ajaxEngine(linkprev);	var td0 = getElementsByClassName(document, "table", "wp-calendar");	var td1 = td0[0].getElementsByTagName('td');	for(i=0;i<td1.length;i++){		if(td1[i].getAttribute("id") == 'onselect'){			td1[i].id = 'none';			td1[i-1].id = 'onselect';			if(document.getElementById('onselect').className.indexOf('prev') > 0 || i == 1){				var val_month = document.getElementById('prev_month').getAttribute("href", 2)+'?&monthwidget&format=hcalendar';				new ajaxMonthEngine(val_month);							}			}		}	return false;	}}
meta: 7217	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7217/cb9323f99eec4944c26ccf2a0c0970c8a50a63b9/frontend.js/clean/templates/default/frontend.js