--- uniwakka/actions/header.php	2005-06-07 03:29:42.000000000 -0700
+++ /var/www/html/wiki/actions/header.php	2006-05-05 21:19:33.000000000 -0700
@@ -62,6 +62,9 @@
 <html xml:lang="<? echo $this->Getconfigvalue("rdf_lang"); ?>" xmlns="http://www.w3.org/1999/xhtml"> 
 <head>
 	<title><?php echo $this->GetWakkaName()." : ".$this->GetPageTag(); ?></title>
+	<? if ($this->page["latest"] == "N") { ?>
+	<meta name="robots" content="noindex,nofollow" />
+	<? } ?>
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<meta name="keywords" content="<?php echo $this->GetConfigValue("meta_keywords") ?>" />
 	<meta name="description" content="<?php echo $this->GetConfigValue("meta_description") ?>" />
@@ -92,7 +95,10 @@
 	  if (event.keyCode == 9)
 	  {
 		 event.returnValue = false;
-		event.initKeyEvent("keypress", true, true, document.defaultView, false, false, true, false, 0, 9, event.target);
+		var new_event=document.createEvent("KeyEvents");
+		new_event.initKeyEvent("keypress", true, true, document.defaultView, false, false, true, false, 0, 9);
+		event.target.dispatchEvent(new_event);
+		event.preventDefault();
 		 return true;					 
 	  }
 	}
