/* JavaScript ©Seitosei CORE Document 
 *
 * © Cameleo
 */

function $() {

		var tabId = [];
		var args = arguments.length;
		for(var i=0; i<args; i++) 
			tabId.push(document.getElementById(arguments[i]));
		
		/* Association String
		for(var i=0; i<arguments.length; i++) 
			tabId[arguments[i]] = document.getElementById(arguments[i]); */
		
		if (args == 1) {
			return tabId[0];
		}
		else return tabId;
}

function addListener(el, evType, funct, capture) { /* Compatibilité MSIE */

	el.addEventListener ? 
		el.addEventListener(evType, funct, capture):
			el.attachEvent ? el.attachEvent("on" + evType, funct):
			el["on" + evType] = funct;

}