Code:
<html>
<head>
<title>Fill Form</title>
<link rel="stylesheet" type="text/css" href="page.css">
<script>
// Helper function
function upTo(el, tagName) {
el = el && el.parentNode;
tagName = tagName.toLowerCase();
for ( ;el; el = el.parentNode) {
if (el.tagName