function $() { var elements = new Array(); for (var i=0,len=arguments.length;i