//funzione di servizio per retro compatibilità
function getById(attr_id){
	return(document.all[attr_id])
}
if(document.all && !document.getElementById)
	document.getElementById = getById;

 function isFunction(a) {
    return typeof a == 'function';
 }
	
 function isObject(a) {
    return (typeof a == 'object' && !!a) || isFunction(a);
 }
	
function isArray(a){
	return isObject(a) && a.constructor == Array;
}
