独自のオブジェクトを作成するには
		
			<html>
			<head>
			<title>Sample</title>
			</head>
			<body>
			<script type="text/javascript"><!--
			function myComputer()
			{
			 this.CPU = "Power PC";
			 this.Clock = "2.5GHz";
			 this.Memory = "8GB";
			}
			myObj = new myComputer();
			document.write(myObj.CPU+"<br>");
			document.write(myObj.Clock+"<br>");
			document.write(myObj.Memory+"<br>");
			// --></script>
			</body>
			</html>
		
		
		
			
 説明などは本書を参考にしてください。