Simple inheritance with JavaScript
blogs.msdn.com