rem: if(node.attributes.item(j).nodeName == 'class') { 
add: if(node.attributes.item(j).nodeName.toLowerCase() == 'class') { 
context: function set_style_by_class(t,c,p,v){	//alert('set_style_by_class('+t+','+c+','+p+','+v+')');	var elements;	if(t == '*') {		// '*' not supported by IE/Win 5.5 and below		elements = (document.all) ? document.all : document.getElementsByTagName('*');	} else {		elements = document.getElementsByTagName(t);	}	for(var i = 0; i < elements.length; i++){		var node = elements.item(i);		for(var j = 0; j < node.attributes.length; j++) {			if(node.attributes.item(j).nodeName == 'class') {				if(node.attributes.item(j).nodeValue == c) {					eval('node.style.' + p + " = '" +v + "'");				}			}		}	}}
meta: 5631	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5631/45c31edb92ffdc43a4b29465e00771710e0659cd/etemplate.js/buggy/js/etemplate.js