*** empty log message ***
authorcmontane
Fri, 23 Jan 2009 05:50:44 +0900
changeset 98 d8696be81d43
parent 97 7125b77653c9
child 99 009ab53441b9
*** empty log message ***
tests/framework/click/NIST_click_0001.html
tests/framework/click/NIST_click_0002.html
tests/framework/click/NIST_click_0003.html
tests/framework/click/NIST_click_0004.html
tests/framework/click/NIST_click_0005.html
tests/framework/click/NIST_click_0006.html
tests/framework/click/NIST_click_0007.html
tests/framework/click/NIST_click_0008.html
tests/framework/click/NIST_click_0009.html
tests/framework/click/NIST_click_0010.html
tests/framework/click/NIST_click_0011.html
tests/framework/click/NIST_click_0012.html
tests/framework/click/NIST_click_0013.html
tests/framework/click/NIST_click_0014.html
tests/framework/click/NIST_click_0015.html
tests/framework/click/NIST_click_0016.html
tests/framework/click/NIST_click_0017.html
tests/framework/click/NIST_click_0018.html
tests/framework/click/NIST_click_0019.html
tests/framework/click/NIST_click_0020.html
tests/framework/click/NIST_click_0021.html
tests/framework/click/NIST_click_0022.html
tests/framework/click/NIST_click_0023.html
tests/framework/click/NIST_click_0024.html
tests/framework/click/NIST_click_0025.html
tests/framework/click/NIST_click_0026.html
tests/framework/click/NIST_click_0027.html
tests/framework/click/NIST_click_0028.html
tests/framework/click/NIST_click_0029.html
tests/framework/click/NIST_click_0030.html
tests/framework/click/NIST_click_0031.html
tests/framework/click/NIST_click_0032.html
tests/framework/click/NIST_click_0033.html
tests/framework/click/NIST_click_0034.html
tests/framework/click/NIST_click_0035.html
tests/framework/click/NIST_click_0036.html
tests/framework/click/NIST_click_0037.html
tests/framework/click/NIST_click_0038.html
tests/framework/click/NIST_click_0039.html
tests/framework/click/NIST_click_0040.html
tests/framework/click/NIST_click_0041.html
tests/framework/click/NIST_click_0042.html
tests/framework/click/NIST_click_0043.html
tests/framework/click/NIST_click_0044.html
tests/framework/click/NIST_click_0045.html
tests/framework/click/NIST_click_0046.html
tests/framework/click/NIST_click_0047.html
tests/framework/click/NIST_click_0048.html
tests/framework/dbclick/NIST_dblclick_0049.html
tests/framework/dbclick/NIST_dblclick_0050.html
tests/framework/dbclick/NIST_dblclick_0051.html
tests/framework/dbclick/NIST_dblclick_0052.html
tests/framework/dbclick/NIST_dblclick_0053.html
tests/framework/dbclick/NIST_dblclick_0054.html
tests/framework/dbclick/NIST_dblclick_0055.html
tests/framework/dbclick/NIST_dblclick_0056.html
tests/framework/dbclick/NIST_dblclick_0057.html
tests/framework/dbclick/NIST_dblclick_0058.html
tests/framework/dbclick/NIST_dblclick_0059.html
tests/framework/dbclick/NIST_dblclick_0060.html
tests/framework/dbclick/NIST_dblclick_0061.html
tests/framework/dbclick/NIST_dblclick_0062.html
tests/framework/dbclick/NIST_dblclick_0063.html
tests/framework/dbclick/NIST_dblclick_0064.html
tests/framework/dbclick/NIST_dblclick_0065.html
tests/framework/dbclick/NIST_dblclick_0066.html
tests/framework/dbclick/NIST_dblclick_0067.html
tests/framework/dbclick/NIST_dblclick_0068.html
tests/framework/dbclick/NIST_dblclick_0069.html
tests/framework/dbclick/NIST_dblclick_0070.html
tests/framework/dbclick/NIST_dblclick_0071.html
tests/framework/dbclick/NIST_dblclick_0072.html
tests/framework/dbclick/NIST_dblclick_0073.html
tests/framework/dbclick/NIST_dblclick_0074.html
tests/framework/dbclick/NIST_dblclick_0075.html
tests/framework/dbclick/NIST_dblclick_0076.html
tests/framework/dbclick/NIST_dblclick_0077.html
tests/framework/dbclick/NIST_dblclick_0078.html
tests/framework/dbclick/NIST_dblclick_0079.html
tests/framework/dbclick/NIST_dblclick_0080.html
tests/framework/dbclick/NIST_dblclick_0081.html
tests/framework/dbclick/NIST_dblclick_0082.html
tests/framework/dbclick/NIST_dblclick_0083.html
tests/framework/dbclick/NIST_dblclick_0084.html
tests/framework/dbclick/NIST_dblclick_0085.html
tests/framework/dbclick/NIST_dblclick_0086.html
--- a/tests/framework/click/NIST_click_0001.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0001.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, true, window, 5, 5, 5, 5, 5, true, true, true, true, 5, null);
+        evt.initMouseEvent("click", true, true, evt.view, 5, 5, 5, 5, 5, true, true, true, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0002.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0002.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, true, window, 5, -5, -5, -5, -5, false, false, false, false, 10, null);
+        evt.initMouseEvent("click", true, true, evt.view, 5, -5, -5, -5, -5, false, false, false, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0003.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0003.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, true, window, -5, 5, -5, 5, -5, true, false, true, false, 5, null);
+        evt.initMouseEvent("click", true, true, evt.view, -5, 5, -5, 5, -5, true, false, true, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0004.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0004.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, true, window, -5, -5, 5, -5, 5, false, true, false, true, 10, null);
+        evt.initMouseEvent("click", true, true, evt.view, -5, -5, 5, -5, 5, false, true, false, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0005.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0005.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, 5, 5, -5, -5, 5, true, false, false, true, 5, null);
+        evt.initMouseEvent("click", true, false, evt.view, 5, 5, -5, -5, 5, true, false, false, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0006.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0006.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, 5, -5, 5, 5, -5, false, true, true, false, 10, null);
+        evt.initMouseEvent("click", true, false, evt.view, 5, -5, 5, 5, -5, false, true, true, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0007.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0007.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, -5, 5, 5, -5, -5, true, true, false, false, 10, null);
+        evt.initMouseEvent("click", true, false, evt.view, -5, 5, 5, -5, -5, true, true, false, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0008.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0008.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, -5, -5, -5, 5, 5, false, false, true, true, 5, null);
+        evt.initMouseEvent("click", true, false, evt.view, -5, -5, -5, 5, 5, false, false, true, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0009.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0009.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, 5, 5, -5, 5, 5, false, true, false, false, 5, null);
+        evt.initMouseEvent("click", false, true, evt.view, 5, 5, -5, 5, 5, false, true, false, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0010.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0010.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, 5, -5, 5, -5, -5, true, false, true, true, 10, null);
+        evt.initMouseEvent("click", false, true, evt.view, 5, -5, 5, -5, -5, true, false, true, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0011.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0011.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, -5, 5, 5, 5, -5, false, false, false, true, 10, null);
+        evt.initMouseEvent("click", false, true, evt.view, -5, 5, 5, 5, -5, false, false, false, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0012.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0012.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, -5, -5, -5, -5, 5, true, true, true, false, 5, null);
+        evt.initMouseEvent("click", false, true, evt.view, -5, -5, -5, -5, 5, true, true, true, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0013.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0013.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, 5, 5, 5, -5, 5, false, false, true, false, 10, null);
+        evt.initMouseEvent("click", false, false, evt.view, 5, 5, 5, -5, 5, false, false, true, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0014.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0014.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, 5, -5, -5, 5, -5, true, true, false, true, 5, null);
+        evt.initMouseEvent("click", false, false, evt.view, 5, -5, -5, 5, -5, true, true, false, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0015.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0015.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, -5, 5, -5, -5, -5, false, true, true, true, 10, null);
+        evt.initMouseEvent("click", false, false, evt.view, -5, 5, -5, -5, -5, false, true, true, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0016.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0016.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, -5, -5, 5, 5, 5, true, false, false, false, 5, null);
+        evt.initMouseEvent("click", false, false, evt.view, -5, -5, 5, 5, 5, true, false, false, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0017.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0017.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, 5, -5, 5, 5, 5, false, false, true, true, 5, null);
+        evt.initMouseEvent("click", false, true, evt.view, 5, -5, 5, 5, 5, false, false, true, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0018.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0018.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, -5, -5, -5, 5, -5, false, true, false, false, 10, null);
+        evt.initMouseEvent("click", false, true, evt.view, -5, -5, -5, 5, -5, false, true, false, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0019.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0019.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, 5, 5, 5, 5, -5, false, false, false, true, 5, null);
+        evt.initMouseEvent("click", true, false, evt.view, 5, 5, 5, 5, -5, false, false, false, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0020.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0020.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, -5, 5, -5, 5, 5, true, true, true, true, 10, null);
+        evt.initMouseEvent("click", false, false, evt.view, -5, 5, -5, 5, 5, true, true, true, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0021.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0021.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, true, window, 5, 5, 5, -5, -5, true, true, true, false, 5, null);
+        evt.initMouseEvent("click", true, true, evt.view, 5, 5, 5, -5, -5, true, true, true, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0022.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0022.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, true, window, -5, 5, -5, -5, 5, false, false, false, false, 10, null);
+        evt.initMouseEvent("click", true, true, evt.view, -5, 5, -5, -5, 5, false, false, false, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0023.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0023.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, 5, -5, 5, -5, 5, true, true, false, false, 10, null);
+        evt.initMouseEvent("click", true, false, evt.view, 5, -5, 5, -5, 5, true, true, false, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0024.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0024.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, -5, -5, -5, -5, -5, true, false, true, false, 5, null);
+        evt.initMouseEvent("click", false, false, evt.view, -5, -5, -5, -5, -5, true, false, true, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0025.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0025.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, true, window, 5, -5, -5, 5, 5, true, true, false, true, 10, null);
+        evt.initMouseEvent("click", true, true, evt.view, 5, -5, -5, 5, 5, true, true, false, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0026.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0026.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, -5, -5, 5, 5, -5, true, false, true, true, 10, null);
+        evt.initMouseEvent("click", true, false, evt.view, -5, -5, 5, 5, -5, true, false, true, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0027.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0027.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, 5, 5, -5, -5, -5, true, false, false, true, 5, null);
+        evt.initMouseEvent("click", false, true, evt.view, 5, 5, -5, -5, -5, true, false, false, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0028.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0028.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, -5, 5, 5, -5, 5, false, true, false, true, 5, null);
+        evt.initMouseEvent("click", false, false, evt.view, -5, 5, 5, -5, 5, false, true, false, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0029.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0029.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, 5, -5, -5, -5, 5, false, true, true, true, 10, null);
+        evt.initMouseEvent("click", false, true, evt.view, 5, -5, -5, -5, 5, false, true, true, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0030.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0030.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, -5, 5, 5, 5, 5, true, true, true, false, 10, null);
+        evt.initMouseEvent("click", false, true, evt.view, -5, 5, 5, 5, 5, true, true, true, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0031.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0031.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, 5, 5, -5, 5, 5, false, true, true, false, 5, null);
+        evt.initMouseEvent("click", true, false, evt.view, 5, 5, -5, 5, 5, false, true, true, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0032.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0032.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, 5, 5, -5, 5, -5, false, false, true, false, 10, null);
+        evt.initMouseEvent("click", false, true, evt.view, 5, 5, -5, 5, -5, false, false, true, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0033.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0033.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, true, window, -5, -5, 5, -5, -5, false, false, true, true, 5, null);
+        evt.initMouseEvent("click", true, true, evt.view, -5, -5, 5, -5, -5, false, false, true, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0034.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0034.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, 5, -5, -5, -5, -5, false, true, false, true, 5, null);
+        evt.initMouseEvent("click", true, false, evt.view, 5, -5, -5, -5, -5, false, true, false, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0035.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0035.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, -5, -5, 5, 5, -5, false, true, false, false, 5, null);
+        evt.initMouseEvent("click", false, false, evt.view, -5, -5, 5, 5, -5, false, true, false, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0036.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0036.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, true, window, -5, -5, 5, -5, 5, true, false, false, false, 5, null);
+        evt.initMouseEvent("click", true, true, evt.view, -5, -5, 5, -5, 5, true, false, false, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0037.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0037.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, 5, 5, 5, 5, 5, true, false, false, false, 10, null);
+        evt.initMouseEvent("click", false, true, evt.view, 5, 5, 5, 5, 5, true, false, false, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0038.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0038.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, true, window, -5, 5, -5, 5, -5, false, true, true, true, 10, null);
+        evt.initMouseEvent("click", true, true, evt.view, -5, 5, -5, 5, -5, false, true, true, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0039.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0039.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, 5, -5, -5, -5, 5, true, false, true, true, 10, null);
+        evt.initMouseEvent("click", false, false, evt.view, 5, -5, -5, -5, 5, true, false, true, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0040.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0040.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, -5, 5, -5, 5, -5, true, false, false, false, 10, null);
+        evt.initMouseEvent("click", true, false, evt.view, -5, 5, -5, 5, -5, true, false, false, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0041.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0041.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, 5, -5, 5, -5, 5, false, true, false, false, 5, null);
+        evt.initMouseEvent("click", false, true, evt.view, 5, -5, 5, -5, 5, false, true, false, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0042.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0042.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, 5, 5, -5, -5, 5, true, false, true, true, 10, null);
+        evt.initMouseEvent("click", true, false, evt.view, 5, 5, -5, -5, 5, true, false, true, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0043.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0043.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, true, window, -5, -5, 5, -5, -5, true, true, false, true, 5, null);
+        evt.initMouseEvent("click", false, true, evt.view, -5, -5, 5, -5, -5, true, true, false, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0044.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0044.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, -5, 5, 5, 5, -5, false, false, true, false, 5, null);
+        evt.initMouseEvent("click", false, false, evt.view, -5, 5, 5, 5, -5, false, false, true, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0045.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0045.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, -5, -5, -5, 5, 5, false, false, false, true, 10, null);
+        evt.initMouseEvent("click", false, false, evt.view, -5, -5, -5, 5, 5, false, false, false, true, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0046.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0046.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, 5, 5, -5, -5, -5, true, true, false, false, 10, null);
+        evt.initMouseEvent("click", false, false, evt.view, 5, 5, -5, -5, -5, true, true, false, false, 10, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0047.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0047.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", false, false, window, 5, 5, 5, -5, -5, true, false, false, false, 5, null);
+        evt.initMouseEvent("click", false, false, evt.view, 5, 5, 5, -5, -5, true, false, false, false, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- a/tests/framework/click/NIST_click_0048.html	Fri Jan 23 00:58:28 2009 +0900
+++ b/tests/framework/click/NIST_click_0048.html	Fri Jan 23 05:50:44 2009 +0900
@@ -56,7 +56,7 @@
       //Function to be executed in reaction to click event.
       function w3c_reactToClick() {
         var evt = document.createEvent("MouseEvent");
-        evt.initMouseEvent("click", true, false, window, -5, -5, -5, -5, 5, true, true, false, true, 5, null);
+        evt.initMouseEvent("click", true, false, evt.view, -5, -5, -5, -5, 5, true, true, false, true, 5, null);
     	var target = document.getElementById("tb1");
     	target.dispatchEvent(evt);
     	_actualResults = getActualResults(evt);
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0049.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0049.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0049.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0049" in window) {
+              NIST_dblclick_0049("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, true, evt.view, 5, 5, 5, 5, 5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruetrue555555XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0050.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0050.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0050.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0050" in window) {
+              NIST_dblclick_0050("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, true, evt.view, 5, -5, -5, -5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruetrue5-5-5-5-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0051.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0051.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0051.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0051" in window) {
+              NIST_dblclick_0051("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, true, evt.view, -5, 5, -5, 5, -5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruetrue-55-55-55XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0052.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0052.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0052.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0052" in window) {
+              NIST_dblclick_0052("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, true, evt.view, -5, -5, 5, -5, 5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruetrue-5-55-5510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0053.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0053.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0053.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0053" in window) {
+              NIST_dblclick_0053("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, false, evt.view, 5, 5, -5, -5, 5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruefalse55-5-555XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0054.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0054.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0054.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0054" in window) {
+              NIST_dblclick_0054("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, false, evt.view, 5, -5, 5, 5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruefalse5-555-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0055.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0055.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0055.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0055" in window) {
+              NIST_dblclick_0055("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, false, evt.view, -5, 5, 5, -5, -5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruefalse-555-5-55XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0056.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0056.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0056.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0056" in window) {
+              NIST_dblclick_0056("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, false, evt.view, -5, -5, -5, 5, 5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruefalse-5-5-55510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0057.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0057.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0057.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0057" in window) {
+              NIST_dblclick_0057("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, true, evt.view, 5, 5, -5, 5, 5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsetrue55-55510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0058.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0058.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0058.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0058" in window) {
+              NIST_dblclick_0058("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, true, evt.view, 5, -5, 5, -5, -5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsetrue5-55-5-55XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0059.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0059.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0059.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0059" in window) {
+              NIST_dblclick_0059("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, true, evt.view, -5, 5, 5, 5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsetrue-5555-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0060.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0060.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0060.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0060" in window) {
+              NIST_dblclick_0060("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, true, evt.view, -5, -5, -5, -5, 5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsetrue-5-5-5-555XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0061.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0061.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0061.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0061" in window) {
+              NIST_dblclick_0061("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, false, evt.view, 5, 5, 5, -5, 5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsefalse555-5510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0062.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0062.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0062.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0062" in window) {
+              NIST_dblclick_0062("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, false, evt.view, 5, -5, -5, 5, -5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsefalse5-5-55-55XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0063.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0063.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0063.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0063" in window) {
+              NIST_dblclick_0063("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, false, evt.view, -5, 5, -5, -5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsefalse-55-5-5-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0064.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0064.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0064.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0064" in window) {
+              NIST_dblclick_0064("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, false, evt.view, -5, -5, 5, 5, 5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsefalse-5-55555XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0065.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0065.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0065.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0065" in window) {
+              NIST_dblclick_0065("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, true, evt.view, 5, -5, 5, 5, 5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsetrue5-555510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0066.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0066.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0066.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0066" in window) {
+              NIST_dblclick_0066("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, true, evt.view, -5, -5, -5, 5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsetrue-5-5-55-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0067.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0067.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0067.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0067" in window) {
+              NIST_dblclick_0067("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, false, evt.view, 5, 5, 5, 5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruefalse5555-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0068.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0068.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0068.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0068" in window) {
+              NIST_dblclick_0068("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, false, evt.view, -5, 5, -5, 5, 5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsefalse-55-5555XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0069.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0069.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0069.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0069" in window) {
+              NIST_dblclick_0069("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, true, evt.view, 5, 5, 5, -5, -5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruetrue555-5-55XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0070.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0070.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0070.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0070" in window) {
+              NIST_dblclick_0070("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, true, evt.view, -5, 5, -5, -5, 5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruetrue-55-5-5510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0071.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0071.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0071.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0071" in window) {
+              NIST_dblclick_0071("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, false, evt.view, 5, -5, 5, -5, 5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruefalse5-55-555XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0072.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0072.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0072.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0072" in window) {
+              NIST_dblclick_0072("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, false, evt.view, -5, -5, -5, -5, -5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsefalse-5-5-5-5-55XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0073.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0073.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0073.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0073" in window) {
+              NIST_dblclick_0073("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, true, evt.view, 5, -5, -5, 5, 5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruetrue5-5-5555XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0074.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0074.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0074.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0074" in window) {
+              NIST_dblclick_0074("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, false, evt.view, -5, -5, 5, 5, -5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruefalse-5-555-55XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0075.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0075.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0075.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0075" in window) {
+              NIST_dblclick_0075("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, true, evt.view, 5, 5, -5, -5, -5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsetrue55-5-5-55XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0076.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0076.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0076.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0076" in window) {
+              NIST_dblclick_0076("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, false, evt.view, -5, 5, 5, -5, 5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsefalse-555-5510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0077.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0077.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0077.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0077" in window) {
+              NIST_dblclick_0077("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, true, evt.view, 5, -5, -5, -5, 5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsetrue5-5-5-5510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0078.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0078.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0078.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0078" in window) {
+              NIST_dblclick_0078("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, true, evt.view, -5, 5, 5, 5, 5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsetrue-555555XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0079.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0079.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0079.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0079" in window) {
+              NIST_dblclick_0079("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, false, evt.view, 5, -5, -5, 5, 5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruefalse5-5-55510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0080.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0080.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0080.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0080" in window) {
+              NIST_dblclick_0080("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, true, evt.view, 5, -5, -5, 5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsetrue5-5-55-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0081.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0081.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0081.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0081" in window) {
+              NIST_dblclick_0081("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, true, evt.view, -5, 5, 5, -5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruetrue-555-5-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0082.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0082.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0082.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0082" in window) {
+              NIST_dblclick_0082("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, false, evt.view, 5, -5, -5, -5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruefalse5-5-5-5-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0083.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0083.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0083.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0083" in window) {
+              NIST_dblclick_0083("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, false, evt.view, -5, -5, 5, 5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsefalse-5-555-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0084.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0084.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0084.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0084" in window) {
+              NIST_dblclick_0084("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, true, evt.view, -5, 5, 5, -5, 5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruetrue-555-555XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0085.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0085.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0085.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0085" in window) {
+              NIST_dblclick_0085("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", false, false, evt.view, 5, -5, -5, -5, 5, 5, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclickfalsefalse5-5-5-555XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/framework/dbclick/NIST_dblclick_0086.html	Fri Jan 23 05:50:44 2009 +0900
@@ -0,0 +1,122 @@
+ 
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+                     "http://www.w3.org/TR/html4/loose.dtd">
+<html> 
+  <!-- Test Name: NIST_dblclick_0086.html --> 
+  <!-- Purpose - Evaluate a user generated mouseover event over a table element -->
+  <head>
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
+    <title>DOM Events API Test Suite - NIST_dblclick_0086.html</title>
+ 
+    <style>
+      #result:after {
+        display: block;
+      }
+      .not_yet_tested:after {
+        background-color: yellow;
+        content: "Not yet tested";
+      }
+      .failed:after {
+        background-color: red;
+        content: "Failed";
+      }
+      .passed:after {
+        background-color: green;
+        content: "Passed";
+      }
+    </style>
+    <script type="text/javascript">
+      // Function to begin the test.
+      function w3c_beginTest() {
+        if ("vendor_beginTest" in window) { 
+              vendor_beginTest();
+        }
+        if ("NIST_dblclick_0086" in window) {
+              NIST_dblclick_0086("tbl");
+        }
+        w3c_addEventListener();
+      }
+
+      // Function to end the test.
+      function w3c_endTest() {
+        if ("vendor_endTest" in window) { 
+              vendor_endTest();
+        }
+      }
+
+      //Function to report test result.
+
+      function w3c_reportResult() {
+        if ("vendor_reportResult" in window) { 
+              vendor_reportResult();
+        }
+        w3c_endTest();
+      }
+
+      //Function to be executed in reaction to dblclick event.
+      function w3c_reactToDblclick() {
+        var evt = document.createEvent("MouseEvent");
+        evt.initMouseEventNS("www.example.org", "dblclick", true, true, evt.view, -5, 5, 5, 5, -5, 10, XXXXXXX);
+    	var target = document.getElementById("tb1");
+    	target.dispatchEvent(evt);
+    	_actualResults = getActualResults(evt);
+    	_expectedResults = getExpectedResults();
+        w3c_removeEventListener();
+        w3c_reportResult();
+      }
+      
+      function getActualResults(evt) 
+        {
+               var act = evt.namespaceURI;
+               act += evt.type;
+               act += evt.bubbles;
+               act += evt.cancelable;
+               act += evt.detail;
+               act += evt.screenX;
+               act += evt.screenY;
+               act += evt.clientX;
+               act += evt.clientY;
+               act += evt.button;
+               act += evt.relatedTarget;
+               return act;
+        }
+      function getExpectedResults()
+	{
+	   return "www.example.orgdblclicktruetrue-5555-510XXXXXXX";
+	}
+
+      // Function to be executed in reaction to a dblclick removal.
+      function w3c_reactToDblclickRemoval() {
+      }
+            
+      // Function to add a listener to the element.
+      function w3c_addEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.addEventListener) {  
+              e1.addEventListener("dblclick", w3c_reactToDblclick(), false);
+        }
+      }
+
+      // Function to remove a listener from the element.
+      function w3c_removeEventListener() {
+        var e1 = document.getElementById("tb1");
+        if (document.removeEventListener) {  
+              e1.removeEventListener("dblclick", w3c_reactToDblclickRemoval(), false);
+        }
+      }
+    </script>
+ 
+    <script type="text/javascript" src="vendor_functions.js"></script>
+  </head>
+  <body onload="w3c_beginTest();">
+    <h3>Evaluate a simulated dblclick event over a table element</h3>
+    <table id="tb1">
+      <tr><td id="t1">Row 1, Cell 1</td><td id="t6">Row 1, Cell 2</td></tr> 
+      <tr><td id="t2">Row 2, Cell 1</td><td id="t7">Row 2, Cell 2</td></tr> 
+      <tr><td id="t3">Row 3, Cell 1</td><td id="t8">Row 3, Cell 2</td></tr>    
+      <tr><td id="t4">Row 4, Cell 1</td><td id="t9">Row 4, Cell 2</td></tr>
+      <tr><td id="t5">Row 5, Cell 1</td><td id="t10">Row 5, Cell 2</td></tr>   
+    </table>
+    <div id="result" class="not_yet_tested"></div>
+  </body> 
+</html>