  function init() {
    // quit if this function has already been called
    if (arguments.callee.done) return;

    // flag this function so we don't do the same thing twice
    arguments.callee.done = true;
	var navItems = document.getElementById("primary-nav").getElementsByTagName("li");
	
	for (var i=0; i<navItems.length; i++) {
		if(navItems[i].className == "menuparent") {
			navItems[i].onmouseover=function() { this.className += " over"; }
			navItems[i].onmouseout=function() { this.className = "menuparent"; }
		}
	}

}
  /* for Mozilla */
   if (document.addEventListener) {
       document.addEventListener("DOMContentLoaded", init, null);
   }
	/* for Internet Explorer */
   /*@cc_on @*/
   /*@if (@_win32)
       document.write("<script language='JavaScript1.2' defer src=scripts/ie_onload.js type='text/javascript'><"+"/script>");
   /*@end @*/

window.onload = init;
if (document.images) 
{
   img1 = new Image();
   img1.src = "arrow.gif";
}