context: function apply_behavior(){		CLASS_MAP = build_class_map(document)	var arr = document.getElementsByTagName('*')	for(var v in arr)	{				if(CLASS_MAP[arr[v].className])		{			try			{				var clss = window[CLASS_MAP[arr[v].className]].prototype							}			catch(ex)			{				confirm('apply_behavior() - NO CLASS DEFINED: ' + CLASS_MAP[arr[v].className])				break			}			for(var j in clss)			{				arr[v][j] = clss[j]			}		}	}}
meta: 8196	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8196/2afaadd72606ea586362587f7d13d55fe0606017/common.js/buggy/php5/branches/trunk/shared/js/common.js