var $= function (id) {  
return "string" == typeof id ? document.getElementById(id) : id;  
};  

相关文章: