Jon Resig's class (Simple JavaScript Inheritance)