if (typeof(awp_changeontime)=="undefined"){
awp_changeontime=function(){
 this.set=function(eventName,fname,clickFunction)
 {
	this.addEvent(eventName,fname,clickFunction);
 }
 this.addEvent=function(eventName,fname,clickFunction)
 {
	var tempe1=document.getElementsByName(fname);
	for (var tempi=0;tempi <tempe1.length;tempi++)
	{
		var tempe3=tempe1[tempi];
		var temp_func1="";
		if (tempe3.getAttribute(eventName)!=null){temp_func1 += tempe3.getAttributeNode(eventName).value;}	
		if (clickFunction!="" && clickFunction !=null){temp_func1 += clickFunction + "('" + fname + "');";}
		if (window.attachEvent){tempe3.attachEvent(eventName,new Function(temp_func1));}
		var tempA1=document.createAttribute(eventName);
		tempA1.nodeValue=temp_func1;
		tempe3.setAttributeNode(tempA1);
	}
 }
}//awp_changeontime
}//typeof