Hello everyone,

I tried to validate my HTML because I thought it was the reason my menu script was being ignored. The script sits right inside my head tags like this:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Description" content="You can find product reviews here for renowned internet products. This is an unbiased site that exposes bad products and promotes the good ones." />
<meta name="Keywords" content="keyword1, keyword2,..." />
<meta name="rating" content="General" />
<meta name="revisit-after" content="14 days" />
<meta name="ROBOTS" content="All" />
<link href="style/main.css" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="style/ie.css" rel="stylesheet" type="text/css" media="screen" />
<script src="http://code.jquery.com/jquery-1.6.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
var timeout    = 1000;
var closetimer = 0;
var ddmenuitem = 0;

function jsddm_open()
{  jsddm_canceltimer();
   ddmenuitem = $(this).find('ul').css('visibility', 'visible');}

function jsddm_close()
{  if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');}

function jsddm_timer()
{  closetimer = window.setTimeout(jsddm_close, timeout);}

function jsddm_canceltimer()
{  if(closetimer)
   {  window.clearTimeout(closetimer);
      closetimer = null;}}

{  $('.pMenu > li').hover(jsddm_open, jsddm_timer)
   $('.pMenu > li > ul').hover(jsddm_open, jsddm_timer)});

document.onclick = jsddm_close;
<title>Atlanta Review Group&trade;</title>
The reason I know this code isn't being run is because I can use the menu to view the first child list. The variable 'timeout' in the code represents the number of milliseconds until the menu times out on mouse out and hides the menu then. There is no timeout, the menu goes right away as soon as the mouses out. Apparently, my CSS styles are making only the first list appear and disappear on its own.

My HTML did not validate, mainly due to the <embed> tags for flash objects on my main page.

Do you know how I can get this code to be recognized by my menu?