rem: } 
add: eventLink(); 
context: function todayHilite(){	x = new Date ();	y = x.getDate ();	var td0 = getElementsByClassName(document, "table", "wp-calendar");	var spanID = document.getElementById(getCalendarDate());	var td1 = td0[0].getElementsByTagName('td');	var verify = getElementsByClassName(td0[0], "span", "monthvalue");				//month widget caption navigation					//if in day view (only), execute....		if (document.getElementById('frontend_view_selector').className == 'day'){			if(document.getElementById('day_nav') != null){			monthNav(); 			}			monthCaptionSwitch(td0[0]);			for(i=0;i<td1.length;i++){			monthWidget(td0[0],td1);			}						var eventLink = getElementsByClassName(document, "a", "url");			for(a=0; a<eventLink.length; a++){						eventLink[a].onclick = function(){									var linkURL = this.getAttribute("href", 2)+'?&format=hcalendar';								   new ajaxEngine(linkURL);								   return false;								   }			}								}			//indicate today		for(i=0;i<td1.length;i++){			//insert icon to indicate today				if(verify[0].id == getCalendarDate() && td1[i].className.indexOf('prev') < 0 && td1[i].className.indexOf('next') < 0){				if (document.getElementById('onselect') == null){					try{						if(td1[i].firstChild.nodeValue==y || td1[i].firstChild.childNodes[0].nodeValue==y){							td1[i].setAttribute("class","today");							if (todayFlag == 0){								td1[i].setAttribute("id","onselect");															}							var imageToday = document.createElement("div");							imageToday.setAttribute("id","today_image");							td1[i].appendChild(imageToday);							break;						}					}					catch(e){}					}				/*else{					try{						if(td1[i].firstChild.nodeValue==y || td1[i].firstChild.childNodes[0].nodeValue==y){							td1[i].setAttribute("class","today");							var imageToday = document.createElement("div");							imageToday.setAttribute("id","today_image");							td1[i].appendChild(imageToday);							break;						}					}					catch(e){}					}*/			}			/* else if(td1[i].className.indexOf('prev') < 0 && td1[i].className.indexOf('next') < 1){					if(document.getElementById('onselect') == null){						td1[i].setAttribute("id","onselect");						//ajaxEngine(td1[i].getAttribute("href", 2)+'?&format=hcalendar');						break;					}					else{						//document.getElementById('onselect').id = 'none';						//td1[i].setAttribute("id","onselect");						//ajaxEngine(td1[i].getAttribute("href", 2)+'?&format=hcalendar');						break;					}			}*/					}			}
meta: 6157	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6157/cea8d4d7d123bc3fbd712146312a0aefa0e4438e/frontend.js/clean/templates/default/frontend.js