<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Prototype 3</title>
<meta http-equiv="Content-Type" content="text/xml; charset=utf-8" />
<style type="text/css" media="screen">

</style>
<script type="text/javascript" src="js/prototype.js"></script>

<script type="text/javascript">
<![CDATA[

var gabriele = {
	job: "web developer",
	birth: "07/20/1978",
	details: {
		eyes: "blue"
	},
	getAge: function () {return this.birth;}
};

Object.extend (
	gabriele.details,
	{
		keywords: ["crazy", "sensitive", "romantic"]
	}
);




window.onload = function () {

	var body = document.getElementsByTagName("body")[0];
	var p = document.createElement("p");
	var textnode = document.createTextNode("I'm a " + gabriele.job +". " + "My eyes are " + gabriele.details.eyes + ". " +
								"My date is " + gabriele.getAge() + ". " + "I'm " + gabriele.details.keywords[0] +
								", " + gabriele.details.keywords[1] + ", " + gabriele.details.keywords[2] + ".");
	p.appendChild(textnode);
	body.appendChild(p);

	
	
	
	
};


]]>

</script>

</head>

<body>
<p>You should see a paragraph with some personal information.</p>


</body>
</html>
