function addEvent(obj, event, fct) { if (obj.attachEvent)  { obj.attachEvent("on" + event, fct);  } else { obj.addEventListener(event, fct, true); } }

function onSameHeight(cols) {
	toString (cols); cols=cols.replace(/\ /g, '');
	var colsNb=cols.split(','); var colsList=new Array();
	for(i=0;i<colsNb.length;){
		document.getElementById(colsNb[i]).style.height='auto';
		colsList.push(document.getElementById(colsNb[i]).clientHeight);i++;}
		colsList.sort(function(n1,n2){return n2-n1;});var colsSize=colsList[0];
		for(i=0;i<colsNb.length;){document.getElementById(colsNb[i]).style.height=colsSize+'px';i++;
	}
}